Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.cpp160 if (!mTextureRelease || !mTextureRelease->getImage().get() || dataspace != mDataspace in createIfNeeded()
167 if (!mTextureRelease) { in createIfNeeded()
168 mTextureRelease = new AutoBackendTextureRelease(context, graphicBuffer.get()); in createIfNeeded()
172 mTextureRelease->makeImage(graphicBuffer, dataspace, context); in createIfNeeded()
177 if (mTextureRelease) { in clear()
179 mTextureRelease->unref(true); in clear()
180 mTextureRelease = nullptr; in clear()
185 return mTextureRelease ? mTextureRelease->getImage() : nullptr; in getImage()
DImageConsumer.h105 AutoBackendTextureRelease* mTextureRelease = nullptr; variable