summaryrefslogtreecommitdiff
path: root/indra/newview/llvocache.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-08-08 16:45:55 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-08-08 16:45:55 -0600
commita6711a894c3c32ad24b47e36b2a52225713fd3ed (patch)
tree73c6a36e202e88576ee74b4caa5a98c58cae3c80 /indra/newview/llvocache.h
parenta2c7b0485576c6bb92f6d0eddc762f5e37d5caac (diff)
fix for SH-4402: interesting: lower FPS with lots of objects in view
Diffstat (limited to 'indra/newview/llvocache.h')
-rwxr-xr-xindra/newview/llvocache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h
index 04463088fa..c448b97b80 100755
--- a/indra/newview/llvocache.h
+++ b/indra/newview/llvocache.h
@@ -168,7 +168,13 @@ public:
public:
void processOccluders(LLCamera* camera);
+public:
+ static BOOL sNeedsOcclusionCheck;
+
private:
+ BOOL mDirty;
+ U32 mCullHistory[LLViewerCamera::NUM_CAMERAS];
+ U32 mCulledTime[LLViewerCamera::NUM_CAMERAS];
std::set<LLOcclusionCullingGroup*> mOccludedGroups;
};