Home
last modified time | relevance | path

Searched refs:vertex_store (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/vbo/
Dvbo_save_api.c189 struct vbo_save_vertex_store *vertex_store = in alloc_vertex_store() local
198 vertex_store->bufferobj = ctx->Driver.NewBufferObject(ctx, in alloc_vertex_store()
201 if (vertex_store->bufferobj) { in alloc_vertex_store()
207 vertex_store->bufferobj); in alloc_vertex_store()
218 vertex_store->buffer = NULL; in alloc_vertex_store()
219 vertex_store->used = 0; in alloc_vertex_store()
220 vertex_store->refcount = 1; in alloc_vertex_store()
222 return vertex_store; in alloc_vertex_store()
228 struct vbo_save_vertex_store *vertex_store) in free_vertex_store() argument
230 assert(!vertex_store->buffer); in free_vertex_store()
[all …]
Dvbo_save_draw.c75 data, node->vertex_store->bufferobj ); in _playback_copy_to_current()
214 node->vertex_store->bufferobj); in vbo_bind_vertex_list()
235 list->vertex_store->bufferobj->Size, in vbo_save_loopback_vertex_list()
237 list->vertex_store->bufferobj); in vbo_save_loopback_vertex_list()
247 ctx->Driver.UnmapBuffer(ctx, list->vertex_store->bufferobj); in vbo_save_loopback_vertex_list()
264 if (save->vertex_store->buffer) { in vbo_save_playback_vertex_list()
272 vbo_save_unmap_vertex_store(ctx, save->vertex_store); in vbo_save_playback_vertex_list()
340 save->buffer_ptr = vbo_save_map_vertex_store(ctx, save->vertex_store); in vbo_save_playback_vertex_list()
Dvbo_save.c107 if ( --save->vertex_store->refcount == 0 ) { in vbo_save_destroy()
109 &save->vertex_store->bufferobj, NULL); in vbo_save_destroy()
110 FREE( save->vertex_store ); in vbo_save_destroy()
111 save->vertex_store = NULL; in vbo_save_destroy()
Dvbo_save.h85 struct vbo_save_vertex_store *vertex_store; member
145 struct vbo_save_vertex_store *vertex_store; member
194 struct vbo_save_vertex_store *vertex_store);
198 struct vbo_save_vertex_store *vertex_store);