Searched defs:nr_indices (Results 1 - 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_swtnl_backend.c258 uint nr_indices)
265 size_t size = 2 * nr_indices;
282 svga_render->ibuf_offset, 2 * nr_indices, indices);
300 svga_render->ibuf_offset / 2, nr_indices);
310 svga_render->ibuf_offset / 2, nr_indices);
256 svga_vbuf_render_draw_elements( struct vbuf_render *render, const ushort *indices, uint nr_indices) argument
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_vbuf.c75 unsigned nr_indices; member in struct:vbuf_stage
112 vbuf->nr_indices + nr > vbuf->max_indices)
163 vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[i] );
178 vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[i] );
191 vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[0] );
325 if (vbuf->nr_indices)
329 vbuf->nr_indices );
331 vbuf->nr_indices = 0;
361 assert(!vbuf->nr_indices);
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_prim_vbuf.c454 unsigned nr_indices; local
456 nr_indices = draw_arrays_calc_nr_indices(nr, i915_render->fallback);
457 if (!nr_indices)
460 i915_vbuf_ensure_index_bounds(render, start + nr_indices);
468 if (!BEGIN_BATCH(1 + (nr_indices + 1)/2)) {
476 if (!BEGIN_BATCH(1 + (nr_indices + 1)/2)) {
486 nr_indices);
548 uint nr_indices,
558 for (i = 0; i + 1 < nr_indices; i += 2) {
561 if (i < nr_indices) {
546 draw_generate_indices(struct vbuf_render *render, const ushort *indices, uint nr_indices, unsigned type) argument
593 draw_calc_nr_indices(uint nr_indices, unsigned type) argument
614 i915_vbuf_render_draw_elements(struct vbuf_render *render, const ushort *indices, uint nr_indices) argument
[all...]

Completed in 109 milliseconds