diff options
author | Ansariel <none@none> | 2016-02-19 22:29:27 +0100 |
---|---|---|
committer | Ansariel <none@none> | 2016-02-19 22:29:27 +0100 |
commit | d7d4ffb0c4fda4e765a54115945a34eda28f9d1c (patch) | |
tree | f133c734567657860e3b94192616271be286421d /indra/newview/llvoavatar.h | |
parent | 81d5e6e351e6cfd2e6c9b826a8e4dbca940463e0 (diff) |
Restore cached mute check for improved performance
Diffstat (limited to 'indra/newview/llvoavatar.h')
-rwxr-xr-x | indra/newview/llvoavatar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h index 75194bb8c5..10d10b2ed5 100755 --- a/indra/newview/llvoavatar.h +++ b/indra/newview/llvoavatar.h @@ -387,7 +387,8 @@ public: public: U32 renderImpostor(LLColor4U color = LLColor4U(255,255,255,255), S32 diffuse_channel = 0); - bool isVisuallyMuted() const; + bool isVisuallyMuted(); + bool isInMuteList(); void forceUpdateVisualMuteSettings(); enum VisualMuteSettings @@ -426,6 +427,8 @@ public: mutable bool mVisualComplexityStale; U32 mReportedVisualComplexity; // from other viewers through the simulator + bool mCachedInMuteList; + F64 mCachedMuteListUpdateTime; VisualMuteSettings mVisuallyMuteSetting; // Always or never visually mute this AV |