Home
last modified time | relevance | path

Searched refs:mTextureRelease (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.cpp170 if (!mTextureRelease || !mTextureRelease->getImage().get() || dataspace != mDataspace in createIfNeeded()
177 if (!mTextureRelease) { in createIfNeeded()
178 mTextureRelease = new AutoBackendTextureRelease(context, graphicBuffer.get()); in createIfNeeded()
180 mTextureRelease->newBufferContent(context); in createIfNeeded()
184 mTextureRelease->makeImage(graphicBuffer, dataspace, context); in createIfNeeded()
189 if (mTextureRelease) { in clear()
191 mTextureRelease->unref(true); in clear()
192 mTextureRelease = nullptr; in clear()
197 return mTextureRelease ? mTextureRelease->getImage() : nullptr; in getImage()
DImageConsumer.h100 AutoBackendTextureRelease* mTextureRelease = nullptr; variable