Searched refs:last_prim (Results 1 – 8 of 8) sorted by relevance
102 const struct _mesa_prim *last_prim = &node->prims[node->prim_count - 1]; in _vbo_save_get_max_index() local103 return last_prim->start + last_prim->count - 1; in _vbo_save_get_max_index()115 const struct _mesa_prim *last_prim = &node->prims[node->prim_count - 1]; in _vbo_save_get_vertex_count() local116 return last_prim->start - first_prim->start + last_prim->count; in _vbo_save_get_vertex_count()
262 struct _mesa_prim *last_prim, in vbo_copy_vertices() argument268 const unsigned count = last_prim->count; in vbo_copy_vertices()312 if (!in_dlist && last_prim->begin == 0) { in vbo_copy_vertices()320 assert(last_prim->start > 0); in vbo_copy_vertices()339 last_prim->count -= count % 2; in vbo_copy_vertices()
84 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; in vbo_exec_wrap_buffers() local85 const GLuint last_begin = last_prim->begin; in vbo_exec_wrap_buffers()89 last_prim->count = exec->vtx.vert_count - last_prim->start; in vbo_exec_wrap_buffers()92 last_count = last_prim->count; in vbo_exec_wrap_buffers()95 if (last_prim->mode == GL_LINE_LOOP && in vbo_exec_wrap_buffers()97 !last_prim->end) { in vbo_exec_wrap_buffers()99 last_prim->mode = GL_LINE_STRIP; in vbo_exec_wrap_buffers()100 if (!last_prim->begin) { in vbo_exec_wrap_buffers()105 last_prim->start++; in vbo_exec_wrap_buffers()106 last_prim->count--; in vbo_exec_wrap_buffers()[all …]
71 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; in vbo_exec_copy_vertices() local74 const fi_type *src = exec->vtx.buffer_map + last_prim->start * sz; in vbo_exec_copy_vertices()77 last_prim, sz, false, dst, src); in vbo_exec_copy_vertices()
177 struct _mesa_prim *last_prim,
542 ctx->last_prim = -1; in si_begin_new_gfx_cs()
735 if (vgt_prim != sctx->last_prim) { in si_emit_draw_registers()743 sctx->last_prim = vgt_prim; in si_emit_draw_registers()
1126 int last_prim; member