Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/vbo/
Dvbo_save.c64 if (save->prim_store) { in vbo_save_destroy()
65 if ( --save->prim_store->refcount == 0 ) { in vbo_save_destroy()
66 free(save->prim_store); in vbo_save_destroy()
67 save->prim_store = NULL; in vbo_save_destroy()
Dvbo_save_api.c263 save->prims = save->prim_store->prims + save->prim_store->used; in reset_counters()
276 save->prim_max = VBO_SAVE_PRIM_SIZE - save->prim_store->used; in reset_counters()
532 node->prim_store = save->prim_store; in compile_vertex_list()
547 node->prim_store->refcount++; in compile_vertex_list()
580 save->prim_store->used += node->prim_count; in compile_vertex_list()
644 if (save->prim_store->used > VBO_SAVE_PRIM_SIZE - 6) { in compile_vertex_list()
645 save->prim_store->refcount--; in compile_vertex_list()
646 assert(save->prim_store->refcount != 0); in compile_vertex_list()
647 save->prim_store = alloc_prim_store(); in compile_vertex_list()
1620 if (!save->prim_store) in vbo_save_NewList()
[all …]
Dvbo_save.h70 struct vbo_save_primitive_store *prim_store; member
Dvbo.h158 struct vbo_save_primitive_store *prim_store; member