Lines Matching refs:prims
161 struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in copy_vertices()
190 store->prims = realloc(store->prims, store->size * sizeof(struct _mesa_prim)); in realloc_prim_store()
191 memset(&store->prims[old_size], 0, (store->size - old_size) * sizeof(struct _mesa_prim)); in realloc_prim_store()
257 struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in convert_line_loop_to_strip()
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()
584 if (node->cold->prims[node->cold->prim_count - 1].mode == GL_LINE_LOOP) { in compile_vertex_list()
588 merge_prims(ctx, node->cold->prims, &node->cold->prim_count); in compile_vertex_list()
600 const struct _mesa_prim *original_prims = node->cold->prims; in compile_vertex_list()
606 node->cold->min_index = node->cold->prims[0].start; in compile_vertex_list()
791 node->cold->prims[i].start += start_offset; in compile_vertex_list()
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()
989 save->prim_store->prims[0].begin = 0; in wrap_buffers()
990 save->prim_store->prims[0].end = 0; in wrap_buffers()
991 save->prim_store->prims[0].start = 0; in wrap_buffers()
992 save->prim_store->prims[0].count = 0; in wrap_buffers()
1390 save->prim_store->prims[i].count = in dlist_fallback()
1392 save->prim_store->prims[i].start; in dlist_fallback()
1498 save->prim_store->prims[i].mode = mode & VBO_SAVE_PRIM_MODE_MASK; in vbo_save_NotifyBegin()
1499 save->prim_store->prims[i].begin = 1; in vbo_save_NotifyBegin()
1500 save->prim_store->prims[i].end = 0; in vbo_save_NotifyBegin()
1501 save->prim_store->prims[i].start = get_vertex_count(save); in vbo_save_NotifyBegin()
1502 save->prim_store->prims[i].count = 0; in vbo_save_NotifyBegin()
1521 save->prim_store->prims[i].end = 1; in _save_End()
1522 save->prim_store->prims[i].count = (get_vertex_count(save) - save->prim_store->prims[i].start); in _save_End()
1560 GLenum curPrim = save->prim_store->prims[save->prim_store->used - 1].mode; in _save_PrimitiveRestartNV()
1989 save->prim_store->prims[i].end = 0; in vbo_save_EndList()
1990 … save->prim_store->prims[i].count = get_vertex_count(save) - save->prim_store->prims[i].start; in vbo_save_EndList()