Home
last modified time | relevance | path

Searched refs:mBackendTexture (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/native/libs/renderengine/skia/
H A DAutoBackendTexture.cpp40 mBackendTexture = in AutoBackendTexture()
46 ALOGE_IF(!mBackendTexture.isValid(), in AutoBackendTexture()
53 if (mBackendTexture.isValid()) { in ~AutoBackendTexture()
55 mBackendTexture = {}; in ~AutoBackendTexture()
89 if (mBackendTexture.isValid()) { in makeImage()
101 SkImage::MakeFromTexture(context, mBackendTexture, kTopLeft_GrSurfaceOrigin, colorType, in makeImage()
112 mBackendTexture.isValid(), dataspace); in makeImage()
122 SkSurface::MakeFromBackendTexture(context, mBackendTexture, in getOrCreateSurface()
136 mBackendTexture.isValid(), dataspace); in getOrCreateSurface()
H A DAutoBackendTexture.h139 GrBackendTexture mBackendTexture; variable
/aosp12/frameworks/base/libs/hwui/
H A DAutoBackendTextureRelease.cpp35 mBackendTexture = GrAHardwareBufferUtils::MakeBackendTexture( in AutoBackendTextureRelease()
55 if (mBackendTexture.isValid()) { in unref()
57 mBackendTexture = {}; in unref()
78 context, mBackendTexture, kTopLeft_GrSurfaceOrigin, colorType, kPremul_SkAlphaType, in makeImage()
87 if (mBackendTexture.isValid()) { in newBufferContent()
98 if (mBackendTexture.isValid()) { in releaseQueueOwnership()
110 context->setBackendTextureState(mBackendTexture, newState, nullptr, releaseProc, this); in releaseQueueOwnership()
H A DAutoBackendTextureRelease.h37 const GrBackendTexture& getTexture() const { return mBackendTexture; } in getTexture()
58 GrBackendTexture mBackendTexture; variable