5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_UNIQUE_HANDLE_GLES_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_UNIQUE_HANDLE_GLES_H_
48 std::shared_ptr<ReactorGLES> reactor_ =
nullptr;
Represents a handle to an underlying OpenGL object. Unlike OpenGL object handles, these handles can b...
static HandleGLES DeadHandle()
Creates a dead handle.
A unique handle to an OpenGL object. The collection of this handle scheduled the destruction of the a...
static UniqueHandleGLES MakeUntracked(std::shared_ptr< ReactorGLES > reactor, HandleType type)
UniqueHandleGLES()=default
UniqueHandleGLES & operator=(const UniqueHandleGLES &)=delete
const HandleGLES & Get() const
UniqueHandleGLES(const UniqueHandleGLES &)=delete
void Reset()
Collect the managed handle and replace it with a dead handle.
UniqueHandleGLES & operator=(UniqueHandleGLES &&)
HandleGLES Release()
Release ownership of the handle.
std::shared_ptr< ReactorGLES > reactor
impeller::ShaderType type