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.c74 unsigned nr_indices; member
104 vbuf->nr_indices + nr > vbuf->max_indices) { in check_space()
150 vbuf->indices[vbuf->nr_indices++] = emit_vertex(vbuf, prim->v[i]); in vbuf_tri()
164 vbuf->indices[vbuf->nr_indices++] = emit_vertex(vbuf, prim->v[i]); in vbuf_line()
176 vbuf->indices[vbuf->nr_indices++] = emit_vertex(vbuf, prim->v[0]); in vbuf_point()
311 if (vbuf->nr_indices) { in vbuf_flush_vertices()
314 vbuf->nr_indices); in vbuf_flush_vertices()
316 vbuf->nr_indices = 0; in vbuf_flush_vertices()
346 assert(!vbuf->nr_indices); in vbuf_alloc_vertices()
Ddraw_vbuf.h108 uint nr_indices );
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_backend.c317 uint nr_indices) in svga_vbuf_render_draw_elements() argument
336 .count = nr_indices in svga_vbuf_render_draw_elements()
353 nr_indices), retried); in svga_vbuf_render_draw_elements()