Home
last modified time | relevance | path

Searched refs:AutoBackendTexture (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/renderengine/skia/
DAutoBackendTexture.cpp35 AutoBackendTexture::AutoBackendTexture(std::unique_ptr<SkiaBackendTexture> backendTexture, in AutoBackendTexture() function in android::renderengine::skia::AutoBackendTexture
39 void AutoBackendTexture::unref(bool releaseLocalResources) { in unref()
53 void AutoBackendTexture::releaseSurfaceProc(SkSurface::ReleaseContext releaseContext) { in releaseSurfaceProc()
54 AutoBackendTexture* textureRelease = reinterpret_cast<AutoBackendTexture*>(releaseContext); in releaseSurfaceProc()
60 void AutoBackendTexture::releaseImageProc(SkImages::ReleaseContext releaseContext) { in releaseImageProc()
61 AutoBackendTexture* textureRelease = reinterpret_cast<AutoBackendTexture*>(releaseContext); in releaseImageProc()
65 sk_sp<SkImage> AutoBackendTexture::makeImage(ui::Dataspace dataspace, SkAlphaType alphaType) { in makeImage()
77 sk_sp<SkSurface> AutoBackendTexture::getOrCreateSurface(ui::Dataspace dataspace) { in getOrCreateSurface()
DAutoBackendTexture.h40 class AutoBackendTexture {
49 void add(AutoBackendTexture* abt) { in add()
75 std::vector<AutoBackendTexture*> mCleanupList;
84 mTexture = new AutoBackendTexture(std::move(backendTexture), cleanupMgr); in LocalRef()
111 AutoBackendTexture* mTexture = nullptr;
115 DISALLOW_COPY_AND_ASSIGN(AutoBackendTexture);
119 AutoBackendTexture(std::unique_ptr<SkiaBackendTexture> backendTexture,
123 ~AutoBackendTexture() = default;
DSkiaRenderEngine.h135 std::shared_ptr<AutoBackendTexture::LocalRef> getOrCreateBackendTexture(
171 std::unordered_map<GraphicBufferId, std::shared_ptr<AutoBackendTexture::LocalRef>> mTextureCache
175 AutoBackendTexture::CleanupManager mTextureCleanupMgr GUARDED_BY(mRenderingMutex);
DSkiaRenderEngine.cpp437 std::make_shared<AutoBackendTexture::LocalRef>(std::move(backendTexture), in mapExternalTextureBuffer()
481 std::shared_ptr<AutoBackendTexture::LocalRef> SkiaRenderEngine::getOrCreateBackendTexture( in getOrCreateBackendTexture()
491 return std::make_shared<AutoBackendTexture::LocalRef>(std::move(backendTexture), in getOrCreateBackendTexture()
672 DeferTextureCleanup(AutoBackendTexture::CleanupManager& mgr) : mMgr(mgr) { in DeferTextureCleanup()
679 AutoBackendTexture::CleanupManager& mMgr;
/frameworks/native/libs/renderengine/
DAndroid.bp84 "skia/AutoBackendTexture.cpp",