27#define GPU_VAO_STATIC_LEN 3
43 GLuint vao_base_instance_ = 0;
44 int base_instance_ = 0;
46 bool is_dynamic_vao_count =
false;
93 void draw(
int v_first,
int v_count,
int i_first,
int i_count)
override;
98 intptr_t stride)
override;
Read Guarded memory(de)allocation.
MEM_CXX_CLASS_ALLOC_FUNCS("GLBatch")
GLIndexBuf * elem_() const
void draw(int v_first, int v_count, int i_first, int i_count) override
GLVertBuf * verts_(const int index) const
void multi_draw_indirect(StorageBuf *indirect_buf, int count, intptr_t offset, intptr_t stride) override
void draw_indirect(StorageBuf *indirect_buf, intptr_t offset) override
GLuint lookup(const GLShaderInterface *interface)
const GLShaderInterface * interfaces[GPU_VAO_STATIC_LEN]
GLuint vao_get(Batch *batch)
void insert(const GLShaderInterface *interface, GLuint vao_id)
GLuint vao_ids[GPU_VAO_STATIC_LEN]
struct blender::gpu::GLVaoCache::@157236110271242160153365376064020364322222010350::@314007012112177177054114203301226370061215216002 static_vaos
struct blender::gpu::GLVaoCache::@157236110271242160153365376064020364322222010350::@162033253374111303027310313277133152141252374306 dynamic_vaos
void remove(const GLShaderInterface *interface)
struct @021025263243242147216143265077100330027142264337::@225245033123204053237120173316075113304004012000 batch
#define GPU_VAO_STATIC_LEN