Bug 890997 - Enable OMTC on 10.6. r=bgirard
authorMarkus Stange <mstange@themasta.com>
Wed, 09 Oct 2013 13:15:54 -0400
changeset 166420 e197b100ba539654ffd427b6f4d24187180a2ef0
parent 166419 505f83c2c5b28a79269819706ee20716285f5359
child 166421 8b4090b2d434822baf2c246af36b11422020ffa7
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgirard
bugs890997
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 890997 - Enable OMTC on 10.6. r=bgirard
gfx/thebes/gfxPlatformMac.cpp
--- a/gfx/thebes/gfxPlatformMac.cpp
+++ b/gfx/thebes/gfxPlatformMac.cpp
@@ -424,22 +424,17 @@ gfxPlatformMac::UseAcceleratedCanvas()
 {
   // Lion or later is required
   return OSXVersion() >= 0x1070 && Preferences::GetBool("gfx.canvas.azure.accelerated", false);
 }
 
 bool
 gfxPlatformMac::SupportsOffMainThreadCompositing()
 {
-  // 10.6.X has crashes on tinderbox with OMTC, so disable it
-  // for now.
-  if (OSXVersion() >= 0x1070) {
-    return true;
-  }
-  return GetPrefLayersOffMainThreadCompositionForceEnabled();
+  return true;
 }
 
 qcms_profile *
 gfxPlatformMac::GetPlatformCMSOutputProfile()
 {
     CGColorSpaceRef cspace = ::CGDisplayCopyColorSpace(::CGMainDisplayID());
     if (!cspace) {
         cspace = ::CGColorSpaceCreateDeviceRGB();