diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-01-13 15:34:59 +0200 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-01-13 15:43:37 +0200 |
commit | 1ecb7186fb33e8cf2d9598e5c3c3d0a8041ab1d2 (patch) | |
tree | 7f661d27aaafa167d9b17c8e747f7408704eb96c /indra/newview/llperfstats.h | |
parent | 005b29b89f7a3cbe54d37b53c0061ee36c80d871 (diff) |
SL-18973 Wait a bit after viewer regains focus before engaging the Preferred frame rate
Diffstat (limited to 'indra/newview/llperfstats.h')
-rw-r--r-- | indra/newview/llperfstats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llperfstats.h b/indra/newview/llperfstats.h index 7aa3e1491c..f00a28703c 100644 --- a/indra/newview/llperfstats.h +++ b/indra/newview/llperfstats.h @@ -61,6 +61,7 @@ namespace LLPerfStats extern std::atomic<U64> renderAvatarMaxART_ns; extern bool belowTargetFPS; extern U32 lastGlobalPrefChange; + extern U32 lastSleepedFrame; extern std::mutex bufferToggleLock; enum class ObjType_t{ @@ -133,6 +134,7 @@ namespace LLPerfStats U32 userTargetFPS{0}; F32 userARTCutoffSliderValue{0}; S32 userTargetReflections{0}; + bool vsyncEnabled{true}; void updateNonImposters(U32 nv){nonImpostors=nv; tuningFlag |= NonImpostors;}; void updateReflectionDetail(S32 nv){reflectionDetail=nv; tuningFlag |= ReflectionDetail;}; |