diff options
author | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-22 00:16:48 +0000 |
---|---|---|
committer | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-22 00:16:48 +0000 |
commit | 57e8dd648aac82f073476739953d823d41c75953 (patch) | |
tree | 302743adb80007303b28fad88b106dc6f04a2db0 /ui/gl/gl_switches.cc | |
parent | 541c28da0d4682fe4279f5a2c21c327b3e2707b6 (diff) | |
download | chromium_src-57e8dd648aac82f073476739953d823d41c75953.zip chromium_src-57e8dd648aac82f073476739953d823d41c75953.tar.gz chromium_src-57e8dd648aac82f073476739953d823d41c75953.tar.bz2 |
Honor --gpu-switching=force_discrete to always stay on discrete GPU.
Before we only stays on discrete GPU if any GL contexts are active.
Now we truly stay on discrete GPU, always.
This CL also remove --disable-gpu-switching;
use --gpu-switching=force_integrated/force_discrete instead.
Also, user's --gpu-switching option will overwrite the hardwired
force_discrete decision, i.e., if a user wants to stay on integrated
GPU and save battery, we honor that.
BUG=140114,131276,111720
TEST=tree
Review URL: https://codereview.chromium.org/10959050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/gl_switches.cc')
-rw-r--r-- | ui/gl/gl_switches.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc index d65fd46..dddcd3f 100644 --- a/ui/gl/gl_switches.cc +++ b/ui/gl/gl_switches.cc @@ -17,11 +17,6 @@ const char kGLImplementationMockName[] = "mock"; namespace switches { -// Disable dynamic switching between integrated and discrete GPU on -// systems that would otherwise support it (currently, only a limited -// number of MacBook Pros). -const char kDisableGpuSwitching[] = "disable-gpu-switching"; - // Stop the GPU from synchronizing on the vsync before presenting. const char kDisableGpuVsync[] = "disable-gpu-vsync"; |