Home
last modified time | relevance | path

Searched refs:nr_indices (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_vbuf.c454 unsigned nr_indices; in draw_arrays_fallback() local
456 nr_indices = draw_arrays_calc_nr_indices(nr, i915_render->fallback); in draw_arrays_fallback()
457 if (!nr_indices) in draw_arrays_fallback()
460 i915_vbuf_ensure_index_bounds(render, start + nr_indices); in draw_arrays_fallback()
468 if (!BEGIN_BATCH(1 + (nr_indices + 1)/2)) { in draw_arrays_fallback()
476 if (!BEGIN_BATCH(1 + (nr_indices + 1)/2)) { in draw_arrays_fallback()
486 nr_indices); in draw_arrays_fallback()
548 uint nr_indices, in draw_generate_indices() argument
558 for (i = 0; i + 1 < nr_indices; i += 2) { in draw_generate_indices()
561 if (i < nr_indices) { in draw_generate_indices()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_vbuf.c75 unsigned nr_indices; member
112 vbuf->nr_indices + nr > vbuf->max_indices) in check_space()
163 vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[i] ); in vbuf_tri()
178 vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[i] ); in vbuf_line()
191 vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[0] ); in vbuf_point()
325 if (vbuf->nr_indices) in vbuf_flush_vertices()
329 vbuf->nr_indices ); in vbuf_flush_vertices()
331 vbuf->nr_indices = 0; in vbuf_flush_vertices()
361 assert(!vbuf->nr_indices); in vbuf_alloc_vertices()
Ddraw_vbuf.h106 uint nr_indices );
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_backend.c258 uint nr_indices) in svga_vbuf_render_draw_elements() argument
265 size_t size = 2 * nr_indices; in svga_vbuf_render_draw_elements()
282 svga_render->ibuf_offset, 2 * nr_indices, indices); in svga_vbuf_render_draw_elements()
300 svga_render->ibuf_offset / 2, nr_indices); in svga_vbuf_render_draw_elements()
310 svga_render->ibuf_offset / 2, nr_indices); in svga_vbuf_render_draw_elements()