Revert "utils: prevent clear from occurring on HWC_BLIT layers"
This reverts commit f96aec529b.
Change-Id: I0049d5c32ce494f8444423f3923c3ad94aa299a6
This commit is contained in:
@@ -49,10 +49,6 @@ int CBUtils::getuiClearRegion(hwc_display_contents_1_t* list,
|
|||||||
Region wormholeRegion(fbFrameRect);
|
Region wormholeRegion(fbFrameRect);
|
||||||
|
|
||||||
for (uint32_t i = 0 ; i < last; i++) {
|
for (uint32_t i = 0 ; i < last; i++) {
|
||||||
//TODO Work on using hwc clear instead of gpu for HWC_BLIT
|
|
||||||
//If layer is marked for HWC_BLIT clear is done by GPU
|
|
||||||
if(list->hwLayers[i].compositionType == HWC_BLIT)
|
|
||||||
return 0;
|
|
||||||
// need to take care only in per pixel blending.
|
// need to take care only in per pixel blending.
|
||||||
// Restrict calculation only for copybit layers.
|
// Restrict calculation only for copybit layers.
|
||||||
if((list->hwLayers[i].blending != HWC_BLENDING_NONE) ||
|
if((list->hwLayers[i].blending != HWC_BLENDING_NONE) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user