Lines Matching defs:new_draw
110 struct pipe_draw_start_count_bias *new_draw)
179 &mode, &index_size, &new_draw->count,
182 assert(new_draw->count == total_index_count);
199 &mode, &index_size, &new_draw->count,
211 &mode, &index_size, &new_draw->count,
218 u_upload_alloc(pc->pipe->stream_uploader, 0, new_info->index_size * new_draw->count, 4,
220 new_draw->start = ib_offset / new_info->index_size;
221 new_draw->index_bias = info->index_size ? draw.index_bias : 0;
245 new_draw->count = u_index_count_converted_indices(pc->cfg.primtypes_mask, true, info->mode, total_index_count);
247 trans_func(src, draw.start, draw.count, new_draw->count, info->restart_index, dst);
253 new_draw->count,
258 gen_func(draw.start, new_draw->count, dst);
279 struct pipe_draw_start_count_bias new_draw;
281 if (!primconvert_init_draw(pc, info, draw, &new_info, &new_draw))
284 pc->pipe->draw_vbo(pc->pipe, &new_info, drawid_offset, NULL, &new_draw, 1);
335 struct pipe_draw_start_count_bias new_draw;
355 if (!primconvert_init_draw(pc, &dinfo, draws, &new_info, &new_draw))
369 pc->pipe->draw_vertex_state(pc->pipe, new_state, partial_velem_mask, new_vinfo, &new_draw, 1);