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.c85 if (save->prim_store) { in vbo_save_destroy()
86 if ( --save->prim_store->refcount == 0 ) { in vbo_save_destroy()
87 free(save->prim_store); in vbo_save_destroy()
88 save->prim_store = NULL; in vbo_save_destroy()
Dvbo_save_api.c313 save->prim = save->prim_store->buffer + save->prim_store->used; in _save_reset_counters()
326 save->prim_max = VBO_SAVE_PRIM_SIZE - save->prim_store->used; in _save_reset_counters()
446 node->prim_store = save->prim_store; in _save_compile_vertex_list()
449 node->prim_store->refcount++; in _save_compile_vertex_list()
486 save->prim_store->used += node->prim_count; in _save_compile_vertex_list()
542 if (save->prim_store->used > VBO_SAVE_PRIM_SIZE - 6) { in _save_compile_vertex_list()
543 save->prim_store->refcount--; in _save_compile_vertex_list()
544 assert(save->prim_store->refcount != 0); in _save_compile_vertex_list()
545 save->prim_store = alloc_prim_store(ctx); in _save_compile_vertex_list()
1526 if (!save->prim_store) in vbo_save_NewList()
[all …]
Dvbo_save.h86 struct vbo_save_primitive_store *prim_store; member
147 struct vbo_save_primitive_store *prim_store; member