-
- Downloads
Decided to refactor a bit. Was using LLSD as an internal data
representation transferring ownership, doing data aggregation in a very pedantic way. That's just adding unneeded cost and complication. Used the same objects to transport data as are collecting it and everything got simpler, faster, easier to read with fewer gotchas. Bit myself *again* doing the min/max/mean merges but the unittests where there to pick me up again. Added a per-region FPS metric while I was at it. This is much asked for and there was a convenient place to sample the value.
Showing
- indra/newview/llappviewer.cpp 15 additions, 16 deletionsindra/newview/llappviewer.cpp
- indra/newview/llsimplestat.h 18 additions, 0 deletionsindra/newview/llsimplestat.h
- indra/newview/lltexturefetch.cpp 58 additions, 40 deletionsindra/newview/lltexturefetch.cpp
- indra/newview/lltexturefetch.h 6 additions, 1 deletionindra/newview/lltexturefetch.h
- indra/newview/llviewerassetstats.cpp 80 additions, 206 deletionsindra/newview/llviewerassetstats.cpp
- indra/newview/llviewerassetstats.h 45 additions, 25 deletionsindra/newview/llviewerassetstats.h
- indra/newview/tests/llsimplestat_test.cpp 158 additions, 0 deletionsindra/newview/tests/llsimplestat_test.cpp
- indra/newview/tests/llviewerassetstats_test.cpp 360 additions, 235 deletionsindra/newview/tests/llviewerassetstats_test.cpp
Loading
Please register or sign in to comment