summaryrefslogtreecommitdiffstats
path: root/ui/gl
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-07 04:21:49 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-07 04:21:49 +0000
commitf5f911af1c63e3140d843991279b56f1a8995409 (patch)
treeec1f55de802df7ce74690b33ce965a7306107824 /ui/gl
parent264ff7e72b3f6d247e833114632404d13d89a784 (diff)
downloadchromium_src-f5f911af1c63e3140d843991279b56f1a8995409.zip
chromium_src-f5f911af1c63e3140d843991279b56f1a8995409.tar.gz
chromium_src-f5f911af1c63e3140d843991279b56f1a8995409.tar.bz2
Re-enable GPU switching on Mountain Lion
It seems to be working with Developer Preview 3. BUG=129282 TEST= Review URL: https://chromiumcodereview.appspot.com/10543045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140953 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl')
-rw-r--r--ui/gl/gl_context_mac.mm5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/gl/gl_context_mac.mm b/ui/gl/gl_context_mac.mm
index 0a8d096..6ece7a6 100644
--- a/ui/gl/gl_context_mac.mm
+++ b/ui/gl/gl_context_mac.mm
@@ -167,10 +167,7 @@ bool GLContext::SupportsDualGpus() {
((model == "MacBookPro") &&
(model_major < kMacBookProFirstDualAMDIntelGPUModel)) ||
CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableGpuSwitching) ||
- // http://crbug.com/127713 : disable dynamic GPU switching on
- // 10.8 until system stability issues are resolved by Apple.
- base::mac::IsOSMountainLion();
+ switches::kDisableGpuSwitching);
if (forcibly_disable) {
GLContextCGL::ForceUseOfDiscreteGPU();