summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-08-26 10:52:07 -0500
committerDave Parks <davep@lindenlab.com>2022-08-26 10:52:07 -0500
commitbde09612972a8d6ab5c3a2e865aada98483c8f0e (patch)
treeffc1455e981bca1d201ca25fee686dee3623be7f /indra/newview
parent9bee2a92d2eb1f48f8ca0061e546c5e9df38fe79 (diff)
parentf9b9de409eca9c85431e55d6b6fefe4de12cbb84 (diff)
Merge branch 'DRTVWR-563' of bitbucket.org:lindenlab/viewer into DRTVWR-563
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/app_settings/settings.xml23
-rw-r--r--indra/newview/pipeline.cpp4
2 files changed, 27 insertions, 0 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index bc4945eca5..afa8217af2 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -3387,6 +3387,29 @@
<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 9ec3418132..d4e667bcc6 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -434,6 +434,7 @@ 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");
@@ -450,6 +451,7 @@ 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);
@@ -510,7 +512,9 @@ 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();