diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2026-07-25 13:15:43 +0300 |
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2026-07-25 13:15:43 +0300 |
| commit | 398bf4f76a275ac08524f6218a707251b171271e (patch) | |
| tree | 31ed47010ec5db0afac932b1c1d87b4a3fd75c75 /indra/newview/lltexturefetch.cpp | |
| parent | 34b74530d216a1edc5dfffe327baa615e3654460 (diff) | |
| parent | 92154ed36ffddac349ac2336a3cc5a1eb6eebb72 (diff) | |
Merge branch 'release/26.3' into marchcat/slua-26.3
# Conflicts:
# indra/llrender/llimagegl.cpp
# indra/llrender/llimagegl.h
# indra/newview/featuretable.txt
# indra/newview/featuretable_linux.txt
# indra/newview/featuretable_mac.txt
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
| -rw-r--r-- | indra/newview/lltexturefetch.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index 574c200eb4..51ade60827 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -542,7 +542,6 @@ private: S32 mRequestedDiscard; S32 mLoadedDiscard; S32 mDecodedDiscard; - S32 mCodecLevels = 0; LLFrameTimer mRequestedDeltaTimer; LLFrameTimer mFetchDeltaTimer; LLTimer mCacheReadTimer; @@ -1844,10 +1843,6 @@ bool LLTextureFetchWorker::doWork(S32 param) else { llassert_always(mRawImage.notNull()); - if (mFormattedImage.notNull()) - { - mCodecLevels = (S32)mFormattedImage->getLevels(); - } LL_DEBUGS(LOG_TXT) << mID << ": Decoded. Discard: " << mDecodedDiscard << " Raw Image: " << llformat("%dx%d",mRawImage->getWidth(),mRawImage->getHeight()) << LL_ENDL; setState(WRITE_TO_CACHE); @@ -2779,12 +2774,10 @@ LLTextureFetchWorker* LLTextureFetch::getWorker(const LLUUID& id) // Threads: T* bool LLTextureFetch::getRequestFinished(const LLUUID& id, S32& discard_level, S32& worker_state, LLPointer<LLImageRaw>& raw, LLPointer<LLImageRaw>& aux, - LLCore::HttpStatus& last_http_get_status, - S32& codec_levels) + LLCore::HttpStatus& last_http_get_status) { LL_PROFILE_ZONE_SCOPED; bool res = false; - codec_levels = 0; LLTextureFetchWorker* worker = getWorker(id); if (worker) { @@ -2816,9 +2809,6 @@ bool LLTextureFetch::getRequestFinished(const LLUUID& id, S32& discard_level, S3 discard_level = worker->mDecodedDiscard; raw = worker->mRawImage; aux = worker->mAuxImage; - // Cached on the worker so the value survives mFormattedImage - // clears (cache-retry, decode-abort, write-to-cache complete). - codec_levels = worker->mCodecLevels; decode_time = worker->mDecodeTime; fetch_time = worker->mFetchTime; |
