diff options
author | Dave Parks <davep@lindenlab.com> | 2022-04-15 19:02:07 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-04-15 19:02:07 -0500 |
commit | b6841d75c2f259c84d5ab6b012bd2ae37d985451 (patch) | |
tree | 9539ccd6552786155d0107a0a8f32ecc97c2e44f /indra/newview/lltexturefetch.h | |
parent | 425b071c644cddd1e14b94fb06a7307622d6b315 (diff) |
SL-17219 WIP - Texture pipeline overhaul
Diffstat (limited to 'indra/newview/lltexturefetch.h')
-rw-r--r-- | indra/newview/lltexturefetch.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/indra/newview/lltexturefetch.h b/indra/newview/lltexturefetch.h index bf6732963f..0cf9775af2 100644 --- a/indra/newview/lltexturefetch.h +++ b/indra/newview/lltexturefetch.h @@ -59,6 +59,8 @@ class LLTextureFetch : public LLWorkerThread friend class LLTextureFetchWorker; public: + static const char* getStateString(S32 state); + LLTextureFetch(LLTextureCache* cache, LLImageDecodeThread* imagedecodethread, bool threaded, bool qa_mode); ~LLTextureFetch(); @@ -116,10 +118,11 @@ public: // Threads: T* BOOL isFromLocalCache(const LLUUID& id); - // @return Magic number giving the internal state of the - // request. We should make these codes public if we're - // going to return them as a status value. - // + // get the current fetch state, if any, from the given UUID + S32 getFetchState(const LLUUID& id); + + // @return Fetch state of given image and associates statistics + // See also getStateString // Threads: T* S32 getFetchState(const LLUUID& id, F32& decode_progress_p, F32& requested_priority_p, U32& fetch_priority_p, F32& fetch_dtime_p, F32& request_dtime_p, bool& can_use_http); |