diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-06 14:10:16 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-06 14:10:16 -0500 |
commit | c03c7eaa460e097093304177d9ba23e9af57a959 (patch) | |
tree | 3a429c15c4ac70dc85b9a4f6cc5f4c77e5548eda /indra/newview/llvoavatar.h | |
parent | 4e7bef91a72f6b08414fa56e9516159b848f818c (diff) |
SH-2970 WIP - framework for tracking various phases of avatar rezzing/outfit changing
Diffstat (limited to 'indra/newview/llvoavatar.h')
-rwxr-xr-x | indra/newview/llvoavatar.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h index d4166a66b2..279ddcbe86 100755 --- a/indra/newview/llvoavatar.h +++ b/indra/newview/llvoavatar.h @@ -282,6 +282,13 @@ public: BOOL isFullyTextured() const; BOOL hasGray() const; S32 getRezzedStatus() const; // 0 = cloud, 1 = gray, 2 = fully textured. + + // Tracking progress of active/completed phases for activities like outfit changing. + LLFrameTimer& getPhaseTimer(const std::string& phase_name); + void startPhase(const std::string& phase_name); + void stopPhase(const std::string& phase_name); + void clearPhases(); + LLSD dumpPhases(); protected: BOOL updateIsFullyLoaded(); BOOL processFullyLoadedChange(bool loading); @@ -296,6 +303,11 @@ private: S32 mVisualComplexity; LLFrameTimer mFullyLoadedTimer; LLFrameTimer mRuthTimer; + typedef std::deque<LLMaskedMorph *> morph_list_t; + + typedef std::map<std::string,LLFrameTimer> phase_map_t; + phase_map_t mPhases; + protected: LLFrameTimer mInvisibleTimer; |