Lines Matching refs:prims
107 const struct _mesa_prim *prim = &node->prims[node->prim_count - 1]; in copy_vertices()
312 save->prims = save->prim_store->prims + save->prim_store->used; in reset_counters()
374 struct _mesa_prim *prim = &node->prims[node->prim_count - 1]; in convert_line_loop_to_strip()
442 node->prims = save->prims; in compile_vertex_list()
450 if (node->prims[0].no_current_update) { in compile_vertex_list()
491 if (node->prims[node->prim_count - 1].mode == GL_LINE_LOOP) { in compile_vertex_list()
495 merge_prims(node->prims, &node->prim_count); in compile_vertex_list()
509 node->attrsz, node->prims, node->prim_count, in compile_vertex_list()
559 save->prims[i].start += start_offset; in compile_vertex_list()
591 save->prims[i].count = (save->vert_count - save->prims[i].start); in wrap_buffers()
592 mode = save->prims[i].mode; in wrap_buffers()
593 weak = save->prims[i].weak; in wrap_buffers()
594 no_current_update = save->prims[i].no_current_update; in wrap_buffers()
602 save->prims[0].mode = mode; in wrap_buffers()
603 save->prims[0].weak = weak; in wrap_buffers()
604 save->prims[0].no_current_update = no_current_update; in wrap_buffers()
605 save->prims[0].begin = 0; in wrap_buffers()
606 save->prims[0].end = 0; in wrap_buffers()
607 save->prims[0].pad = 0; in wrap_buffers()
608 save->prims[0].start = 0; in wrap_buffers()
609 save->prims[0].count = 0; in wrap_buffers()
610 save->prims[0].num_instances = 1; in wrap_buffers()
611 save->prims[0].base_instance = 0; in wrap_buffers()
612 save->prims[0].is_indirect = 0; in wrap_buffers()
961 save->prims[i].count = save->vert_count - save->prims[i].start; in dlist_fallback()
1063 save->prims[i].mode = mode & VBO_SAVE_PRIM_MODE_MASK; in vbo_save_NotifyBegin()
1064 save->prims[i].begin = 1; in vbo_save_NotifyBegin()
1065 save->prims[i].end = 0; in vbo_save_NotifyBegin()
1066 save->prims[i].weak = (mode & VBO_SAVE_PRIM_WEAK) ? 1 : 0; in vbo_save_NotifyBegin()
1067 save->prims[i].no_current_update = in vbo_save_NotifyBegin()
1069 save->prims[i].pad = 0; in vbo_save_NotifyBegin()
1070 save->prims[i].start = save->vert_count; in vbo_save_NotifyBegin()
1071 save->prims[i].count = 0; in vbo_save_NotifyBegin()
1072 save->prims[i].num_instances = 1; in vbo_save_NotifyBegin()
1073 save->prims[i].base_instance = 0; in vbo_save_NotifyBegin()
1074 save->prims[i].is_indirect = 0; in vbo_save_NotifyBegin()
1096 save->prims[i].end = 1; in _save_End()
1097 save->prims[i].count = (save->vert_count - save->prims[i].start); in _save_End()
1140 GLenum curPrim = save->prims[save->prim_count - 1].mode; in _save_PrimitiveRestartNV()
1618 save->prims[i].end = 0; in vbo_save_EndList()
1619 save->prims[i].count = save->vert_count - save->prims[i].start; in vbo_save_EndList()
1706 struct _mesa_prim *prim = &node->prims[i]; in vbo_print_vertex_list()