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/llrender/llrender.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/llrender/llrender.cpp')
| -rw-r--r-- | indra/llrender/llrender.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index 8b2fdc8c9d..8bbc9a8176 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -194,9 +194,6 @@ void LLTexUnit::bindFast(LLTexture* texture) gGL.mCurrTextureUnitIndex = mIndex; mCurrTexture = gl_tex->getTexName(); mCurrTexType = gl_tex->getTarget(); - // bindFast bypasses updateBindStats(); stamp directly so the staleness - // signal sees per-frame use of batched textures. - gl_tex->stampBound(); if (!mCurrTexture) { LL_PROFILE_ZONE_NAMED("MISSING TEXTURE"); @@ -241,11 +238,6 @@ bool LLTexUnit::bind(LLTexture* texture, bool for_rendering, bool forceBind) texture->setActive() ; texture->updateBindStatsForTester() ; } - // updateBindStats only stamps time; the GC and fetch gate use - // the frame stamp, so stamp it here too or bind()-drawn faces - // (bump/material/media) oscillate. Admin/non-camera binds are - // already suppressed via LLImageGLStampBypass / sStampBindFrame. - gl_tex->stampBound(); mHasMipMaps = gl_tex->mHasMipMaps; if (gl_tex->mTexOptionsDirty) { @@ -254,17 +246,11 @@ bool LLTexUnit::bind(LLTexture* texture, bool for_rendering, bool forceBind) setTextureFilteringOption(gl_tex->mFilterOption); } } - else - { - // Already current - still being used, keep it fresh. - gl_tex->stampBound(); - } } else { //if deleted, will re-generate it immediately texture->forceImmediateUpdate() ; - gl_tex->stampBound(); gl_tex->forceUpdateBindStats() ; return texture->bindDefaultImage(mIndex); @@ -326,8 +312,6 @@ bool LLTexUnit::bind(LLImageGL* texture, bool for_rendering, bool forceBind, S32 glBindTexture(sGLTextureType[texture->getTarget()], mCurrTexture); stop_glerror(); texture->updateBindStats(); - // Frame-stamp fresh binds too - see bind(LLTexture*) above. - texture->stampBound(); mHasMipMaps = texture->mHasMipMaps; if (texture->mTexOptionsDirty) { @@ -338,11 +322,6 @@ bool LLTexUnit::bind(LLImageGL* texture, bool for_rendering, bool forceBind, S32 stop_glerror(); } } - else - { - // Already current - still being used, keep it fresh. - texture->stampBound(); - } stop_glerror(); |
