summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2022-08-18 16:29:52 -0700
committerCosmic Linden <cosmic@lindenlab.com>2022-08-18 16:29:52 -0700
commita02f6217008dc9a82995fba705d129796fe3014c (patch)
tree07a21f9c8c5933f23ab39f5419c669b953858a32 /indra/newview
parentc790bf7f49328b479f1bcbfe0268ca0bec6e2376 (diff)
SL-17005: Clean up debug code
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/app_settings/settings.xml23
-rw-r--r--indra/newview/pipeline.cpp4
2 files changed, 0 insertions, 27 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index afa8217af2..bc4945eca5 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -3387,29 +3387,6 @@
<key>Value</key>
<integer>0</integer>
</map>
- <!-- TODO: Remove settings keys DisablePrimaryGraphicsMemoryAccounting and DisableSecondaryGraphicsMemoryAccounting after testing, and code that references them -->
- <key>DisablePrimaryGraphicsMemoryAccounting</key>
- <map>
- <key>Comment</key>
- <string>Disable the first method used to detect GPU memory use</string>
- <key>Persist</key>
- <integer>1</integer>
- <key>Type</key>
- <string>Boolean</string>
- <key>Value</key>
- <integer>0</integer>
- </map>
- <key>DisableSecondaryGraphicsMemoryAccounting</key>
- <map>
- <key>Comment</key>
- <string>Disable the second method used to detect GPU memory use, used as a fallback when the first method fails</string>
- <key>Persist</key>
- <integer>1</integer>
- <key>Type</key>
- <string>Boolean</string>
- <key>Value</key>
- <integer>0</integer>
- </map>
<key>DisableTextHyperlinkActions</key>
<map>
<key>Comment</key>
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index d4e667bcc6..9ec3418132 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -434,7 +434,6 @@ void LLPipeline::connectRefreshCachedSettingsSafe(const std::string name)
void LLPipeline::init()
{
- LL_WARNS() << "Begin pipeline initialization" << LL_ENDL; // TODO: Remove after testing
refreshCachedSettings();
gOctreeMaxCapacity = gSavedSettings.getU32("OctreeMaxNodeCapacity");
@@ -451,7 +450,6 @@ void LLPipeline::init()
mInitialized = true;
stop_glerror();
- LL_WARNS() << "No GL errors yet. Pipeline initialization will continue." << LL_ENDL; // TODO: Remove after testing
//create render pass pools
getPool(LLDrawPool::POOL_ALPHA);
@@ -512,9 +510,7 @@ void LLPipeline::init()
// Enable features
- LL_WARNS() << "Shader initialization start" << LL_ENDL; // TODO: Remove after testing
LLViewerShaderMgr::instance()->setShaders();
- LL_WARNS() << "Shader initialization end" << LL_ENDL; // TODO: Remove after testing
stop_glerror();