Bug 808339: HWC fallback on multirect layer. r=cjones a=blocking-basecamp
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user