Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b66c9869 authored by Ramkumar Radhakrishnan's avatar Ramkumar Radhakrishnan Committed by Gerrit - the friendly Code Review server
Browse files

sf: Fix to allow hwc composition through property

Fix to allow hwc composition for virtual display by enabling the
property debug.vds.allow_hwc

Change-Id: I187e1f869f17eeac7429cd566bf7bb8a8d4835ea
CRs-Fixed: 1070250
parent 1fe98fa6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ bool DisplayUtils::canAllocateHwcDisplayIdForVDS(int usage) {
    flag_mask = GRALLOC_USAGE_PRIVATE_WFD;
#endif

    return ((mHasWbNode) && (!allowHwcForVDS) && (usage & flag_mask));
    return ((mHasWbNode) && (allowHwcForVDS || (usage & flag_mask)));
}

int DisplayUtils::getNumFbNodes() {