libqdutils::Use qcomuiClearRegion for dynamic composition
Change-Id: I7483f6967c6f712af15031c386fb08c8fdae0808
This commit is contained in:
parent
4d8c72e306
commit
77e0c7b380
@ -46,9 +46,8 @@ static int qcomuiClearRegion(Region region, EGLDisplay dpy){
|
||||
|
||||
int ret = 0;
|
||||
int compositionType = QCCompositionType::getInstance().getCompositionType();
|
||||
if (compositionType == (COMPOSITION_TYPE_DYN|COMPOSITION_TYPE_C2D)){
|
||||
// For DYN comp. with C2D, return an error, so that SF can use
|
||||
// the GPU to draw the wormhole.
|
||||
if (compositionType == COMPOSITION_TYPE_GPU){
|
||||
//SF can use the GPU to draw the wormhole.
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user