/third_party/mesa3d/src/mesa/main/ |
D | glthread_draw.c | 81 unsigned index_size, unsigned draw_count, in upload_multi_indices() argument 95 for (unsigned i = 0, offset = 0; i < draw_count; i++) { in upload_multi_indices() 424 GLsizei draw_count; member 434 const GLsizei draw_count = cmd->draw_count; in _mesa_unmarshal_MultiDrawArrays() local 439 variable_data += sizeof(GLint) * draw_count; in _mesa_unmarshal_MultiDrawArrays() 441 variable_data += sizeof(GLsizei) * draw_count; in _mesa_unmarshal_MultiDrawArrays() 452 (mode, first, count, draw_count)); in _mesa_unmarshal_MultiDrawArrays() 465 GLsizei draw_count, unsigned user_buffer_mask, in multi_draw_arrays_async() argument 468 int first_size = sizeof(GLint) * draw_count; in multi_draw_arrays_async() 469 int count_size = sizeof(GLsizei) * draw_count; in multi_draw_arrays_async() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw.c | 142 uint32_t draw_count = indirect->draw_count; in util_draw_indirect_read() local 153 if (dc_param[0] < draw_count) in util_draw_indirect_read() 154 draw_count = dc_param[0]; in util_draw_indirect_read() 157 draws = malloc(sizeof(struct u_indirect_params) * draw_count); in util_draw_indirect_read() 166 (num_params * indirect->draw_count) * sizeof(uint32_t), in util_draw_indirect_read() 175 for (unsigned i = 0; i < draw_count; i++) { in util_draw_indirect_read() 185 *num_draws = draw_count; in util_draw_indirect_read() 207 uint32_t draw_count = indirect->draw_count; in util_draw_indirect() local 219 if (dc_param[0] < draw_count) in util_draw_indirect() 220 draw_count = dc_param[0]; in util_draw_indirect() [all …]
|
D | u_vbuf.c | 1357 unsigned draw_count) in u_vbuf_split_indexed_multidraw() argument 1362 if (draw_count > 1 && info->take_index_buffer_ownership) in u_vbuf_split_indexed_multidraw() 1363 p_atomic_add(&info->index.resource->reference.count, draw_count - 1); in u_vbuf_split_indexed_multidraw() 1367 for (unsigned i = 0; i < draw_count; i++) { in u_vbuf_split_indexed_multidraw() 1424 unsigned draw_count = 0; in u_vbuf_draw_vbo() local 1430 4, &draw_count); in u_vbuf_draw_vbo() 1432 draw_count = indirect->draw_count; in u_vbuf_draw_vbo() 1435 if (!draw_count) in u_vbuf_draw_vbo() 1438 unsigned data_size = (draw_count - 1) * indirect->stride + in u_vbuf_draw_vbo() 1459 indirect->stride, draw_count); in u_vbuf_draw_vbo() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_xformfb.c | 60 struct pipe_stream_output_target *draw_count[MAX_VERTEX_STREAMS]; member 92 for (i = 0; i < ARRAY_SIZE(sobj->draw_count); i++) in st_delete_transform_feedback() 93 pipe_so_target_reference(&sobj->draw_count[i], NULL); in st_delete_transform_feedback() 129 sobj->targets[i] == sobj->draw_count[stream] || in st_begin_transform_feedback() 199 for (i = 0; i < ARRAY_SIZE(sobj->draw_count); i++) in st_end_transform_feedback() 200 pipe_so_target_reference(&sobj->draw_count[i], NULL); in st_end_transform_feedback() 207 if (!sobj->targets[i] || sobj->draw_count[stream]) in st_end_transform_feedback() 210 pipe_so_target_reference(&sobj->draw_count[stream], sobj->targets[i]); in st_end_transform_feedback() 223 out->count_from_stream_output = sobj->draw_count[stream]; in st_transform_feedback_draw_init()
|
D | st_draw.c | 227 unsigned draw_count, in st_indirect_draw_vbo() argument 273 indirect.draw_count = 1; in st_indirect_draw_vbo() 274 for (i = 0; i < draw_count; i++) { in st_indirect_draw_vbo() 279 indirect.draw_count = draw_count; in st_indirect_draw_vbo()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch_shade_pipeline.c | 396 unsigned draw_count, in fetch_pipeline_run() argument 410 prim_info.count = draw_count; in fetch_pipeline_run() 415 prim_info.primitive_lengths = &draw_count; in fetch_pipeline_run() 455 unsigned draw_count, in fetch_pipeline_linear_run_elts() argument 469 prim_info.count = draw_count; in fetch_pipeline_linear_run_elts() 474 prim_info.primitive_lengths = &draw_count; in fetch_pipeline_linear_run_elts()
|
D | draw_pt_fetch_shade_emit.c | 255 unsigned draw_count, in fse_run() argument 296 draw_count ); in fse_run() 313 unsigned draw_count, in fse_run_linear_elts() argument 343 draw_count ); in fse_run_linear_elts()
|
D | draw_pt.h | 107 unsigned draw_count, 122 unsigned draw_count,
|
D | draw_pt_fetch_shade_pipeline_llvm.c | 806 unsigned draw_count, in llvm_middle_end_run() argument 820 prim_info.count = draw_count; in llvm_middle_end_run() 825 prim_info.primitive_lengths = &draw_count; in llvm_middle_end_run() 864 unsigned draw_count, in llvm_middle_end_linear_run_elts() argument 878 prim_info.count = draw_count; in llvm_middle_end_linear_run_elts() 883 prim_info.primitive_lengths = &draw_count; in llvm_middle_end_linear_run_elts()
|
/third_party/mesa3d/src/gallium/auxiliary/indices/ |
D | u_primconvert.c | 130 unsigned draw_count = 0; in util_primconvert_draw_vbo() local 131 …ruct u_indirect_params *new_draws = util_draw_indirect_read(pc->pipe, info, indirect, &draw_count); in util_primconvert_draw_vbo() 135 for (unsigned i = 0; i < draw_count; i++) in util_primconvert_draw_vbo()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw.h | 80 unsigned draw_count,
|
D | brw_draw.c | 1277 unsigned draw_count, in brw_draw_indirect_prims() argument 1289 prim = calloc(draw_count, sizeof(*prim)); in brw_draw_indirect_prims() 1292 (draw_count > 1) ? "Multi" : "", in brw_draw_indirect_prims() 1302 prim[draw_count - 1].end = 1; in brw_draw_indirect_prims() 1303 for (i = 0; i < draw_count; ++i) { in brw_draw_indirect_prims() 1317 brw_draw_prims(ctx, prim, draw_count, ib, false, primitive_restart, in brw_draw_indirect_prims()
|
/third_party/weston/libweston/ |
D | tde-render-part.cpp | 80 int32_t draw_count; member 257 .blendType = output_state->tde->draw_count ? BLEND_SRCOVER : BLEND_SRC, in tde_repaint_region() 387 output_state->tde->draw_count++; in tde_repaint_region() 537 state->tde->draw_count = 0; in tde_output_state_init_hook()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_vbo_translate.c | 509 unsigned draw_count = indirect->draw_count; in nvc0_push_vbo_indirect() local 514 draw_count = *count; in nvc0_push_vbo_indirect() 521 for (i = 0; i < draw_count; i++, buf_data += indirect->stride) { in nvc0_push_vbo_indirect()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_cmd_buffer.c | 289 cmd->u.draw_multi_ext.draw_count = drawCount; in lvp_CmdDrawMultiEXT() 324 cmd->u.draw_multi_indexed_ext.draw_count = drawCount; in lvp_CmdDrawMultiIndexedEXT()
|
D | lvp_execute.c | 1846 struct pipe_draw_start_count_bias *draws = calloc(cmd->u.draw_multi_ext.draw_count, in handle_draw_multi() 1854 if (cmd->u.draw_multi_ext.draw_count > 1) in handle_draw_multi() 1857 for(unsigned i = 0; i < cmd->u.draw_multi_ext.draw_count; i++) { in handle_draw_multi() 1865 if (cmd->u.draw_multi_indexed_ext.draw_count) in handle_draw_multi() 1866 …state->pctx->draw_vbo(state->pctx, &state->info, 0, NULL, draws, cmd->u.draw_multi_ext.draw_count); in handle_draw_multi() 2497 struct pipe_draw_start_count_bias *draws = calloc(cmd->u.draw_multi_indexed_ext.draw_count, in handle_draw_multi_indexed() 2508 if (cmd->u.draw_multi_indexed_ext.draw_count > 1) in handle_draw_multi_indexed() 2514 …unsigned size = cmd->u.draw_multi_indexed_ext.draw_count * sizeof(struct pipe_draw_start_count_bia… in handle_draw_multi_indexed() 2518 if (cmd->u.draw_multi_indexed_ext.draw_count && in handle_draw_multi_indexed() 2523 for (unsigned i = 0; i < cmd->u.draw_multi_indexed_ext.draw_count; i++) in handle_draw_multi_indexed() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_cmd_buffer.c | 3475 uint32_t draw_count) in get_tess_param_bo_size() argument 3480 if (!draw_count) in get_tess_param_bo_size() 3481 draw_count = 2048; in get_tess_param_bo_size() 3488 uint32_t num_patches = draw_count / verts_per_patch; in get_tess_param_bo_size() 3494 uint32_t draw_count) in get_tess_factor_bo_size() argument 3499 if (!draw_count) in get_tess_factor_bo_size() 3500 draw_count = 2048; in get_tess_factor_bo_size() 3504 uint32_t num_patches = draw_count / verts_per_patch; in get_tess_factor_bo_size() 3524 uint32_t draw_count, in tu6_emit_tess_consts() argument 3542 uint64_t tess_factor_size = get_tess_factor_bo_size(pipeline, draw_count); in tu6_emit_tess_consts() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_draw.cpp | 807 dindirect->draw_count, dindirect->stride); in zink_draw_vbo() 809 …h->state->cmdbuf, indirect->obj->buffer, dindirect->offset, dindirect->draw_count, dindirect->stri… in zink_draw_vbo() 836 dindirect->draw_count, dindirect->stride); in zink_draw_vbo() 838 …h->state->cmdbuf, indirect->obj->buffer, dindirect->offset, dindirect->draw_count, dindirect->stri… in zink_draw_vbo()
|
/third_party/mesa3d/src/freedreno/decode/ |
D | cffdec.c | 103 static int draw_count; variable 760 draw_count = 0; in cffdec_init() 1038 printf("%4d: %s(%u,%u-%u,%u):%u:", draw_count, primtype, bin_x1, in __do_query() 1838 printl(2, "%sdraw[%i] register values\n", levels[level], draw_count); in dump_register_summary() 1868 draw_count++; in dump_register_summary() 2741 current_draw_count = draw_count; in dump_commands()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 752 unsigned draw_count; /**< number of indirect draws */ member
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_draw.c | 208 for (int i = 0; i < indirect.draw_count; i++) { in iris_indirect_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_draw.c | 287 for (int i = 0; i < indirect.draw_count; i++) { in crocus_indirect_draw_vbo()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_cmd_buffer.c | 2378 if (job->always_flush && job->draw_count > 0) { in cmd_buffer_pre_draw_split_job() 2390 assert(job->draw_count == 0); in cmd_buffer_pre_draw_split_job() 2396 assert(job->draw_count == 0 || !job->always_flush); in cmd_buffer_pre_draw_split_job() 2430 if (cmd_buffer->state.job->draw_count > 0) in cmd_buffer_restart_job_for_msaa_if_needed() 2501 job->draw_count++; in v3dv_cmd_buffer_emit_pre_draw()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3dx_draw.c | 1148 prim.number_of_draw_indirect_indexed_records = indirect->draw_count; in v3d_draw_vbo() 1192 prim.number_of_draw_indirect_array_records = indirect->draw_count; in v3d_draw_vbo()
|
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
D | tr_dump_state.c | 873 trace_dump_member(uint, state, draw_count); in trace_dump_draw_indirect_info()
|