/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_draw.c | 135 unsigned num_draws) in prepare_indexed_draw() argument 142 if (!vbo_get_minmax_indices_gallium(ctx, info, draws, num_draws)) in prepare_indexed_draw() 176 unsigned num_draws) in st_draw_gallium() argument 182 if (!prepare_indexed_draw(st, ctx, info, draws, num_draws)) in st_draw_gallium() 185 cso_multi_draw(st->cso_context, info, drawid_offset, draws, num_draws); in st_draw_gallium() 193 unsigned num_draws) in st_draw_gallium_multimode() argument 199 if (!prepare_indexed_draw(st, ctx, info, draws, num_draws)) in st_draw_gallium_multimode() 206 for (i = 0, first = 0; i <= num_draws; i++) { in st_draw_gallium_multimode() 207 if (i == num_draws || mode[i] != mode[first]) { in st_draw_gallium_multimode() 345 unsigned num_draws, in st_draw_gallium_vertex_state() argument [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt.c | 62 unsigned num_draws) in draw_pt_arrays() argument 138 for (unsigned i = 0; i < num_draws; i++) { in draw_pt_arrays() 156 if (num_draws > 1 && draw->pt.user.increment_draw_id) in draw_pt_arrays() 405 unsigned num_draws) in draw_pt_arrays_restart() argument 413 for (unsigned i = 0; i < num_draws; i++) in draw_pt_arrays_restart() 420 draw_pt_arrays(draw, prim, info->index_bias_varies, draw_info, num_draws); in draw_pt_arrays_restart() 462 unsigned num_draws) in draw_instances() argument 480 draw_pt_arrays_restart(draw, info, draws, num_draws); in draw_instances() 484 draws, num_draws); in draw_instances() 502 unsigned num_draws, in draw_vbo() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_draw.c | 240 unsigned num_draws) assert_dt in update_draw_stats() argument 251 for (unsigned i = 0; i < num_draws; i++) { in update_draw_stats() 280 const struct pipe_draw_start_count_bias *draws, unsigned num_draws) in_dt in fd_draw_vbo() argument 290 assert(num_draws == 1); in fd_draw_vbo() 305 if (num_draws > 1) { in fd_draw_vbo() 306 util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws); in fd_draw_vbo() 321 if ((ctx->streamout.num_targets > 0) && (num_draws > 1)) { in fd_draw_vbo() 322 util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws); in fd_draw_vbo() 341 batch->num_draws++; in fd_draw_vbo() 351 batch->num_draws, in fd_draw_vbo() [all …]
|
D | trace-parser.py | 94 def __init__(self, cleared, gmem_reason, num_draws): argument 97 self.num_draws = num_draws 119 self.num_draws, self.prologue_time, self.binning_time, 128 self.num_draws, self.prologue_time, 193 num_draws=match.group(4))
|
D | freedreno_autotune.c | 162 (batch->num_draws > 5) || (pfb->samples > 1)) { in fallback_use_bypass() 233 sample_cost /= batch->num_draws; in fd_autotune_use_bypass() 235 float total_draw_cost = (avg_samples * sample_cost) / batch->num_draws; in fd_autotune_use_bypass() 238 batch->hash, batch->num_draws, total_samples, avg_samples, in fd_autotune_use_bypass()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_save_draw.c | 275 if (node->modes || node->num_draws > 1) { in vbo_save_playback_vertex_list_gallium() 279 node->num_draws, in vbo_save_playback_vertex_list_gallium() 281 } else if (node->num_draws) { in vbo_save_playback_vertex_list_gallium() 338 node->num_draws); in vbo_save_playback_vertex_list() 339 } else if (node->num_draws == 1) { in vbo_save_playback_vertex_list() 341 } else if (node->num_draws) { in vbo_save_playback_vertex_list() 343 node->num_draws); in vbo_save_playback_vertex_list()
|
D | vbo_minmax_index.c | 404 unsigned num_draws) in vbo_get_minmax_indices_gallium() argument 409 for (unsigned i = 0; i < num_draws; i++) { in vbo_get_minmax_indices_gallium() 413 while ((i + 1 < num_draws) && in vbo_get_minmax_indices_gallium()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_render_stencilref.c | 42 unsigned num_draws); 112 unsigned num_draws) in r300_stencilref_draw_vbo() argument 118 sr->draw_vbo(pipe, info, drawid_offset, NULL, draws, num_draws); in r300_stencilref_draw_vbo() 121 sr->draw_vbo(pipe, info, drawid_offset, NULL, draws, num_draws); in r300_stencilref_draw_vbo() 123 sr->draw_vbo(pipe, info, drawid_offset, NULL, draws, num_draws); in r300_stencilref_draw_vbo()
|
D | r300_render.c | 795 unsigned num_draws) in r300_draw_vbo() argument 797 if (num_draws > 1) { in r300_draw_vbo() 798 util_draw_multi(pipe, dinfo, drawid_offset, indirect, draws, num_draws); in r300_draw_vbo() 873 unsigned num_draws) in r300_swtcl_draw_vbo() argument 875 if (num_draws > 1) { in r300_swtcl_draw_vbo() 876 util_draw_multi(pipe, info, drawid_offset, indirect, draws, num_draws); in r300_swtcl_draw_vbo()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw.c | 132 unsigned *num_draws) in util_draw_indirect_read() argument 157 *num_draws = draw_count; in util_draw_indirect_read() 187 *num_draws = draw_count; in util_draw_indirect_read() 261 unsigned num_draws) in util_draw_multi() argument 269 assert(num_draws > 1); in util_draw_multi() 271 for (unsigned i = 0; i < num_draws; i++) { in util_draw_multi()
|
D | u_prim_restart.c | 227 unsigned *num_draws, in util_prim_restart_convert_to_direct() argument 274 *num_draws = ranges.count; in util_prim_restart_convert_to_direct() 300 unsigned num_draws = 0; in util_draw_vbo_without_prim_restart() local 344 direct_draws = util_prim_restart_convert_to_direct(src_map, &new_info, &new_draw, &num_draws, in util_draw_vbo_without_prim_restart() 354 context->draw_vbo(context, &new_info, drawid_offset, NULL, direct_draws, num_draws); in util_draw_vbo_without_prim_restart() 357 return num_draws > 0 ? PIPE_OK : PIPE_ERROR_OUT_OF_MEMORY; in util_draw_vbo_without_prim_restart()
|
D | u_threaded_context.c | 3192 unsigned num_draws = 2; in tc_call_draw_single() local 3206 next = get_next_call(next, tc_draw_single), num_draws++) { in tc_call_draw_single() 3208 multi[num_draws].start = next->info.min_index; in tc_call_draw_single() 3209 multi[num_draws].count = next->info.max_index; in tc_call_draw_single() 3210 multi[num_draws].index_bias = next->index_bias; in tc_call_draw_single() 3215 pipe->draw_vbo(pipe, &first->info, 0, NULL, multi, num_draws); in tc_call_draw_single() 3219 pipe_drop_resource_references(first->info.index.resource, num_draws); in tc_call_draw_single() 3221 return call_size(tc_draw_single) * num_draws; in tc_call_draw_single() 3271 unsigned num_draws; member 3285 pipe->draw_vbo(pipe, &info->info, 0, NULL, info->slot, info->num_draws); in tc_call_draw_multi() [all …]
|
D | u_draw.h | 161 unsigned *num_draws); 179 unsigned num_draws);
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_draw.cpp | 238 unsigned num_draws, in draw_indexed_need_index_buffer_unref() argument 244 for (unsigned i = 0; i < num_draws; i++) { in draw_indexed_need_index_buffer_unref() 254 for (unsigned i = 0; i < num_draws; i++) in draw_indexed_need_index_buffer_unref() 267 unsigned num_draws, in draw_indexed() argument 273 for (unsigned i = 0; i < num_draws; i++) { in draw_indexed() 284 VKCTX(CmdDrawMultiIndexedEXT)(cmdbuf, num_draws, (const VkMultiDrawIndexedInfoEXT*)draws, in draw_indexed() 289 for (unsigned i = 0; i < num_draws; i++) in draw_indexed() 302 unsigned num_draws, in draw() argument 308 for (unsigned i = 0; i < num_draws; i++) { in draw() 317 VKCTX(CmdDrawMultiEXT)(cmdbuf, num_draws, (const VkMultiDrawInfoEXT*)draws, in draw() [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_draw_arrays.c | 66 unsigned num_draws) in softpipe_draw_vbo() argument 68 if (num_draws > 1) { in softpipe_draw_vbo() 69 util_draw_multi(pipe, info, drawid_offset, indirect, draws, num_draws); in softpipe_draw_vbo() 144 draw_vbo(draw, info, drawid_offset, indirect, draws, num_draws, 0); in softpipe_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_draw.cpp | 1438 unsigned num_draws, in si_emit_draw_packets() argument 1553 assert(num_draws == 1); in si_emit_draw_packets() 1669 bool increment_draw_id = !IS_DRAW_VERTEX_STATE && num_draws > 1 && in si_emit_draw_packets() 1688 bool index_bias_varies = !IS_DRAW_VERTEX_STATE && num_draws > 1 && in si_emit_draw_packets() 1693 for (unsigned i = 0; i < num_draws; i++) { in si_emit_draw_packets() 1709 if (num_draws > 1) { in si_emit_draw_packets() 1710 sctx->last_base_vertex = draws[num_draws - 1].index_bias; in si_emit_draw_packets() 1711 sctx->last_drawid = drawid_base + num_draws - 1; in si_emit_draw_packets() 1715 for (unsigned i = 0; i < num_draws; i++) { in si_emit_draw_packets() 1728 if (num_draws > 1) in si_emit_draw_packets() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | dd.h | 170 unsigned num_draws); 185 unsigned num_draws); 192 unsigned num_draws,
|
D | draw.h | 95 unsigned num_draws); 102 unsigned num_draws);
|
/third_party/mesa3d/src/util/indices/ |
D | u_primconvert.c | 295 unsigned num_draws) in util_primconvert_draw_vbo() argument 311 for (unsigned i = 0; i < num_draws; i++) { in util_primconvert_draw_vbo() 332 unsigned num_draws) in util_primconvert_draw_vertex_state() argument 338 pc->pipe->draw_vertex_state(pc->pipe, vstate, partial_velem_mask, info, draws, num_draws); in util_primconvert_draw_vertex_state() 342 if (num_draws > 1) { in util_primconvert_draw_vertex_state() 343 for (unsigned i = 0; i < num_draws; i++) { in util_primconvert_draw_vertex_state()
|
D | u_primconvert.h | 60 unsigned num_draws); 67 unsigned num_draws);
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_context.c | 55 unsigned num_draws) in i915_draw_vbo() argument 57 if (num_draws > 1) { in i915_draw_vbo() 58 util_draw_multi(pipe, info, drawid_offset, indirect, draws, num_draws); in i915_draw_vbo() 115 draw_vbo(i915->draw, info, drawid_offset, NULL, draws, num_draws, 0); in i915_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_draw.c | 44 int num_draws = DIV_ROUND_UP(vert_count, 65535 - 2) + 1; in vc4_get_draw_cl_space() local 51 VC4_PACKET_GL_SHADER_STATE_SIZE) * num_draws); in vc4_get_draw_cl_space() 60 (12 * sizeof(uint32_t) + 104 + 8 * 32) * num_draws); in vc4_get_draw_cl_space() 317 unsigned num_draws) in vc4_draw_vbo() argument 319 if (num_draws > 1) { in vc4_draw_vbo() 320 util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws); in vc4_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_draw.c | 224 unsigned num_draws) in svga_draw_vbo() argument 226 if (num_draws > 1) { in svga_draw_vbo() 227 util_draw_multi(pipe, info, drawid_offset, indirect, draws, num_draws); in svga_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_draw_arrays.c | 58 unsigned num_draws) in llvmpipe_draw_vbo() argument 150 draw_vbo(draw, info, drawid_offset, indirect, draws, num_draws, in llvmpipe_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_context.c | 855 if (!vctx->num_draws) in virgl_clear() 857 vctx->num_draws++; in virgl_clear() 885 unsigned num_draws) in virgl_draw_vbo() argument 887 if (num_draws > 1) { in virgl_draw_vbo() 888 util_draw_multi(ctx, dinfo, drawid_offset, indirect, draws, num_draws); in virgl_draw_vbo() 907 … util_primconvert_draw_vbo(vctx->primconvert, dinfo, drawid_offset, indirect, draws, num_draws); in virgl_draw_vbo() 927 if (!vctx->num_draws) in virgl_draw_vbo() 929 vctx->num_draws++; in virgl_draw_vbo() 968 if (ctx->num_draws) in virgl_flush_eq() 972 ctx->num_draws = ctx->num_compute = 0; in virgl_flush_eq()
|