Searched refs:new_draw (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/util/indices/ |
D | u_primconvert.c | 110 struct pipe_draw_start_count_bias *new_draw) in primconvert_init_draw() argument 179 &mode, &index_size, &new_draw->count, in primconvert_init_draw() 182 assert(new_draw->count == total_index_count); in primconvert_init_draw() 199 &mode, &index_size, &new_draw->count, in primconvert_init_draw() 211 &mode, &index_size, &new_draw->count, in primconvert_init_draw() 218 u_upload_alloc(pc->pipe->stream_uploader, 0, new_info->index_size * new_draw->count, 4, in primconvert_init_draw() 220 new_draw->start = ib_offset / new_info->index_size; in primconvert_init_draw() 221 new_draw->index_bias = info->index_size ? draw.index_bias : 0; in primconvert_init_draw() 245 …new_draw->count = u_index_count_converted_indices(pc->cfg.primtypes_mask, true, info->mode, total_… in primconvert_init_draw() 247 trans_func(src, draw.start, draw.count, new_draw->count, info->restart_index, dst); in primconvert_init_draw() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_prim_restart.c | 296 struct pipe_draw_start_count_bias new_draw = *draw; in util_draw_vbo_without_prim_restart() local 317 new_draw.count = indirect.count; in util_draw_vbo_without_prim_restart() 318 new_draw.start = indirect.firstIndex; in util_draw_vbo_without_prim_restart() 326 new_draw.start * info->index_size, in util_draw_vbo_without_prim_restart() 327 new_draw.count * info->index_size, in util_draw_vbo_without_prim_restart() 340 + new_draw.start * info->index_size; in util_draw_vbo_without_prim_restart() 344 direct_draws = util_prim_restart_convert_to_direct(src_map, &new_info, &new_draw, &num_draws, in util_draw_vbo_without_prim_restart()
|
D | u_vbuf.c | 1471 struct pipe_draw_start_count_bias new_draw; in u_vbuf_draw_vbo() local 1511 new_draw = draws[d]; in u_vbuf_draw_vbo() 1582 new_draw.index_bias = index_bias0; in u_vbuf_draw_vbo() 1644 new_draw.start = ~0u; in u_vbuf_draw_vbo() 1656 new_draw.start = MIN2(new_draw.start, start); in u_vbuf_draw_vbo() 1666 new_draw.count = end_vertex - new_draw.start; in u_vbuf_draw_vbo() 1669 if (new_draw.start == ~0u || !new_draw.count || !new_info.instance_count) in u_vbuf_draw_vbo() 1673 if ((!indirect && !new_draw.count) || !new_info.instance_count) in u_vbuf_draw_vbo() 1686 u_vbuf_get_minmax_index(mgr->pipe, &new_info, &new_draw, in u_vbuf_draw_vbo() 1692 start_vertex = min_index + new_draw.index_bias; in u_vbuf_draw_vbo() [all …]
|