display : Do not use copybit for composition when YUV layer is present.
Do not use copybit for composition when YUV layer is present only in overlay targets & use copybit in non-overlay targets. CRs-Fixed : 385992 Change-Id: I671bc5f37b924160e32e900207fb81634dee0929 (cherry picked from commit 1f05b5ef18723bc73a21259ca7c5f112228a5c85)
This commit is contained in:
parent
560a18ba31
commit
dc733193ef
@ -82,8 +82,7 @@ bool CopyBit::canUseCopybitForRGB(hwc_context_t *ctx, hwc_layer_list_t *list) {
|
||||
int compositionType =
|
||||
qdutils::QCCompositionType::getInstance().getCompositionType();
|
||||
|
||||
if ((compositionType & qdutils::COMPOSITION_TYPE_C2D) ||
|
||||
(compositionType & qdutils::COMPOSITION_TYPE_DYN)) {
|
||||
if (compositionType & qdutils::COMPOSITION_TYPE_C2D){
|
||||
if (sYuvCount) {
|
||||
//Overlay up & running. Dont use COPYBIT for RGB layers.
|
||||
// TODO need to implement blending with C2D
|
||||
|
Loading…
Reference in New Issue
Block a user