summaryrefslogtreecommitdiff
path: root/indra/newview/llfeaturemanager.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2014-11-18 15:28:29 -0800
committerGraham Linden <graham@lindenlab.com>2014-11-18 15:28:29 -0800
commita730187a5fb3624bd18327545a9f50f5b26599ba (patch)
tree4292745f0813e842662a6d7ebb3e94830b94da2d /indra/newview/llfeaturemanager.cpp
parenta882d7a02b9e8a58cdbfa945682a313718886ab4 (diff)
Adjust gpu_bench thresholds and move VB set outside loop again for speed
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
-rwxr-xr-xindra/newview/llfeaturemanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp
index 4db0422634..f081d5c36c 100755
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -452,23 +452,23 @@ bool LLFeatureManager::loadGPUClass()
}
#endif
}
- else if (gbps < 5.f)
+ else if (gbps < 4.f)
{
mGPUClass = GPU_CLASS_0;
}
- else if (gbps < 10.f)
+ else if (gbps < 8.f)
{
mGPUClass = GPU_CLASS_1;
}
- else if (gbps < 20.f)
+ else if (gbps < 16.f)
{
mGPUClass = GPU_CLASS_2;
}
- else if (gbps < 40.f)
+ else if (gbps < 24.f)
{
mGPUClass = GPU_CLASS_3;
}
- else if (gbps < 80.f)
+ else if (gbps < 30.f)
{
mGPUClass = GPU_CLASS_4;
}
@@ -476,7 +476,7 @@ bool LLFeatureManager::loadGPUClass()
{
mGPUClass = GPU_CLASS_5;
}
-
+
// defaults
mGPUString = gGLManager.getRawGLString();
mGPUSupported = TRUE;