Searched refs:last_prim (Results 1 – 5 of 5) sorted by relevance
73 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; in vbo_exec_wrap_buffers() local74 const GLuint last_begin = last_prim->begin; in vbo_exec_wrap_buffers()78 last_prim->count = exec->vtx.vert_count - last_prim->start; in vbo_exec_wrap_buffers()81 last_count = last_prim->count; in vbo_exec_wrap_buffers()84 if (last_prim->mode == GL_LINE_LOOP && in vbo_exec_wrap_buffers()86 !last_prim->end) { in vbo_exec_wrap_buffers()88 last_prim->mode = GL_LINE_STRIP; in vbo_exec_wrap_buffers()89 if (!last_prim->begin) { in vbo_exec_wrap_buffers()94 last_prim->start++; in vbo_exec_wrap_buffers()95 last_prim->count--; in vbo_exec_wrap_buffers()[all …]
78 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; in vbo_copy_vertices() local79 const GLuint nr = last_prim->count; in vbo_copy_vertices()83 const fi_type *src = exec->vtx.buffer_map + last_prim->start * sz; in vbo_copy_vertices()112 if (last_prim->begin == 0) { in vbo_copy_vertices()120 assert(last_prim->start > 0); in vbo_copy_vertices()141 last_prim->count--; in vbo_copy_vertices()
291 ctx->last_prim = -1; in si_begin_new_cs()
555 int last_prim; member
606 if (prim != sctx->last_prim) { in si_emit_draw_registers()612 sctx->last_prim = prim; in si_emit_draw_registers()