Searched refs:index_offset (Results 1 - 25 of 69) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_render_translate.c31 unsigned *index_size, unsigned index_offset,
44 &r300->context, info, PIPE_TRANSFER_UNSYNCHRONIZED, index_offset,
52 if (index_offset) {
59 index_offset, *start,
67 if (index_offset) {
74 index_offset, *start,
28 r300_translate_index_buffer(struct r300_context * r300,const struct pipe_draw_info * info,struct pipe_resource ** out_buffer,unsigned * index_size,unsigned index_offset,unsigned * start,unsigned count) argument
H A Dr300_screen_buffer.c40 unsigned index_offset; local in function:r300_upload_index_buffer
47 &index_offset,
50 *start = index_offset / index_size;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_render_translate.c31 unsigned *index_size, unsigned index_offset,
44 &r300->context, info, PIPE_MAP_UNSYNCHRONIZED, index_offset,
52 if (index_offset) {
59 index_offset, *start,
67 if (index_offset) {
74 index_offset, *start,
28 r300_translate_index_buffer(struct r300_context * r300,const struct pipe_draw_info * info,struct pipe_resource ** out_buffer,unsigned * index_size,unsigned index_offset,unsigned * start,unsigned count) argument
H A Dr300_screen_buffer.c40 unsigned index_offset; local in function:r300_upload_index_buffer
47 &index_offset,
50 *start = index_offset / index_size;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_swtnl.h44 unsigned index_offset);
H A Dsvga_pipe_draw.c152 unsigned index_offset = 0; local in function:svga_draw_vbo
154 !util_upload_index_buffer(pipe, info, &indexbuf, &index_offset)) {
203 ret = svga_swtnl_draw_vbo(svga, info, indexbuf, index_offset);
226 assert(index_offset % info->index_size == 0);
227 offset = index_offset / info->index_size;
H A Dsvga_draw_elements.c162 unsigned index_offset = start * index_size; local in function:svga_hwtnl_simple_draw_range_elements
170 range.indexArray.offset = index_offset;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_draw.c56 struct fd3_emit *emit, unsigned index_offset)
87 info, index_offset);
117 unsigned index_offset)
163 draw_impl(ctx, ctx->batch->draw, &emit, index_offset);
170 draw_impl(ctx, ctx->batch->binning, &emit, index_offset);
55 draw_impl(struct fd_context * ctx,struct fd_ringbuffer * ring,struct fd3_emit * emit,unsigned index_offset) argument
116 fd3_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * info,unsigned index_offset) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_draw.c45 struct fd4_emit *emit, unsigned index_offset)
71 info, index_offset);
101 unsigned index_offset)
160 draw_impl(ctx, ctx->batch->draw, &emit, index_offset);
175 draw_impl(ctx, ctx->batch->binning, &emit, index_offset);
44 draw_impl(struct fd_context * ctx,struct fd_ringbuffer * ring,struct fd4_emit * emit,unsigned index_offset) argument
100 fd4_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * info,unsigned index_offset) argument
H A Dfd4_draw.h106 unsigned index_offset)
125 OUT_RELOC(ring, fd_resource(idx)->bo, index_offset, 0, 0);
127 idx->width0 - index_offset));
148 idx_offset = index_offset + info->start * info->index_size;
102 fd4_draw_emit(struct fd_batch * batch,struct fd_ringbuffer * ring,enum pc_di_primtype primtype,enum pc_di_vis_cull_mode vismode,const struct pipe_draw_info * info,unsigned index_offset) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_draw.c56 struct fd3_emit *emit, unsigned index_offset) assert_dt
94 emit->draw, index_offset);
102 unsigned index_offset) in_dt
152 draw_impl(ctx, ctx->batch->draw, &emit, index_offset);
159 draw_impl(ctx, ctx->batch->binning, &emit, index_offset);
55 draw_impl(struct fd_context * ctx,struct fd_ringbuffer * ring,struct fd3_emit * emit,unsigned index_offset) argument
98 fd3_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * info,unsigned drawid_offset,const struct pipe_draw_indirect_info * indirect,const struct pipe_draw_start_count_bias * draw,unsigned index_offset) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_draw.c44 struct fd4_emit *emit, unsigned index_offset) assert_dt
71 emit->indirect, emit->draw, index_offset);
79 unsigned index_offset) in_dt
145 draw_impl(ctx, ctx->batch->draw, &emit, index_offset);
160 draw_impl(ctx, ctx->batch->binning, &emit, index_offset);
43 draw_impl(struct fd_context * ctx,struct fd_ringbuffer * ring,struct fd4_emit * emit,unsigned index_offset) argument
75 fd4_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * info,unsigned drawid_offset,const struct pipe_draw_indirect_info * indirect,const struct pipe_draw_start_count_bias * draw,unsigned index_offset) argument
H A Dfd4_draw.h91 const struct pipe_draw_start_count_bias *draw, unsigned index_offset)
111 OUT_RELOC(ring, fd_resource(idx)->bo, index_offset, 0, 0);
113 index_offset));
134 idx_offset = index_offset + draw->start * info->index_size;
87 fd4_draw_emit(struct fd_batch * batch,struct fd_ringbuffer * ring,enum pc_di_primtype primtype,enum pc_di_vis_cull_mode vismode,const struct pipe_draw_info * info,const struct pipe_draw_indirect_info * indirect,const struct pipe_draw_start_count_bias * draw,unsigned index_offset) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_draw_elements.c196 unsigned index_offset = start * index_size; local in function:svga_hwtnl_simple_draw_range_elements
204 range.indexArray.offset = index_offset;
264 unsigned index_offset; local in function:svga_hwtnl_draw_range_elements
269 &index_offset, &index_buffer);
271 index_offset /= info->index_size;
274 index_offset = draw->start;
284 gen_prim, index_offset, count,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_draw.h87 unsigned index_offset)
108 index_offset, 0, 0);
130 idx_offset = index_offset + info->start * info->index_size;
83 fd5_draw_emit(struct fd_batch * batch,struct fd_ringbuffer * ring,enum pc_di_primtype primtype,enum pc_di_vis_cull_mode vismode,const struct pipe_draw_info * info,unsigned index_offset) argument
H A Dfd5_draw.c45 struct fd5_emit *emit, unsigned index_offset)
66 info, index_offset);
96 unsigned index_offset)
150 draw_impl(ctx, ctx->batch->draw, &emit, index_offset);
157 draw_impl(ctx, ctx->batch->binning, &emit, index_offset);
44 draw_impl(struct fd_context * ctx,struct fd_ringbuffer * ring,struct fd5_emit * emit,unsigned index_offset) argument
95 fd5_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * info,unsigned index_offset) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_draw.h85 const struct pipe_draw_start_count_bias *draw, unsigned index_offset)
106 OUT_RELOC(ring, fd_resource(idx)->bo, index_offset, 0, 0);
128 idx_offset = index_offset + draw->start * info->index_size;
81 fd5_draw_emit(struct fd_batch * batch,struct fd_ringbuffer * ring,enum pc_di_primtype primtype,enum pc_di_vis_cull_mode vismode,const struct pipe_draw_info * info,const struct pipe_draw_indirect_info * indirect,const struct pipe_draw_start_count_bias * draw,unsigned index_offset) argument
H A Dfd5_draw.c44 struct fd5_emit *emit, unsigned index_offset) assert_dt
67 emit->indirect, emit->draw, index_offset);
75 unsigned index_offset) in_dt
132 draw_impl(ctx, ctx->batch->draw, &emit, index_offset);
139 draw_impl(ctx, ctx->batch->binning, &emit, index_offset);
43 draw_impl(struct fd_context * ctx,struct fd_ringbuffer * ring,struct fd5_emit * emit,unsigned index_offset) argument
71 fd5_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * info,unsigned drawid_offset,const struct pipe_draw_indirect_info * indirect,const struct pipe_draw_start_count_bias * draw,unsigned index_offset) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_draw.h148 unsigned index_offset)
161 idx_offset = index_offset + info->start * info->index_size;
144 fd_draw_emit(struct fd_batch * batch,struct fd_ringbuffer * ring,enum pc_di_primtype primtype,enum pc_di_vis_cull_mode vismode,const struct pipe_draw_info * info,unsigned index_offset) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_draw.c50 unsigned index_offset)
63 index_offset, 0, 0);
79 unsigned index_offset)
86 uint32_t idx_offset = index_offset + info->start * info->index_size;
145 unsigned index_offset)
230 info, index_offset);
233 info, index_offset);
47 draw_emit_indirect(struct fd_batch * batch,struct fd_ringbuffer * ring,enum pc_di_primtype primtype,const struct pipe_draw_info * info,unsigned index_offset) argument
76 draw_emit(struct fd_batch * batch,struct fd_ringbuffer * ring,enum pc_di_primtype primtype,const struct pipe_draw_info * info,unsigned index_offset) argument
144 fd6_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * info,unsigned index_offset) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_draw.c77 unsigned index_offset)
83 unsigned max_indices = (idx->width0 - index_offset) / info->index_size;
87 index_offset),
99 const struct pipe_draw_start_count_bias *draw, unsigned index_offset)
106 (idx_buffer->width0 - index_offset) / info->index_size;
113 index_offset),
138 unsigned index_offset) assert_dt
352 draw_emit_indirect(ring, &draw0, info, indirect, index_offset);
355 draw_emit(ring, &draw0, info, draw, index_offset);
73 draw_emit_indirect(struct fd_ringbuffer * ring,struct CP_DRAW_INDX_OFFSET_0 * draw0,const struct pipe_draw_info * info,const struct pipe_draw_indirect_info * indirect,unsigned index_offset) argument
97 draw_emit(struct fd_ringbuffer * ring,struct CP_DRAW_INDX_OFFSET_0 * draw0,const struct pipe_draw_info * info,const struct pipe_draw_start_count_bias * draw,unsigned index_offset) argument
134 fd6_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * info,unsigned drawid_offset,const struct pipe_draw_indirect_info * indirect,const struct pipe_draw_start_count_bias * draw,unsigned index_offset) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_draw.h146 const struct pipe_draw_start_count_bias *draw, unsigned index_offset)
159 idx_offset = index_offset + draw->start * info->index_size;
143 fd_draw_emit(struct fd_batch * batch,struct fd_ringbuffer * ring,enum pc_di_primtype primtype,enum pc_di_vis_cull_mode vismode,const struct pipe_draw_info * info,const struct pipe_draw_start_count_bias * draw,unsigned index_offset) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_draw.c83 struct fd_ringbuffer *ring, unsigned index_offset, bool binning)
138 vismode, info, index_offset);
155 unsigned index_offset)
194 draw_impl(ctx, &info, ctx->batch->draw, index_offset, false);
195 draw_impl(ctx, &info, ctx->batch->binning, index_offset, true);
202 draw_impl(ctx, pinfo, ctx->batch->draw, index_offset, false);
203 draw_impl(ctx, pinfo, ctx->batch->binning, index_offset, true);
82 draw_impl(struct fd_context * ctx,const struct pipe_draw_info * info,struct fd_ringbuffer * ring,unsigned index_offset,bool binning) argument
154 fd2_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * pinfo,unsigned index_offset) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_draw.c82 unsigned index_offset, bool binning) assert_dt
140 vismode, info, draw, index_offset);
159 unsigned index_offset) assert_dt
204 draw_impl(ctx, pinfo, &draw, ctx->batch->draw, index_offset, false);
205 draw_impl(ctx, pinfo, &draw, ctx->batch->binning, index_offset, true);
212 draw_impl(ctx, pinfo, pdraw, ctx->batch->draw, index_offset, false);
213 draw_impl(ctx, pinfo, pdraw, ctx->batch->binning, index_offset, true);
80 draw_impl(struct fd_context * ctx,const struct pipe_draw_info * info,const struct pipe_draw_start_count_bias * draw,struct fd_ringbuffer * ring,unsigned index_offset,bool binning) argument
155 fd2_draw_vbo(struct fd_context * ctx,const struct pipe_draw_info * pinfo,unsigned drawid_offset,const struct pipe_draw_indirect_info * indirect,const struct pipe_draw_start_count_bias * pdraw,unsigned index_offset) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_context.c187 unsigned index_offset = 0; local in function:etna_draw_vbo
193 !util_upload_index_buffer(pctx, info, &indexbuf, &index_offset)) {
198 index_offset += info->start * info->index_size;
201 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.offset = index_offset;

Completed in 36 milliseconds

123