diff options
| author | Richard Linden <none@none> | 2014-01-09 12:22:24 -0800 | 
|---|---|---|
| committer | Richard Linden <none@none> | 2014-01-09 12:22:24 -0800 | 
| commit | 15e6939342956f830996299352bcf7fffa7c3b85 (patch) | |
| tree | dcd6443f049d35b3f3401d768b1eab735eda363b /indra/newview/llviewerobjectlist.h | |
| parent | d8a81b240e828a8ab27709fb11038a4b5c4d5428 (diff) | |
| parent | 1d0d485b69bbbfd63d2d56a795d818131db2667c (diff) | |
merge with release
Diffstat (limited to 'indra/newview/llviewerobjectlist.h')
| -rwxr-xr-x | indra/newview/llviewerobjectlist.h | 26 | 
1 files changed, 10 insertions, 16 deletions
| diff --git a/indra/newview/llviewerobjectlist.h b/indra/newview/llviewerobjectlist.h index 6518c25d09..20ed7d5562 100755 --- a/indra/newview/llviewerobjectlist.h +++ b/indra/newview/llviewerobjectlist.h @@ -31,8 +31,8 @@  #include <set>  // common includes -#include "llstat.h"  #include "llstring.h" +#include "lltrace.h"  // project includes  #include "llviewerobject.h" @@ -40,6 +40,7 @@  class LLCamera;  class LLNetMap;  class LLDebugBeacon; +class LLVOCacheEntry;  const U32 CLOSE_BIN_SIZE = 10;  const U32 NUM_BINS = 128; @@ -65,6 +66,7 @@ public:  	inline LLViewerObject *findObject(const LLUUID &id);  	LLViewerObject *createObjectViewer(const LLPCode pcode, LLViewerRegion *regionp); // Create a viewer-side object +	LLViewerObject *createObjectFromCache(const LLPCode pcode, LLViewerRegion *regionp, const LLUUID &uuid, const U32 local_id);  	LLViewerObject *createObject(const LLPCode pcode, LLViewerRegion *regionp,  								 const LLUUID &uuid, const U32 local_id, const LLHost &sender); @@ -78,8 +80,10 @@ public:  	void cleanDeadObjects(const BOOL use_timer = TRUE);	// Clean up the dead object list.  	// Simulator and viewer side object updates... -	void processUpdateCore(LLViewerObject* objectp, void** data, U32 block, const EObjectUpdateType update_type, LLDataPacker* dpp, BOOL justCreated); -	void processObjectUpdate(LLMessageSystem *mesgsys, void **user_data, EObjectUpdateType update_type, bool cached=false, bool compressed=false); +	void processUpdateCore(LLViewerObject* objectp, void** data, U32 block, const EObjectUpdateType update_type,  +		                   LLDataPacker* dpp, bool justCreated, bool from_cache = false); +	LLViewerObject* processObjectUpdateFromCache(LLVOCacheEntry* entry, LLViewerRegion* regionp); +	void processObjectUpdate(LLMessageSystem *mesgsys, void **user_data, EObjectUpdateType update_type, bool compressed=false);  	void processCompressedObjectUpdate(LLMessageSystem *mesgsys, void **user_data, EObjectUpdateType update_type);  	void processCachedObjectUpdate(LLMessageSystem *mesgsys, void **user_data, EObjectUpdateType update_type);  	void updateApparentAngles(LLAgent &agent); @@ -166,8 +170,6 @@ public:  	// Statistics data (see also LLViewerStats)  	S32 mNumNewObjects; -	S32 mNumSizeCulled; -	S32 mNumVisCulled;  	// if we paused in the last frame  	// used to discount stats from this frame @@ -194,8 +196,6 @@ protected:  	std::vector<OrphanInfo> mOrphanChildren;	// UUID's of orphaned objects  	S32 mNumOrphans; -	static LLStat sCacheHitRate; -  	typedef std::vector<LLPointer<LLViewerObject> > vobj_list_t;  	vobj_list_t mObjects; @@ -233,20 +233,14 @@ protected:  class LLDebugBeacon  {  public: -	~LLDebugBeacon() -	{ -		if (mHUDObject.notNull()) -		{ -			mHUDObject->markDead(); -		} -	} +	~LLDebugBeacon();  	LLVector3 mPositionAgent;  	std::string mString;  	LLColor4 mColor;  	LLColor4 mTextColor;  	S32 mLineWidth; -	LLPointer<LLHUDObject> mHUDObject; +	LLPointer<class LLHUDObject> mHUDObject;  }; @@ -278,7 +272,7 @@ inline LLViewerObject *LLViewerObjectList::getObject(const S32 index)  	objectp = mObjects[index];  	if (objectp->isDead())  	{ -		//llwarns << "Dead object " << objectp->mID << " in getObject" << llendl; +		//LL_WARNS() << "Dead object " << objectp->mID << " in getObject" << LL_ENDL;  		return NULL;  	}  	return objectp; | 
