Home
last modified time | relevance | path

Searched refs:bufferobj (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c92 if (exec->vtx.bufferobj) { in vbo_exec_bind_arrays()
93 assert(exec->vtx.bufferobj->Mappings[MAP_INTERNAL].Pointer); in vbo_exec_bind_arrays()
94 buffer_offset = exec->vtx.bufferobj->Mappings[MAP_INTERNAL].Offset + in vbo_exec_bind_arrays()
112 _mesa_bind_vertex_buffer(ctx, vao, 0, exec->vtx.bufferobj, buffer_offset, in vbo_exec_bind_arrays()
140 assert(!exec->vtx.bufferobj || in vbo_exec_bind_arrays()
153 if (exec->vtx.bufferobj) { in vbo_exec_vtx_unmap()
159 exec->vtx.bufferobj->Mappings[MAP_INTERNAL].Offset; in vbo_exec_vtx_unmap()
165 exec->vtx.bufferobj, in vbo_exec_vtx_unmap()
175 ctx->Driver.UnmapBuffer(ctx, exec->vtx.bufferobj, MAP_INTERNAL); in vbo_exec_vtx_unmap()
214 if (!exec->vtx.bufferobj) in vbo_exec_vtx_map()
[all …]
Dvbo_save_loopback.c190 struct gl_buffer_object *bufferobj = vao->BufferBinding[0].BufferObj; in _vbo_loopback_vertex_list() local
191 assert(bufferobj && bufferobj->Mappings[MAP_INTERNAL].Pointer); in _vbo_loopback_vertex_list()
192 buffer = bufferobj->Mappings[MAP_INTERNAL].Pointer; in _vbo_loopback_vertex_list()
193 assert(bufferobj->Mappings[MAP_INTERNAL].Offset in _vbo_loopback_vertex_list()
197 - bufferobj->Mappings[MAP_INTERNAL].Offset; in _vbo_loopback_vertex_list()
199 <= bufferobj->Mappings[MAP_INTERNAL].Length); in _vbo_loopback_vertex_list()
Dvbo_save_api.c148 vertex_store->bufferobj = ctx->Driver.NewBufferObject(ctx, VBO_BUF_ID); in alloc_vertex_store()
149 if (vertex_store->bufferobj) { in alloc_vertex_store()
157 vertex_store->bufferobj); in alloc_vertex_store()
181 if (vertex_store->bufferobj) { in free_vertex_store()
182 _mesa_reference_buffer_object(ctx, &vertex_store->bufferobj, NULL); in free_vertex_store()
198 assert(vertex_store->bufferobj); in vbo_save_map_vertex_store()
201 if (vertex_store->bufferobj->Size > 0) { in vbo_save_map_vertex_store()
204 GLsizeiptr size = vertex_store->bufferobj->Size - offset; in vbo_save_map_vertex_store()
207 vertex_store->bufferobj, in vbo_save_map_vertex_store()
231 if (vertex_store->bufferobj->Size > 0) { in vbo_save_unmap_vertex_store()
[all …]
Dvbo_exec_api.c1020 exec->vtx.bufferobj = ctx->Driver.NewBufferObject(ctx, IMM_BUFFER_NAME); in vbo_exec_vtx_init()
1027 exec->vtx.bufferobj = NULL; in vbo_exec_vtx_init()
1050 assert(!exec->vtx.bufferobj || in vbo_exec_vtx_destroy()
1051 exec->vtx.bufferobj->Name == IMM_BUFFER_NAME); in vbo_exec_vtx_destroy()
1052 if (!exec->vtx.bufferobj) { in vbo_exec_vtx_destroy()
1061 if (exec->vtx.bufferobj && in vbo_exec_vtx_destroy()
1062 _mesa_bufferobj_mapped(exec->vtx.bufferobj, MAP_INTERNAL)) { in vbo_exec_vtx_destroy()
1063 ctx->Driver.UnmapBuffer(ctx, exec->vtx.bufferobj, MAP_INTERNAL); in vbo_exec_vtx_destroy()
1065 _mesa_reference_buffer_object(ctx, &exec->vtx.bufferobj, NULL); in vbo_exec_vtx_destroy()
Dvbo_save.c71 _mesa_reference_buffer_object(ctx, &save->vertex_store->bufferobj, NULL); in vbo_save_destroy()
Dvbo_save.h135 struct gl_buffer_object *bufferobj; member
Dvbo.h89 struct gl_buffer_object *bufferobj; member
/external/mesa3d/docs/
Dsourcedocs.rst14 `bufferobj.c <https://gitlab.freedesktop.org/mesa/mesa/-/blob/master/src/mesa/main/bufferobj.c>`__.
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c736 struct gl_buffer_object *bufferobj; in brw_upload_indices() local
746 bufferobj = index_buffer->obj; in brw_upload_indices()
750 if (!bufferobj) { in brw_upload_indices()
760 intel_bufferobj_buffer(brw, intel_buffer_object(bufferobj), in brw_upload_indices()
765 brw->ib.size = bufferobj->Size; in brw_upload_indices()
DgenX_state_upload.c3688 struct intel_buffer_object *bufferobj = local
3694 if (!bufferobj || !size) {
3703 intel_bufferobj_buffer(brw, bufferobj, start, size, true);
/external/mesa3d/docs/relnotes/
D17.2.4.rst48 - cherry-ignore: mesa/bufferobj: don't double negate the range
D11.0.9.rst85 - mesa/bufferobj: make \_mesa_delete_buffer_object externally
D11.1.2.rst136 - mesa/bufferobj: make \_mesa_delete_buffer_object externally
D5.1205 bufferobj.[ch] - GL_ARB_vertex_buffer_object functions
/external/mesa3d/src/mesa/
DMakefile.sources31 main/bufferobj.c \
32 main/bufferobj.h \
Dmeson.build80 'main/bufferobj.c',
81 'main/bufferobj.h',