Sets up stage bindings for single draw call in the OpenGLES backend. More...
#include <buffer_bindings_gles.h>
Public Member Functions | |
| BufferBindingsGLES () | |
| ~BufferBindingsGLES () | |
| bool | RegisterVertexStageInput (const ProcTableGLES &gl, const std::vector< ShaderStageIOSlot > &inputs, const std::vector< ShaderStageBufferLayout > &layouts) |
| bool | ReadUniformsBindings (const ProcTableGLES &gl, GLuint program) |
| bool | BindVertexAttributes (const ProcTableGLES &gl, size_t vertex_offset) const |
| bool | BindUniformData (const ProcTableGLES &gl, Allocator &transients_allocator, const Bindings &vertex_bindings, const Bindings &fragment_bindings) |
| bool | UnbindVertexAttributes (const ProcTableGLES &gl) const |
Sets up stage bindings for single draw call in the OpenGLES backend.
Definition at line 22 of file buffer_bindings_gles.h.
|
default |
|
default |
| bool impeller::BufferBindingsGLES::BindUniformData | ( | const ProcTableGLES & | gl, |
| Allocator & | transients_allocator, | ||
| const Bindings & | vertex_bindings, | ||
| const Bindings & | fragment_bindings | ||
| ) |
Definition at line 162 of file buffer_bindings_gles.cc.
References impeller::Bindings::buffers, impeller::kFragment, and impeller::kVertex.
| bool impeller::BufferBindingsGLES::BindVertexAttributes | ( | const ProcTableGLES & | gl, |
| size_t | vertex_offset | ||
| ) | const |
Definition at line 145 of file buffer_bindings_gles.cc.
| bool impeller::BufferBindingsGLES::ReadUniformsBindings | ( | const ProcTableGLES & | gl, |
| GLuint | program | ||
| ) |
Definition at line 89 of file buffer_bindings_gles.cc.
References impeller::ProcTableGLES::GetCapabilities(), impeller::kAngleInputAttachmentPrefix, impeller::NormalizeUniformKey(), and VALIDATION_LOG.
| bool impeller::BufferBindingsGLES::RegisterVertexStageInput | ( | const ProcTableGLES & | gl, |
| const std::vector< ShaderStageIOSlot > & | inputs, | ||
| const std::vector< ShaderStageBufferLayout > & | layouts | ||
| ) |
| bool impeller::BufferBindingsGLES::UnbindVertexAttributes | ( | const ProcTableGLES & | gl | ) | const |
Definition at line 192 of file buffer_bindings_gles.cc.