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;
94 void draw_indirect(GPUStorageBuf *indirect_buf, intptr_t offset)
override;
98 intptr_t stride)
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
GLuint lookup(const GLShaderInterface *interface)
struct blender::gpu::GLVaoCache::@074310067357300032272151024306060023142151222351::@366022117304224263317014156244017150064203335065 static_vaos
const GLShaderInterface * interfaces[GPU_VAO_STATIC_LEN]
GLuint vao_get(Batch *batch)
void insert(const GLShaderInterface *interface, GLuint vao_id)
struct blender::gpu::GLVaoCache::@074310067357300032272151024306060023142151222351::@227017120016226140030034341314150071067013335142 dynamic_vaos
GLuint vao_ids[GPU_VAO_STATIC_LEN]
void remove(const GLShaderInterface *interface)
struct @322267210234315156101051232377144105261061020300::@164113264067060105330220175235170153026313100350 batch
#define GPU_VAO_STATIC_LEN