/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_elements.c | 45 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 …]
|
D | svga_pipe_draw.c | 221 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()
|
D | svga_draw_arrays.c | 44 unsigned index_size, in generate_indices() argument 50 unsigned size = index_size * nr; in generate_indices()
|
D | svga_draw.h | 71 unsigned index_size,
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_vbo_translate.c | 433 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 …]
|
D | nvc0_push.c | 301 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/libelf/ |
D | elf_getarsym.c | 184 size_t index_size = atol (tmpbuf); in elf_getarsym() local 186 if (index_size > elf->maximum_size in elf_getarsym() 187 || elf->maximum_size - index_size < SARMAG + sizeof (struct ar_hdr) in elf_getarsym() 191 || n > index_size / w) in elf_getarsym() 218 ar_sym_len += index_size - n * w; in elf_getarsym() 235 index_size - sz, off + sz) in elf_getarsym() 236 != index_size - sz)) in elf_getarsym()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_render_translate.c | 31 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()
|
D | r300_screen_buffer.c | 37 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()
|
D | r300_screen_buffer.h | 41 unsigned index_size, unsigned *start,
|
/external/elfutils/src/ |
D | ranlib.c | 192 size_t index_size = 0; in handle_file() local 205 index_size = arhdr->ar_size; in handle_file() 228 || (symtab.symsnamelen == 0 && index_size != 0)) in handle_file() 260 + ((index_size + 1) & ~1ul)); in handle_file()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_translate.c | 39 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/ |
D | r600_translate.c | 39 switch (ib->index_size) { in r600_translate_index_buffer() 50 ib->index_size = 2; in r600_translate_index_buffer()
|
D | si_state_draw.c | 476 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/ |
D | nv30_push.c | 201 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()
|
D | nv30_vbo.c | 456 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/ |
D | nv50_push.c | 212 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()
|
D | nv50_vbo.c | 569 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/ |
D | translate_sse.c | 1059 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/ |
D | fx_basic_array.cpp | 139 int index_size) in CFX_BaseSegmentedArray() argument 142 m_IndexSize(index_size), in CFX_BaseSegmentedArray() 148 int index_size) { in SetUnitSize() argument 152 m_IndexSize = index_size; in SetUnitSize()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_draw_feedback.c | 217 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()
|
D | st_draw.c | 98 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/ |
D | d3d11u.h | 94 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/ |
D | u_vbuf.c | 310 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/ |
D | lp_draw_arrays.c | 84 lp->index_buffer.index_size); in llvmpipe_draw_vbo()
|