Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c238 if (_mesa_is_bufferobj(exec->vtx.bufferobj)) { in vbo_exec_bind_arrays()
240 assert(exec->vtx.bufferobj->Mappings[MAP_INTERNAL].Pointer); in vbo_exec_bind_arrays()
243 exec->vtx.bufferobj->Mappings[MAP_INTERNAL].Offset + offset; in vbo_exec_bind_arrays()
258 exec->vtx.bufferobj); in vbo_exec_bind_arrays()
285 if (_mesa_is_bufferobj(exec->vtx.bufferobj)) { in vbo_exec_vtx_unmap()
290 exec->vtx.bufferobj->Mappings[MAP_INTERNAL].Offset; in vbo_exec_vtx_unmap()
296 exec->vtx.bufferobj, in vbo_exec_vtx_unmap()
306 ctx->Driver.UnmapBuffer(ctx, exec->vtx.bufferobj, MAP_INTERNAL); in vbo_exec_vtx_unmap()
328 if (!_mesa_is_bufferobj(exec->vtx.bufferobj)) in vbo_exec_vtx_map()
336 if (exec->vtx.bufferobj->Size > 0) { in vbo_exec_vtx_map()
[all …]
Dvbo_save_draw.c72 data, node->vertex_store->bufferobj); in playback_copy_to_current()
218 node->vertex_store->bufferobj); in bind_vertex_list()
238 list->vertex_store->bufferobj->Size, in loopback_vertex_list()
240 list->vertex_store->bufferobj, in loopback_vertex_list()
254 ctx->Driver.UnmapBuffer(ctx, list->vertex_store->bufferobj, in loopback_vertex_list()
Dvbo_save_api.c196 vertex_store->bufferobj = ctx->Driver.NewBufferObject(ctx, VBO_BUF_ID); in alloc_vertex_store()
197 if (vertex_store->bufferobj) { in alloc_vertex_store()
205 vertex_store->bufferobj); in alloc_vertex_store()
230 if (vertex_store->bufferobj) { in free_vertex_store()
231 _mesa_reference_buffer_object(ctx, &vertex_store->bufferobj, NULL); in free_vertex_store()
247 assert(vertex_store->bufferobj); in vbo_save_map_vertex_store()
250 if (vertex_store->bufferobj->Size > 0) { in vbo_save_map_vertex_store()
253 GLsizeiptr size = vertex_store->bufferobj->Size - offset; in vbo_save_map_vertex_store()
256 vertex_store->bufferobj, in vbo_save_map_vertex_store()
280 if (vertex_store->bufferobj->Size > 0) { in vbo_save_unmap_vertex_store()
[all …]
Dvbo_exec_api.c1128 assert(exec->vtx.bufferobj == ctx->Shared->NullBufferObj); in vbo_use_buffer_objects()
1135 _mesa_reference_buffer_object(ctx, &exec->vtx.bufferobj, NULL); in vbo_use_buffer_objects()
1136 exec->vtx.bufferobj = ctx->Driver.NewBufferObject(ctx, bufName); in vbo_use_buffer_objects()
1141 exec->vtx.bufferobj)) { in vbo_use_buffer_objects()
1173 &exec->vtx.bufferobj, in vbo_exec_vtx_init()
1241 assert(exec->vtx.bufferobj->Name == 0 || in vbo_exec_vtx_destroy()
1242 exec->vtx.bufferobj->Name == IMM_BUFFER_NAME); in vbo_exec_vtx_destroy()
1243 if (exec->vtx.bufferobj->Name == 0) { in vbo_exec_vtx_destroy()
1260 if (_mesa_bufferobj_mapped(exec->vtx.bufferobj, MAP_INTERNAL)) { in vbo_exec_vtx_destroy()
1261 ctx->Driver.UnmapBuffer(ctx, exec->vtx.bufferobj, MAP_INTERNAL); in vbo_exec_vtx_destroy()
[all …]
Dvbo_exec.h88 struct gl_buffer_object *bufferobj; member
Dvbo_save.c92 &save->vertex_store->bufferobj, NULL); in vbo_save_destroy()
Dvbo_save.h125 struct gl_buffer_object *bufferobj; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c720 struct gl_buffer_object *bufferobj; in brw_upload_indices() local
730 bufferobj = index_buffer->obj; in brw_upload_indices()
734 if (!_mesa_is_bufferobj(bufferobj)) { in brw_upload_indices()
744 intel_bufferobj_buffer(brw, intel_buffer_object(bufferobj), in brw_upload_indices()
749 brw->ib.size = bufferobj->Size; in brw_upload_indices()
DgenX_state_upload.c3633 struct intel_buffer_object *bufferobj = local
3636 if (!bufferobj) {
3647 intel_bufferobj_buffer(brw, bufferobj, start, end - start, true);
/external/mesa3d/src/mesa/
DMakefile.sources35 main/bufferobj.c \
36 main/bufferobj.h \
Dmeson.build86 'main/bufferobj.c',
87 'main/bufferobj.h',
/external/mesa3d/docs/relnotes/
D5.1205 bufferobj.[ch] - GL_ARB_vertex_buffer_object functions