Bug 1471639 - Allow OMTP with edge-padding. r=nical draft
authorRyan Hunt <rhunt@eqrion.net>
Mon, 16 Jul 2018 15:01:26 -0500
changeset 819450 a6aacf58c4a6dc5621c3faa0387f775d699aa6f1
parent 819449 bcbab66c16c5cc2b917f12b4481bbbb8fe3eb097
child 819451 6456958aa680bb44fb8ec5041765d77cb6c9b17e
push id116556
push userbmo:rhunt@eqrion.net
push dateTue, 17 Jul 2018 21:35:26 +0000
reviewersnical
bugs1471639
milestone63.0a1
Bug 1471639 - Allow OMTP with edge-padding. r=nical MozReview-Commit-ID: JUNk79jLQcj
gfx/thebes/gfxPlatform.cpp
--- a/gfx/thebes/gfxPlatform.cpp
+++ b/gfx/thebes/gfxPlatform.cpp
@@ -2726,19 +2726,16 @@ gfxPlatform::InitOMTPConfig()
     omtp.ForceDisable(FeatureStatus::Blocked, "OMTP blocked before OSX 10.10",
                       NS_LITERAL_CSTRING("FEATURE_FAILURE_OMTP_OSX_MAVERICKS"));
   }
 #endif
 
   if (InSafeMode()) {
     omtp.ForceDisable(FeatureStatus::Blocked, "OMTP blocked by safe-mode",
                       NS_LITERAL_CSTRING("FEATURE_FAILURE_COMP_SAFEMODE"));
-  } else if (gfxPrefs::TileEdgePaddingEnabled()) {
-    omtp.ForceDisable(FeatureStatus::Blocked, "OMTP does not yet support tiling with edge padding",
-                      NS_LITERAL_CSTRING("FEATURE_FAILURE_OMTP_TILING"));
   }
 
   if (omtp.IsEnabled()) {
     gfxVars::SetUseOMTP(true);
     reporter.SetSuccessful(paintWorkerCount);
   }
 }