Home
last modified time | relevance | path

Searched refs:index_size (Results 1 – 25 of 50) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c45 unsigned index_size, in translate_indices() argument
52 unsigned size = index_size * nr; in translate_indices()
102 unsigned index_size, in svga_hwtnl_simple_draw_range_elements() argument
114 unsigned index_offset = start * index_size; in svga_hwtnl_simple_draw_range_elements()
124 assert( index_buffer->width0 >= index_offset + count * index_size ); in svga_hwtnl_simple_draw_range_elements()
129 count * index_size, in svga_hwtnl_simple_draw_range_elements()
146 range.indexArray.stride = index_size; in svga_hwtnl_simple_draw_range_elements()
147 range.indexWidth = index_size; in svga_hwtnl_simple_draw_range_elements()
167 unsigned index_size, in svga_hwtnl_draw_range_elements() argument
181 index_size, in svga_hwtnl_draw_range_elements()
[all …]
Dsvga_pipe_draw.c221 unsigned index_size, in retry_draw_range_elements() argument
250 index_buffer, index_size, index_bias, in retry_draw_range_elements()
264 index_buffer, index_size, index_bias, in retry_draw_range_elements()
381 assert(svga->curr.ib.offset % svga->curr.ib.index_size == 0); in svga_draw_vbo()
382 offset = svga->curr.ib.offset / svga->curr.ib.index_size; in svga_draw_vbo()
386 svga->curr.ib.index_size, in svga_draw_vbo()
Dsvga_draw_arrays.c44 unsigned index_size, in generate_indices() argument
50 unsigned size = index_size * nr; in generate_indices()
Dsvga_draw.h71 unsigned index_size,
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_vbo_translate.c433 unsigned i, index_size; in nvc0_push_vbo() local
450 index_size = nvc0->idxbuf.index_size; in nvc0_push_vbo()
470 index_size = 0; in nvc0_push_vbo()
489 switch (index_size) { in nvc0_push_vbo()
500 assert(index_size == 0); in nvc0_push_vbo()
575 unsigned index_size = nvc0->idxbuf.index_size; in nvc0_push_upload_vertex_ids() local
579 if (!index_size || info->index_bias) in nvc0_push_upload_vertex_ids()
580 index_size = 4; in nvc0_push_upload_vertex_ids()
582 info->count * index_size, &va, &bo); in nvc0_push_upload_vertex_ids()
590 memcpy(data, ctx->idxbuf, info->count * index_size); in nvc0_push_upload_vertex_ids()
[all …]
Dnvc0_push.c301 unsigned i, index_size; in nvc0_push_vbo() local
334 index_size = nvc0->idxbuf.index_size; in nvc0_push_vbo()
339 index_size = 0; in nvc0_push_vbo()
368 switch (index_size) { in nvc0_push_vbo()
/external/elfutils/src/libelf/
Delf_getarsym.c183 size_t index_size = atol (tmpbuf); local
185 if (index_size > elf->maximum_size
186 || elf->maximum_size - index_size < SARMAG + sizeof (struct ar_hdr)
190 || n > index_size / w)
215 ar_sym_len += index_size - n * w;
232 index_size - sz, off + sz)
233 != index_size - sz))
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render_translate.c31 unsigned *index_size, unsigned index_offset, in r300_translate_index_buffer() argument
37 switch (*index_size) { in r300_translate_index_buffer()
47 *index_size = 2; in r300_translate_index_buffer()
Dr300_screen_buffer.c37 unsigned index_size, unsigned *start, in r300_upload_index_buffer() argument
45 0, count * index_size, in r300_upload_index_buffer()
46 ptr + (*start * index_size), in r300_upload_index_buffer()
50 *start = index_offset / index_size; in r300_upload_index_buffer()
Dr300_screen_buffer.h41 unsigned index_size, unsigned *start,
/external/elfutils/src/src/
Dranlib.c196 size_t index_size = 0; in handle_file() local
209 index_size = arhdr->ar_size; in handle_file()
232 || (symtab.symsnamelen == 0 && index_size != 0)) in handle_file()
264 + ((index_size + 1) & ~1ul)); in handle_file()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_translate.c39 switch (ib->index_size) { in r600_translate_index_buffer()
50 ib->index_size = 2; in r600_translate_index_buffer()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_translate.c39 switch (ib->index_size) { in r600_translate_index_buffer()
50 ib->index_size = 2; in r600_translate_index_buffer()
Dsi_state_draw.c476 if (ib->index_size == 4) { in si_state_draw()
497 rctx->index_buffer.index_size); in si_state_draw()
534 ib.index_size = rctx->index_buffer.index_size; in si_draw_vbo()
535 ib.offset = rctx->index_buffer.offset + info->start * ib.index_size; in si_draw_vbo()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_push.c201 unsigned i, index_size; in nv30_push_vbo() local
234 index_size = nv30->idxbuf.index_size; in nv30_push_vbo()
239 index_size = 0; in nv30_push_vbo()
256 switch (index_size) { in nv30_push_vbo()
Dnv30_vbo.c456 const unsigned index_size = nv30->idxbuf.index_size; in nv30_draw_elements() local
469 if (eng3d->oclass == NV40_3D_CLASS && index_size > 1 && in nv30_draw_elements()
480 (index_size == 2) ? 0x00000010 : 0x00000000, in nv30_draw_elements()
518 switch (index_size) { in nv30_draw_elements()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_push.c212 unsigned i, index_size; in nv50_push_vbo() local
248 index_size = nv50->idxbuf.index_size; in nv50_push_vbo()
264 index_size = 0; in nv50_push_vbo()
286 switch (index_size) { in nv50_push_vbo()
Dnv50_vbo.c569 const unsigned index_size = nv50->idxbuf.index_size; in nv50_draw_elements() local
585 start += ((buf->offset + nv50->idxbuf.offset) & 3) >> (index_size >> 1); in nv50_draw_elements()
595 switch (index_size) { in nv50_draw_elements()
612 assert(index_size == 1); in nv50_draw_elements()
635 switch (index_size) { in nv50_draw_elements()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c1059 unsigned index_size ) in init_inputs() argument
1069 if (!index_size || variant->instance_divisor) { in init_inputs()
1124 if (!index_size && p->nr_buffer_variants == 1) in init_inputs()
1142 unsigned index_size, in get_buffer_ptr() argument
1150 if (!index_size && p->nr_buffer_variants == 1) { in get_buffer_ptr()
1153 else if (!index_size || p->buffer_variant[var_idx].instance_divisor) { in get_buffer_ptr()
1183 switch(index_size) in get_buffer_ptr()
1211 unsigned index_size ) in incr_inputs() argument
1213 if (!index_size && p->nr_buffer_variants == 1) { in incr_inputs()
1223 else if (!index_size) { in incr_inputs()
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_basic_array.cpp139 CFX_BaseSegmentedArray::CFX_BaseSegmentedArray(int unit_size, int segment_units, int index_size) in CFX_BaseSegmentedArray() argument
142 , m_IndexSize(index_size) in CFX_BaseSegmentedArray()
148 void CFX_BaseSegmentedArray::SetUnitSize(int unit_size, int segment_units, int index_size) in SetUnitSize() argument
153 m_IndexSize = index_size; in SetUnitSize()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c217 ibuffer.index_size = vbo_sizeof_ib_type(ib->type); in st_feedback_draw_vbo()
218 if (ibuffer.index_size == 0) in st_feedback_draw_vbo()
237 ibuffer.index_size); in st_feedback_draw_vbo()
Dst_draw.c98 ibuffer->index_size = vbo_sizeof_ib_type(ib->type); in setup_index_buffer()
108 ib->count * ibuffer->index_size, ib->ptr, in setup_index_buffer()
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
Dd3d11u.h94 const void* indices = 0, unsigned index_size = 0, unsigned num_indices = 0)
95 …: topology(topology), vertex_size(vertex_size), draw_count(index_size ? num_indices : num_vertices) in topology()
98 if(index_size == 2) in topology()
100 else if(index_size == 4) in topology()
117 memcpy(data + index_offset, indices, index_size * num_indices); in topology()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c310 unsigned offset = ib->offset + start_index * ib->index_size; in u_vbuf_translate_buffers()
313 assert((ib->buffer || ib->user_buffer) && ib->index_size); in u_vbuf_translate_buffers()
327 num_indices * ib->index_size, in u_vbuf_translate_buffers()
331 switch (ib->index_size) { in u_vbuf_translate_buffers()
778 assert(ib->offset % ib->index_size == 0); in u_vbuf_set_index_buffer()
910 ib->offset + info->start * ib->index_size; in u_vbuf_get_minmax_index()
913 ib->offset + info->start * ib->index_size, in u_vbuf_get_minmax_index()
914 info->count * ib->index_size, in u_vbuf_get_minmax_index()
918 switch (ib->index_size) { in u_vbuf_get_minmax_index()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_draw_arrays.c84 lp->index_buffer.index_size); in llvmpipe_draw_vbo()

12