#include <reactor_gles.h>
Classes | |
| class | Worker |
Public Types | |
| using | WorkerID = UniqueID |
| using | Ref = std::shared_ptr< ReactorGLES > |
| using | Operation = std::function< void(const ReactorGLES &reactor)> |
Public Member Functions | |
| ReactorGLES (std::unique_ptr< ProcTableGLES > gl) | |
| ~ReactorGLES () | |
| bool | IsValid () const |
| WorkerID | AddWorker (std::weak_ptr< Worker > worker) |
| bool | RemoveWorker (WorkerID) |
| const ProcTableGLES & | GetProcTable () const |
| std::optional< GLuint > | GetGLHandle (const HandleGLES &handle) const |
| HandleGLES | CreateHandle (HandleType type) |
| void | CollectHandle (HandleGLES handle) |
| void | SetDebugLabel (const HandleGLES &handle, std::string label) |
| bool | AddOperation (Operation operation) |
| bool | React () |
Definition at line 19 of file reactor_gles.h.
| using impeller::ReactorGLES::Operation = std::function<void(const ReactorGLES& reactor)> |
Definition at line 53 of file reactor_gles.h.
| using impeller::ReactorGLES::Ref = std::shared_ptr<ReactorGLES> |
Definition at line 31 of file reactor_gles.h.
Definition at line 21 of file reactor_gles.h.
| impeller::ReactorGLES::ReactorGLES | ( | std::unique_ptr< ProcTableGLES > | gl | ) |
|
default |
| bool impeller::ReactorGLES::AddOperation | ( | Operation | operation | ) |
| ReactorGLES::WorkerID impeller::ReactorGLES::AddWorker | ( | std::weak_ptr< Worker > | worker | ) |
Definition at line 30 of file reactor_gles.cc.
| void impeller::ReactorGLES::CollectHandle | ( | HandleGLES | handle | ) |
Definition at line 148 of file reactor_gles.cc.
| HandleGLES impeller::ReactorGLES::CreateHandle | ( | HandleType | type | ) |
Definition at line 132 of file reactor_gles.cc.
References impeller::CreateGLHandle(), impeller::HandleGLES::DeadHandle(), GetProcTable(), and impeller::kUnknown.
| std::optional< GLuint > impeller::ReactorGLES::GetGLHandle | ( | const HandleGLES & | handle | ) | const |
Definition at line 52 of file reactor_gles.cc.
References VALIDATION_LOG.
Referenced by impeller::LinkProgram().
| const ProcTableGLES & impeller::ReactorGLES::GetProcTable | ( | ) | const |
Definition at line 47 of file reactor_gles.cc.
References IsValid().
Referenced by CreateHandle(), impeller::BlitCopyTextureToTextureCommandGLES::Encode(), impeller::BlitCopyTextureToBufferCommandGLES::Encode(), impeller::EncodeCommandsInReactor(), and impeller::LinkProgram().
| bool impeller::ReactorGLES::IsValid | ( | ) | const |
Definition at line 26 of file reactor_gles.cc.
Referenced by GetProcTable().
| bool impeller::ReactorGLES::React | ( | ) |
| bool impeller::ReactorGLES::RemoveWorker | ( | WorkerID | worker | ) |
Definition at line 37 of file reactor_gles.cc.
| void impeller::ReactorGLES::SetDebugLabel | ( | const HandleGLES & | handle, |
| std::string | label | ||
| ) |