summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.h
diff options
context:
space:
mode:
authorAnsariel <none@none>2016-02-19 22:29:27 +0100
committerAnsariel <none@none>2016-02-19 22:29:27 +0100
commitd7d4ffb0c4fda4e765a54115945a34eda28f9d1c (patch)
treef133c734567657860e3b94192616271be286421d /indra/newview/llvoavatar.h
parent81d5e6e351e6cfd2e6c9b826a8e4dbca940463e0 (diff)
Restore cached mute check for improved performance
Diffstat (limited to 'indra/newview/llvoavatar.h')
-rwxr-xr-xindra/newview/llvoavatar.h5
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