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;
113 return static_cast<GLVertBuf *
>(inst[index]);
Read Guarded memory(de)allocation.
void multi_draw_indirect(GPUStorageBuf *indirect_buf, int count, intptr_t offset, intptr_t stride) override
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 * inst_(const int index) const
GLVertBuf * verts_(const int index) const
void draw_indirect(GPUStorageBuf *indirect_buf, intptr_t offset) override
struct blender::gpu::GLVaoCache::@130343304023251126342303033023164132041336015127::@107357316127075164333315357174177077117176260227 static_vaos
GLuint lookup(const GLShaderInterface *interface)
const GLShaderInterface * interfaces[GPU_VAO_STATIC_LEN]
struct blender::gpu::GLVaoCache::@130343304023251126342303033023164132041336015127::@035051266101205326100211155175363063021121162251 dynamic_vaos
GLuint vao_get(Batch *batch)
void insert(const GLShaderInterface *interface, GLuint vao_id)
GLuint vao_ids[GPU_VAO_STATIC_LEN]
void remove(const GLShaderInterface *interface)
struct @157336070235062372277311340362362342103123126032::@262166344314164341202215145112231240022370055142 batch
#define GPU_VAO_STATIC_LEN