Home
last modified time | relevance | path

Searched refs:last_prim (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/mesa/vbo/
Dvbo_save.h102 const struct _mesa_prim *last_prim = &node->prims[node->prim_count - 1]; in _vbo_save_get_max_index() local
103 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() local
116 return last_prim->start - first_prim->start + last_prim->count; in _vbo_save_get_vertex_count()
Dvbo_exec.c262 struct _mesa_prim *last_prim, in vbo_copy_vertices() argument
268 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()
Dvbo_exec_api.c84 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; in vbo_exec_wrap_buffers() local
85 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 …]
Dvbo_exec_draw.c71 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; in vbo_exec_copy_vertices() local
74 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()
Dvbo_private.h177 struct _mesa_prim *last_prim,
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_gfx_cs.c542 ctx->last_prim = -1; in si_begin_new_gfx_cs()
Dsi_state_draw.c735 if (vgt_prim != sctx->last_prim) { in si_emit_draw_registers()
743 sctx->last_prim = vgt_prim; in si_emit_draw_registers()
Dsi_pipe.h1126 int last_prim; member