Home
last modified time | relevance | path

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

/aosp12/frameworks/native/opengl/libs/EGL/
H A Degl_object.h58 class LocalRef {
60 LocalRef() = delete;
61 LocalRef(const LocalRef* rhs) = delete;
64 ~LocalRef();
65 explicit LocalRef(egl_object_t* rhs);
78 friend class LocalRef; variable
82 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) { in LocalRef() function
89 egl_object_t::LocalRef<N, T>::~LocalRef() { in ~LocalRef()
96 void egl_object_t::LocalRef<N, T>::acquire() const { in acquire()
103 void egl_object_t::LocalRef<N, T>::release() const { in release()
[all …]
/aosp12/frameworks/native/libs/renderengine/skia/
H A DAutoBackendTexture.h81 class LocalRef {
83 LocalRef(GrDirectContext* context, AHardwareBuffer* buffer, bool isOutputBuffer, in LocalRef() function
89 ~LocalRef() { in ~LocalRef()
110 DISALLOW_COPY_AND_ASSIGN(LocalRef);
H A DSkiaGLRenderEngine.cpp542 std::shared_ptr<AutoBackendTexture::LocalRef> imageTextureRef = in mapExternalTextureBuffer()
543 std::make_shared<AutoBackendTexture::LocalRef>(grContext, in mapExternalTextureBuffer()
756 std::shared_ptr<AutoBackendTexture::LocalRef> surfaceTextureRef; in drawLayers()
761 std::make_shared<AutoBackendTexture::LocalRef>(grContext, in drawLayers()
1010 std::shared_ptr<AutoBackendTexture::LocalRef> imageTextureRef = nullptr; in drawLayers()
1021 AutoBackendTexture::LocalRef>(grContext, in drawLayers()
H A DSkiaGLRenderEngine.h135 std::unordered_map<GraphicBufferId, std::shared_ptr<AutoBackendTexture::LocalRef>> mTextureCache