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

Commit 85190437 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Swap isOutputBuffer and createProtectedImage bits for invalid texture"...

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14287639

Change-Id: I8e8ed29b0d31cd9fee838268124022a84ff5ac43
parents 249701ec a55d5f7b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -46,7 +46,7 @@ AutoBackendTexture::AutoBackendTexture(GrDirectContext* context, AHardwareBuffer
    ALOGE_IF(!mBackendTexture.isValid(),
    ALOGE_IF(!mBackendTexture.isValid(),
             "Failed to create a valid texture. [%p]:[%d,%d] isProtected:%d isWriteable:%d "
             "Failed to create a valid texture. [%p]:[%d,%d] isProtected:%d isWriteable:%d "
             "format:%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) {
void AutoBackendTexture::unref(bool releaseLocalResources) {