Home
last modified time | relevance | path

Searched refs:draw_count (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dglthread_draw.c81 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()
369 GLsizei draw_count; member
378 const GLsizei draw_count = cmd->draw_count; in _mesa_unmarshal_MultiDrawArrays() local
383 variable_data += sizeof(GLint) * draw_count; in _mesa_unmarshal_MultiDrawArrays()
385 variable_data += sizeof(GLsizei) * draw_count; in _mesa_unmarshal_MultiDrawArrays()
396 (mode, first, count, draw_count)); in _mesa_unmarshal_MultiDrawArrays()
408 GLsizei draw_count, unsigned user_buffer_mask, in multi_draw_arrays_async() argument
411 int first_size = sizeof(GLint) * draw_count; in multi_draw_arrays_async()
412 int count_size = sizeof(GLsizei) * draw_count; in multi_draw_arrays_async()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_xformfb.c60 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()
222 out->count_from_stream_output = sobj->draw_count[stream]; in st_transform_feedback_draw_init()
Dst_draw.c268 unsigned draw_count, in st_indirect_draw_vbo() argument
309 draw_count, in st_indirect_draw_vbo()
317 indirect.draw_count = 1; in st_indirect_draw_vbo()
318 for (i = 0; i < draw_count; i++) { in st_indirect_draw_vbo()
324 indirect.draw_count = draw_count; in st_indirect_draw_vbo()
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.c146 uint32_t draw_count = info_in->indirect->draw_count; in util_draw_indirect() local
158 if (dc_param[0] < draw_count) in util_draw_indirect()
159 draw_count = dc_param[0]; in util_draw_indirect()
169 (num_params * info_in->indirect->draw_count) * sizeof(uint32_t), in util_draw_indirect()
177 for (unsigned i = 0; i < draw_count; i++) { in util_draw_indirect()
Du_vbuf.c1257 unsigned draw_count) in u_vbuf_split_indexed_multidraw() argument
1262 for (unsigned i = 0; i < draw_count; i++) { in u_vbuf_split_indexed_multidraw()
1311 unsigned draw_count = 0; in u_vbuf_draw_vbo() local
1317 4, &draw_count); in u_vbuf_draw_vbo()
1319 draw_count = indirect->draw_count; in u_vbuf_draw_vbo()
1322 if (!draw_count) in u_vbuf_draw_vbo()
1325 unsigned data_size = (draw_count - 1) * indirect->stride + in u_vbuf_draw_vbo()
1346 indirect->stride, draw_count); in u_vbuf_draw_vbo()
1352 for (unsigned i = 1; i < draw_count; i++) { in u_vbuf_draw_vbo()
1362 indirect->stride, draw_count); in u_vbuf_draw_vbo()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline.c394 unsigned draw_count, in fetch_pipeline_run() argument
408 prim_info.count = draw_count; in fetch_pipeline_run()
413 prim_info.primitive_lengths = &draw_count; in fetch_pipeline_run()
453 unsigned draw_count, in fetch_pipeline_linear_run_elts() argument
467 prim_info.count = draw_count; in fetch_pipeline_linear_run_elts()
472 prim_info.primitive_lengths = &draw_count; in fetch_pipeline_linear_run_elts()
Ddraw_pt_fetch_shade_emit.c255 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()
Ddraw_pt_fetch_emit.c194 unsigned draw_count, in fetch_emit_run() argument
242 draw_count ); in fetch_emit_run()
313 unsigned draw_count, in fetch_emit_run_linear_elts() argument
349 draw_count ); in fetch_emit_run_linear_elts()
Ddraw_pt.h107 unsigned draw_count,
122 unsigned draw_count,
Ddraw_pt_fetch_shade_pipeline_llvm.c794 unsigned draw_count, in llvm_middle_end_run() argument
808 prim_info.count = draw_count; in llvm_middle_end_run()
813 prim_info.primitive_lengths = &draw_count; in llvm_middle_end_run()
852 unsigned draw_count, in llvm_middle_end_linear_run_elts() argument
866 prim_info.count = draw_count; in llvm_middle_end_linear_run_elts()
871 prim_info.primitive_lengths = &draw_count; in llvm_middle_end_linear_run_elts()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.h78 unsigned draw_count,
Dbrw_draw.c1239 unsigned draw_count, in brw_draw_indirect_prims() argument
1249 prim = calloc(draw_count, sizeof(*prim)); in brw_draw_indirect_prims()
1252 (draw_count > 1) ? "Multi" : "", in brw_draw_indirect_prims()
1262 prim[draw_count - 1].end = 1; in brw_draw_indirect_prims()
1263 for (i = 0; i < draw_count; ++i) { in brw_draw_indirect_prims()
1277 brw_draw_prims(ctx, prim, draw_count, ib, false, 0, ~0, 0, 0, NULL, 0); in brw_draw_indirect_prims()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo_translate.c505 unsigned draw_count = info->indirect->draw_count; in nvc0_push_vbo_indirect() local
510 draw_count = *count; in nvc0_push_vbo_indirect()
517 for (i = 0; i < draw_count; i++, buf_data += info->indirect->stride) { in nvc0_push_vbo_indirect()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h536 unsigned draw_count; /**< number of indirect draws */ member
/external/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.c3088 uint32_t draw_count) in get_tess_param_bo_size() argument
3093 if (!draw_count) in get_tess_param_bo_size()
3094 draw_count = 2048; in get_tess_param_bo_size()
3101 uint32_t num_patches = draw_count / verts_per_patch; in get_tess_param_bo_size()
3107 uint32_t draw_count) in get_tess_factor_bo_size() argument
3112 if (!draw_count) in get_tess_factor_bo_size()
3113 draw_count = 2048; in get_tess_factor_bo_size()
3117 uint32_t num_patches = draw_count / verts_per_patch; in get_tess_factor_bo_size()
3137 uint32_t draw_count, in tu6_emit_tess_consts() argument
3147 uint64_t tess_factor_size = get_tess_factor_bo_size(pipeline, draw_count); in tu6_emit_tess_consts()
[all …]
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h695 unsigned draw_count; /**< number of indirect draws */ member
/external/mesa3d/src/freedreno/decode/
Dcffdec.c101 static int draw_count; variable
757 draw_count = 0; in cffdec_init()
1026 printf("%4d: %s(%u,%u-%u,%u):%u:", draw_count, primtype, in __do_query()
1814 printl(2, "%sdraw[%i] register values\n", levels[level], draw_count); in dump_register_summary()
1844 draw_count++; in dump_register_summary()
2663 current_draw_count = draw_count; in dump_commands()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_draw.c522 …h->cmdbuf, indirect->buffer, dinfo->indirect->offset, dinfo->indirect->draw_count, dinfo->indirect… in zink_draw_vbo()
536 …h->cmdbuf, indirect->buffer, dinfo->indirect->offset, dinfo->indirect->draw_count, dinfo->indirect… in zink_draw_vbo()
/external/mesa3d/src/gallium/drivers/iris/
Diris_draw.c188 for (int i = 0; i < info.indirect->draw_count; i++) { in iris_indirect_draw_vbo()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_private.h731 uint32_t draw_count; member
Dlvp_cmd_buffer.c751 cmd->u.draw_indirect.draw_count = drawCount; in lvp_CmdDrawIndirect()
774 cmd->u.draw_indirect.draw_count = drawCount; in lvp_CmdDrawIndexedIndirect()
/external/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_dump_state.c803 trace_dump_member(uint, state, indirect->draw_count); in trace_dump_draw_info()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3dx_draw.c1297 … prim.number_of_draw_indirect_indexed_records = info->indirect->draw_count; in v3d_draw_vbo()
1341 … prim.number_of_draw_indirect_array_records = info->indirect->draw_count; in v3d_draw_vbo()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c4127 if (job->always_flush && job->draw_count > 0) { in cmd_buffer_pre_draw_split_job()
4139 assert(job->draw_count == 0); in cmd_buffer_pre_draw_split_job()
4145 assert(job->draw_count == 0 || !job->always_flush); in cmd_buffer_pre_draw_split_job()
4179 if (cmd_buffer->state.job->draw_count > 0) in cmd_buffer_restart_job_for_msaa_if_needed()
4250 job->draw_count++; in cmd_buffer_emit_pre_draw()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c899 radeon_emit(cs, indirect->draw_count); in si_emit_draw_packets()
1582 indirect_count = indirect->draw_count; in si_get_draw_start_count()

12