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.c187 struct vbo_save_vertex_store *vertex_store = in alloc_vertex_store() local
196 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()
216 vertex_store->buffer_map = NULL; in alloc_vertex_store()
217 vertex_store->used = 0; in alloc_vertex_store()
218 vertex_store->refcount = 1; in alloc_vertex_store()
220 return vertex_store; in alloc_vertex_store()
226 struct vbo_save_vertex_store *vertex_store) in free_vertex_store() argument
228 assert(!vertex_store->buffer_map); in free_vertex_store()
[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()
272 if (save->vertex_store && save->vertex_store->buffer_map) { in vbo_save_playback_vertex_list()
280 vbo_save_unmap_vertex_store(ctx, save->vertex_store); in vbo_save_playback_vertex_list()
346 save->buffer_ptr = vbo_save_map_vertex_store(ctx, save->vertex_store); in vbo_save_playback_vertex_list()
Dvbo_save.c90 if ( --save->vertex_store->refcount == 0 ) { in vbo_save_destroy()
92 &save->vertex_store->bufferobj, NULL); in vbo_save_destroy()
93 free(save->vertex_store); in vbo_save_destroy()
94 save->vertex_store = NULL; in vbo_save_destroy()
Dvbo_save.h86 struct vbo_save_vertex_store *vertex_store; member
159 struct vbo_save_vertex_store *vertex_store; member
202 struct vbo_save_vertex_store *vertex_store);
206 struct vbo_save_vertex_store *vertex_store);