Home
last modified time | relevance | path

Searched refs:num_draws (Results 1 – 25 of 73) sorted by relevance

123

/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw.c135 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/
Ddraw_pt.c62 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/
Dfreedreno_draw.c240 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 …]
Dtrace-parser.py94 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))
Dfreedreno_autotune.c162 (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/
Dvbo_save_draw.c275 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()
Dvbo_minmax_index.c404 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/
Dr300_render_stencilref.c42 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()
Dr300_render.c795 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/
Du_draw.c132 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()
Du_prim_restart.c227 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()
Du_threaded_context.c3192 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 …]
Du_draw.h161 unsigned *num_draws);
179 unsigned num_draws);
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_draw.cpp238 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/
Dsp_draw_arrays.c66 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/
Dsi_state_draw.cpp1438 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/
Ddd.h170 unsigned num_draws);
185 unsigned num_draws);
192 unsigned num_draws,
Ddraw.h95 unsigned num_draws);
102 unsigned num_draws);
/third_party/mesa3d/src/util/indices/
Du_primconvert.c295 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()
Du_primconvert.h60 unsigned num_draws);
67 unsigned num_draws);
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_context.c55 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/
Dvc4_draw.c44 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/
Dsvga_pipe_draw.c224 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/
Dlp_draw_arrays.c58 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/
Dvirgl_context.c855 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()

123