Loading libs/gui/SurfaceTexture.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -858,8 +858,8 @@ status_t SurfaceTexture::updateTexImage() { EGLDisplay dpy = eglGetCurrentDisplay(); #ifdef QCOM_HARDWARE if (isGPUSupportedFormat(mSlots[buf].mGraphicBuffer->format) && (avoidBindTexture == false) || (isGPUSupportedFormatInHW(mSlots[buf].mGraphicBuffer->format))) { ((avoidBindTexture == false) || (isGPUSupportedFormatInHW(mSlots[buf].mGraphicBuffer->format)))) { #endif if (image == EGL_NO_IMAGE_KHR) { if (mSlots[buf].mGraphicBuffer == 0) { Loading services/surfaceflinger/Layer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -447,7 +447,7 @@ void Layer::lockPageFlip(bool& recomputeVisibleRegions) #ifdef QCOM_HARDWARE const DisplayHardware& hw(graphicPlane(0).displayHardware()); bool avoidTex = (hw.getFlags() | DisplayHardware::C2D_COMPOSITION) ? bool avoidTex = (hw.getFlags() & DisplayHardware::C2D_COMPOSITION) ? true : false; if (mSurfaceTexture->updateTexImage(avoidTex) < NO_ERROR) { Loading Loading
libs/gui/SurfaceTexture.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -858,8 +858,8 @@ status_t SurfaceTexture::updateTexImage() { EGLDisplay dpy = eglGetCurrentDisplay(); #ifdef QCOM_HARDWARE if (isGPUSupportedFormat(mSlots[buf].mGraphicBuffer->format) && (avoidBindTexture == false) || (isGPUSupportedFormatInHW(mSlots[buf].mGraphicBuffer->format))) { ((avoidBindTexture == false) || (isGPUSupportedFormatInHW(mSlots[buf].mGraphicBuffer->format)))) { #endif if (image == EGL_NO_IMAGE_KHR) { if (mSlots[buf].mGraphicBuffer == 0) { Loading
services/surfaceflinger/Layer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -447,7 +447,7 @@ void Layer::lockPageFlip(bool& recomputeVisibleRegions) #ifdef QCOM_HARDWARE const DisplayHardware& hw(graphicPlane(0).displayHardware()); bool avoidTex = (hw.getFlags() | DisplayHardware::C2D_COMPOSITION) ? bool avoidTex = (hw.getFlags() & DisplayHardware::C2D_COMPOSITION) ? true : false; if (mSurfaceTexture->updateTexImage(avoidTex) < NO_ERROR) { Loading