Bug 808339: HWC fallback on multirect layer. r=cjones a=blocking-basecamp

This commit is contained in:
Diego Wilson
2013-01-09 18:18:13 +01:00
parent 1984fed240
commit c8b81b5130

View File

@@ -245,7 +245,6 @@ HwcComposer2D::PrepareLayerList(Layer* aLayer,
// that require intermediate surfaces. That means all the // that require intermediate surfaces. That means all the
// GetEffective*() coordinates are relative to the framebuffer. // GetEffective*() coordinates are relative to the framebuffer.
const bool TESTING = true;
bool fillColor = false; bool fillColor = false;
const nsIntRegion& visibleRegion = aLayer->GetEffectiveVisibleRegion(); const nsIntRegion& visibleRegion = aLayer->GetEffectiveVisibleRegion();
@@ -263,8 +262,7 @@ HwcComposer2D::PrepareLayerList(Layer* aLayer,
return false; return false;
} }
if (!TESTING && if (visibleRegion.GetNumRects() > 1) {
visibleRegion.GetNumRects() > 1) {
// FIXME/bug 808339 // FIXME/bug 808339
LOGD("Layer has nontrivial visible region"); LOGD("Layer has nontrivial visible region");
return false; return false;