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.c242 if (_mesa_is_bufferobj(exec->vtx.bufferobj)) { in vbo_exec_bind_arrays()
244 assert(exec->vtx.bufferobj->Mappings[MAP_INTERNAL].Pointer); in vbo_exec_bind_arrays()
247 exec->vtx.bufferobj->Mappings[MAP_INTERNAL].Offset + offset; in vbo_exec_bind_arrays()
262 exec->vtx.bufferobj); in vbo_exec_bind_arrays()
289 if (_mesa_is_bufferobj(exec->vtx.bufferobj)) { in vbo_exec_vtx_unmap()
294 exec->vtx.bufferobj->Mappings[MAP_INTERNAL].Offset; in vbo_exec_vtx_unmap()
300 exec->vtx.bufferobj, in vbo_exec_vtx_unmap()
310 ctx->Driver.UnmapBuffer(ctx, exec->vtx.bufferobj, MAP_INTERNAL); in vbo_exec_vtx_unmap()
332 if (!_mesa_is_bufferobj(exec->vtx.bufferobj)) in vbo_exec_vtx_map()
340 if (exec->vtx.bufferobj->Size > 0) { in vbo_exec_vtx_map()
[all …]
Dvbo_save_draw.c73 data, node->vertex_store->bufferobj ); in _playback_copy_to_current()
208 node->vertex_store->bufferobj); in vbo_bind_vertex_list()
228 list->vertex_store->bufferobj->Size, in vbo_save_loopback_vertex_list()
230 list->vertex_store->bufferobj, in vbo_save_loopback_vertex_list()
241 ctx->Driver.UnmapBuffer(ctx, list->vertex_store->bufferobj, in vbo_save_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.c1114 assert(exec->vtx.bufferobj == ctx->Shared->NullBufferObj); in vbo_use_buffer_objects()
1121 _mesa_reference_buffer_object(ctx, &exec->vtx.bufferobj, NULL); in vbo_use_buffer_objects()
1122 exec->vtx.bufferobj = ctx->Driver.NewBufferObject(ctx, bufName); in vbo_use_buffer_objects()
1127 exec->vtx.bufferobj)) { in vbo_use_buffer_objects()
1159 &exec->vtx.bufferobj, in vbo_exec_vtx_init()
1227 assert(exec->vtx.bufferobj->Name == 0 || in vbo_exec_vtx_destroy()
1228 exec->vtx.bufferobj->Name == IMM_BUFFER_NAME); in vbo_exec_vtx_destroy()
1229 if (exec->vtx.bufferobj->Name == 0) { in vbo_exec_vtx_destroy()
1246 if (_mesa_bufferobj_mapped(exec->vtx.bufferobj, MAP_INTERNAL)) { in vbo_exec_vtx_destroy()
1247 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.h110 struct gl_buffer_object *bufferobj; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen8_sol_state.c53 struct intel_buffer_object *bufferobj = in gen8_upload_3dstate_so_buffers() local
56 if (!bufferobj) { in gen8_upload_3dstate_so_buffers()
74 intel_bufferobj_buffer(brw, bufferobj, start, end - start); in gen8_upload_3dstate_so_buffers()
Dbrw_draw_upload.c1170 struct gl_buffer_object *bufferobj; in brw_upload_indices() local
1180 bufferobj = index_buffer->obj; in brw_upload_indices()
1184 if (!_mesa_is_bufferobj(bufferobj)) { in brw_upload_indices()
1204 bufferobj, in brw_upload_indices()
1211 ctx->Driver.UnmapBuffer(ctx, bufferobj, MAP_INTERNAL); in brw_upload_indices()
1214 intel_bufferobj_buffer(brw, intel_buffer_object(bufferobj), in brw_upload_indices()
1219 brw->ib.size = bufferobj->Size; in brw_upload_indices()
Dgen7_sol_state.c53 struct intel_buffer_object *bufferobj = in upload_3dstate_so_buffers() local
78 bo = intel_bufferobj_buffer(brw, bufferobj, start, end - start); in upload_3dstate_so_buffers()
/external/mesa3d/src/mesa/
DMakefile.sources35 main/bufferobj.c \
36 main/bufferobj.h \
/external/mesa3d/docs/relnotes/
D5.1205 bufferobj.[ch] - GL_ARB_vertex_buffer_object functions