Home
last modified time | relevance | path

Searched refs:prim_store (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/vbo/
Dvbo_save.c102 if (save->prim_store) { in vbo_save_destroy()
103 if ( --save->prim_store->refcount == 0 ) { in vbo_save_destroy()
104 FREE( save->prim_store ); in vbo_save_destroy()
105 save->prim_store = NULL; in vbo_save_destroy()
Dvbo_save_api.c290 save->prim = save->prim_store->buffer + save->prim_store->used; in _save_reset_counters()
303 save->prim_max = VBO_SAVE_PRIM_SIZE - save->prim_store->used; in _save_reset_counters()
340 node->prim_store = save->prim_store; in _save_compile_vertex_list()
343 node->prim_store->refcount++; in _save_compile_vertex_list()
380 save->prim_store->used += node->prim_count; in _save_compile_vertex_list()
426 if (save->prim_store->used > VBO_SAVE_PRIM_SIZE - 6) { in _save_compile_vertex_list()
427 save->prim_store->refcount--; in _save_compile_vertex_list()
428 assert(save->prim_store->refcount != 0); in _save_compile_vertex_list()
429 save->prim_store = alloc_prim_store(ctx); in _save_compile_vertex_list()
1501 if (!save->prim_store) in vbo_save_NewList()
[all …]
Dvbo_save.h86 struct vbo_save_primitive_store *prim_store; member
146 struct vbo_save_primitive_store *prim_store; member