Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a55d5f7b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Swap isOutputBuffer and createProtectedImage bits for invalid texture" into sc-dev

parents be7e0dfa c6709cc6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ AutoBackendTexture::AutoBackendTexture(GrDirectContext* context, AHardwareBuffer
    ALOGE_IF(!mBackendTexture.isValid(),
             "Failed to create a valid texture. [%p]:[%d,%d] isProtected:%d isWriteable:%d "
             "format:%d",
             this, desc.width, desc.height, isOutputBuffer, createProtectedImage, desc.format);
             this, desc.width, desc.height, createProtectedImage, isOutputBuffer, desc.format);
}

void AutoBackendTexture::unref(bool releaseLocalResources) {