Merge "hwc: Support for reading FB format from driver"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
2ce22c9b76
@@ -1123,8 +1123,8 @@ bool MDPComp::fullMDPCompWithPTOR(hwc_context_t *ctx,
|
||||
|
||||
bool MDPComp::partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list)
|
||||
{
|
||||
if(!sEnableMixedMode) {
|
||||
//Mixed mode is disabled. No need to even try caching.
|
||||
if(!sEnableMixedMode || !isAlphaPresentinFB(ctx, mDpy)) {
|
||||
//Mixed mode is disabled/can't be used. No need to even try caching.
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user