From c8b81b51309c051f05421ddcb2fccb235e4c5280 Mon Sep 17 00:00:00 2001 From: Diego Wilson Date: Wed, 9 Jan 2013 18:18:13 +0100 Subject: [PATCH] Bug 808339: HWC fallback on multirect layer. r=cjones a=blocking-basecamp --- widget/gonk/HwcComposer2D.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/widget/gonk/HwcComposer2D.cpp b/widget/gonk/HwcComposer2D.cpp index 23f4304657ca..3d9e9ee75b64 100644 --- a/widget/gonk/HwcComposer2D.cpp +++ b/widget/gonk/HwcComposer2D.cpp @@ -245,7 +245,6 @@ HwcComposer2D::PrepareLayerList(Layer* aLayer, // that require intermediate surfaces. That means all the // GetEffective*() coordinates are relative to the framebuffer. - const bool TESTING = true; bool fillColor = false; const nsIntRegion& visibleRegion = aLayer->GetEffectiveVisibleRegion(); @@ -263,8 +262,7 @@ HwcComposer2D::PrepareLayerList(Layer* aLayer, return false; } - if (!TESTING && - visibleRegion.GetNumRects() > 1) { + if (visibleRegion.GetNumRects() > 1) { // FIXME/bug 808339 LOGD("Layer has nontrivial visible region"); return false;