Home
last modified time | relevance | path

Searched refs:direct_draws (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c115 struct pipe_draw_start_count_bias *direct_draws = NULL; in util_primconvert_draw_vbo() local
191 direct_draws = util_prim_restart_convert_to_direct(src, info, draw, &num_direct_draws, in util_primconvert_draw_vbo()
255 …= u_index_count_converted_indices(pc->cfg.primtypes_mask, true, info->mode, direct_draws[i].count); in util_primconvert_draw_vbo()
259 …direct_draw_func(src, direct_draws[i].start, direct_draws[i].count, direct_draws[i].count, info->r… in util_primconvert_draw_vbo()
261 trans_func(ptr, 0, direct_draws[i].count, tmp_count, info->restart_index, dst_ptr); in util_primconvert_draw_vbo()
263 ptr += new_info.index_size * direct_draws[i].count; in util_primconvert_draw_vbo()
290 free(direct_draws); in util_primconvert_draw_vbo()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c299 struct pipe_draw_start_count_bias *direct_draws; 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()
353 if (direct_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()
355 free(direct_draws); in util_draw_vbo_without_prim_restart()