Searched refs:prim_store (Results 1 – 5 of 5) sorted by relevance
203 save->prim_store->used = 0; in reset_counters()415 if (save->prim_store->used > 0 && in grow_vertex_storage()544 node->cold->prims = malloc(sizeof(struct _mesa_prim) * save->prim_store->used); in compile_vertex_list()545 …memcpy(node->cold->prims, save->prim_store->prims, sizeof(struct _mesa_prim) * save->prim_store->u… in compile_vertex_list()547 node->cold->prim_count = save->prim_store->used; in compile_vertex_list()971 GLint i = save->prim_store->used - 1; in wrap_buffers()974 assert(i < (GLint) save->prim_store->size); in wrap_buffers()979 save->prim_store->prims[i].count = (get_vertex_count(save) - save->prim_store->prims[i].start); in wrap_buffers()980 mode = save->prim_store->prims[i].mode; in wrap_buffers()988 save->prim_store->prims[0].mode = mode; in wrap_buffers()[all …]
62 if (save->prim_store) { in vbo_save_destroy()63 free(save->prim_store->prims); in vbo_save_destroy()64 free(save->prim_store); in vbo_save_destroy()65 save->prim_store = NULL; in vbo_save_destroy()
166 struct vbo_save_primitive_store *prim_store; member
2635 - vbo/dlist: refactor prim_store/vertex_store allocations3135 - vbo/dlist: free prim_store->prims when vbo_save is destroyed
3442 - vbo/dlist: don't store prim_store3443 - vbo/dlist: use prim_store directly