diff options
author | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-04 20:57:14 +0000 |
---|---|---|
committer | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-04 20:57:14 +0000 |
commit | 5bff79505b7e88fbb250dcf5fd65328b46b7f411 (patch) | |
tree | 2f594ec3e61e14d9dbb566fdf21cde7a5af3e691 /content | |
parent | 0918a12ec03eb7b89c880366d2b17c5b6d3f2b79 (diff) | |
download | chromium_src-5bff79505b7e88fbb250dcf5fd65328b46b7f411.zip chromium_src-5bff79505b7e88fbb250dcf5fd65328b46b7f411.tar.gz chromium_src-5bff79505b7e88fbb250dcf5fd65328b46b7f411.tar.bz2 |
Blacklisting should use disceret GPU on dual-GPU mac in Lion
Tested in Lion with Intel/ATI, it works as expected.
BUG=102216
TEST=in Lion with dual GPU, about:gpu will report the discrete one, and it causes switching to discrete gpu for a short period of time before switching back to integrated gpu
Review URL: http://codereview.chromium.org/8479009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108707 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/gpu/gpu_info_collector.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/gpu/gpu_info_collector.cc b/content/gpu/gpu_info_collector.cc index a8ae608..78e7888 100644 --- a/content/gpu/gpu_info_collector.cc +++ b/content/gpu/gpu_info_collector.cc @@ -34,7 +34,7 @@ scoped_refptr<gfx::GLContext> InitializeGLContext(gfx::GLSurface* surface) { scoped_refptr<gfx::GLContext> context( gfx::GLContext::CreateGLContext(NULL, surface, - gfx::PreferIntegratedGpu)); + gfx::PreferDiscreteGpu)); if (!context.get()) { LOG(ERROR) << "gfx::GLContext::CreateGLContext failed"; return NULL; |