Lines Matching defs:draw
45 * All needed uploads and translations are performed every draw command, but
46 * only the subset of vertices needed for that draw command is uploaded or
72 * This method works best for non-indexed draw operations or indexed draw
78 * into one vertex buffer, and the indexed draw call is turned into
461 const struct pipe_draw_start_count_bias *draw,
544 const unsigned offset = draw->start * info->index_size;
549 key->output_stride * draw->count, 4,
559 draw->count * info->index_size,
565 tr->run_elts(tr, (unsigned*)map, draw->count, 0, 0, out_map);
568 tr->run_elts16(tr, (uint16_t*)map, draw->count, 0, 0, out_map);
571 tr->run_elts8(tr, map, draw->count, 0, 0, out_map);
680 const struct pipe_draw_start_count_bias *draw,
799 err = u_vbuf_translate_buffers(mgr, &key[type], info, draw,
1375 const struct pipe_draw_start_count_bias *draw,
1383 draw->start * info->index_size;
1386 draw->start * info->index_size,
1387 draw->count * info->index_size,
1391 u_vbuf_get_minmax_index_mapped(info, draw->count, indices,
1444 struct pipe_draw_start_count_bias draw;
1447 draw.count = indirect_data[offset + 0];
1449 draw.start = indirect_data[offset + 2];
1450 draw.index_bias = indirect_data[offset + 3];
1453 u_vbuf_draw_vbo(mgr, info, drawid_offset, NULL, &draw, 1);
1483 /* Normal draw. No fallback and no user buffers. */
1575 * equal to 1 draw call (except for the index range computation).
1576 * We only need to compute the index range covering all draw calls
1637 * Keep the draw call indirect and compute minimums & maximums,
1642 * equal to 1 draw call.