diff options
Diffstat (limited to 'indra/newview/llvocache.h')
-rwxr-xr-x | indra/newview/llvocache.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h index 7c7b64ad5b..bab3be26b8 100755 --- a/indra/newview/llvocache.h +++ b/indra/newview/llvocache.h @@ -126,10 +126,9 @@ public: U32 getUpdateFlags() const {return mUpdateFlags;} static void updateBackCullingFactors(); - -private: static U32 getInvisibleObjectsLiveTime(); +private: void updateParentBoundingInfo(const LLVOCacheEntry* child); public: @@ -172,6 +171,9 @@ public: void resetOccluders(); void processOccluders(LLCamera* camera); +private: + void selectBackObjects(LLCamera &camera); //select objects behind camera. + public: static BOOL sNeedsOcclusionCheck; //static LLTrace::MemStatHandle sMemStat; @@ -180,6 +182,8 @@ private: U32 mCullHistory[LLViewerCamera::NUM_CAMERAS]; U32 mCulledTime[LLViewerCamera::NUM_CAMERAS]; std::set<LLOcclusionCullingGroup*> mOccludedGroups; + + S32 mBackSlectionEnabled; //enable to select back objects if > 0. }; // |