Loading libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -246,8 +246,7 @@ bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBeh if (mEglSurface != EGL_NO_SURFACE) { const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); const bool isPreserved = mEglManager.setPreserveBuffer(mEglSurface, preserveBuffer); ALOGE_IF(preserveBuffer != isPreserved, "Unable to match the desired swap behavior."); mEglManager.setPreserveBuffer(mEglSurface, preserveBuffer); return true; } Loading Loading
libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -246,8 +246,7 @@ bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBeh if (mEglSurface != EGL_NO_SURFACE) { const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); const bool isPreserved = mEglManager.setPreserveBuffer(mEglSurface, preserveBuffer); ALOGE_IF(preserveBuffer != isPreserved, "Unable to match the desired swap behavior."); mEglManager.setPreserveBuffer(mEglSurface, preserveBuffer); return true; } Loading