summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-04-22 22:11:41 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-04-22 22:11:41 -0600
commitc978364e1eec987c70769e66d3b9342b321acbc4 (patch)
treeec662bf4763caa1aa0b2b4a530df98a06d5a0187 /indra/newview/llviewertexture.h
parent04d0d5a3ab0285f0d3acc7581cea6809343e86ab (diff)
for SH-4133: create a debug tool to show textures in active fetching
Diffstat (limited to 'indra/newview/llviewertexture.h')
-rw-r--r--indra/newview/llviewertexture.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.h b/indra/newview/llviewertexture.h
index 0a9778ce76..d69a0ffb72 100644
--- a/indra/newview/llviewertexture.h
+++ b/indra/newview/llviewertexture.h
@@ -167,8 +167,10 @@ public:
virtual void dump(); // debug info to llinfos
/*virtual*/ bool bindDefaultImage(const S32 stage = 0) ;
+ /*virtual*/ bool bindDebugImage(const S32 stage = 0) ;
/*virtual*/ void forceImmediateUpdate() ;
-
+ /*virtual*/ bool isActiveFetching();
+
const LLUUID& getID() const { return mID; }
void setBoostLevel(S32 level);
@@ -506,6 +508,9 @@ public:
void loadFromFastCache();
void setInFastCacheList(bool in_list) { mInFastCacheList = in_list; }
bool isInFastCacheList() { return mInFastCacheList; }
+
+ /*virtual*/bool isActiveFetching(); //is actively in fetching by the fetching pipeline.
+
protected:
/*virtual*/ void switchToCachedImage();
S32 getCurrentDiscardLevelForFetching() ;