Revert "hwc: call eglSwapBuffers even when there is no list"
This reverts commit 7b060c9cab
.
*causes blank draws, revisit someday
This commit is contained in:
parent
857f8a5f0b
commit
54cbb6f94f
@ -178,12 +178,6 @@ static int hwc_set(hwc_composer_device_t *dev,
|
||||
UIMirrorOverlay::draw(ctx);
|
||||
if(ctx->mExtDisplay->getExternalDisplay())
|
||||
ctx->mExtDisplay->commit();
|
||||
} else if (dpy && sur) {
|
||||
EGLBoolean sucess = eglSwapBuffers((EGLDisplay)dpy, (EGLSurface)sur);
|
||||
if (!sucess) {
|
||||
ALOGE("%s: eglSwapBuffers() failed", __FUNCTION__);
|
||||
ret = HWC_EGL_ERROR;
|
||||
}
|
||||
} else {
|
||||
ctx->mOverlay->setState(ovutils::OV_CLOSED);
|
||||
ctx->qbuf->unlockAllPrevious();
|
||||
|
Loading…
Reference in New Issue
Block a user