diff options
| author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2026-07-23 08:19:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-23 08:19:10 -0400 |
| commit | bcfda3b68a95bbbfb8b53f6313929fc5aeaa591c (patch) | |
| tree | 5982185abc453619dddf6f234e1bc6802e1d69b8 /indra/newview/llfeaturemanager.cpp | |
| parent | 8f2d07b717db2997c5701977ef3d65a56c811771 (diff) | |
| parent | f364b5c882da959284e8fc1b3bc80810a7374969 (diff) | |
Merge pull request #6029 from secondlife/geenz/26.3-texture-streaming-revert
Remove texture streaming changes from 26.3
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
| -rw-r--r-- | indra/newview/llfeaturemanager.cpp | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp index aab2865ef7..c8692224f1 100644 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -752,29 +752,9 @@ void LLFeatureManager::applyBaseMasks() { maskFeatures("VRAMGT512"); } - - // Texture quality is driven by detected VRAM. Feature masks take the MIN - // of applied values, so cascading lower tiers downgrade RenderTextureQuality: - // <= 2GB -> Low(0), <= 4GB -> Medium(1), < 8GB -> High(2), >= 8GB -> Ultra(3). - // When VRAM cannot be detected (mVRAM == 0, common on Linux) fall back to Medium. - if (gGLManager.mVRAM == 0) + if (gGLManager.mVRAM < 2048) { - maskFeatures("VRAMLT4GB"); - } - else - { - if (gGLManager.mVRAM < 8192) - { - maskFeatures("VRAMLT8GB"); - } - if (gGLManager.mVRAM <= 4096) - { - maskFeatures("VRAMLT4GB"); - } - if (gGLManager.mVRAM <= 2048) - { - maskFeatures("VRAMLT2GB"); - } + maskFeatures("VRAMLT2GB"); } if (gGLManager.mGLVersion < 3.99f) { |
