Revert "utils: prevent clear from occurring on HWC_BLIT layers"

This reverts commit f96aec529b.

Change-Id: I0049d5c32ce494f8444423f3923c3ad94aa299a6
This commit is contained in:
Radhika Ranjan Soni
2013-12-19 14:48:55 +05:30
parent 36afacbc0a
commit f1976fb7fc

View File

@@ -49,10 +49,6 @@ int CBUtils::getuiClearRegion(hwc_display_contents_1_t* list,
Region wormholeRegion(fbFrameRect);
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.
// Restrict calculation only for copybit layers.
if((list->hwLayers[i].blending != HWC_BLENDING_NONE) ||