Searched defs:index_size (Results 1 - 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_render_translate.c31 unsigned *index_size, unsigned index_offset,
37 switch (*index_size) {
47 *index_size = 2;
28 r300_translate_index_buffer(struct r300_context *r300, struct pipe_index_buffer *ib, struct pipe_resource **out_buffer, unsigned *index_size, unsigned index_offset, unsigned *start, unsigned count) argument
H A Dr300_screen_buffer.c37 unsigned index_size, unsigned *start,
45 0, count * index_size,
46 ptr + (*start * index_size),
50 *start = index_offset / index_size;
35 r300_upload_index_buffer(struct r300_context *r300, struct pipe_resource **index_buffer, unsigned index_size, unsigned *start, unsigned count, const uint8_t *ptr) argument
H A Dr300_render.c514 unsigned index_size = r300->index_buffer.index_size; local
515 unsigned i, count_dwords = index_size == 4 ? info->count :
530 switch (index_size) {
598 unsigned indexSize = r300->index_buffer.index_size;
823 info.start += r300->index_buffer.offset / r300->index_buffer.index_size;
/external/elfutils/libelf/
H A Delf_getarsym.c184 size_t index_size = atol (tmpbuf); local
186 if (index_size > elf->maximum_size
187 || elf->maximum_size - index_size < SARMAG + sizeof (struct ar_hdr)
191 || n > index_size / w)
218 ar_sym_len += index_size - n * w;
235 index_size - sz, off + sz)
236 != index_size - sz))
/external/elfutils/src/
H A Dranlib.c192 size_t index_size = 0; local
205 index_size = arhdr->ar_size;
228 || (symtab.symsnamelen == 0 && index_size != 0))
260 + ((index_size + 1) & ~1ul));
H A Dar.c479 size_t index_size = 0; local
518 index_size = arhdr->ar_size;
765 || (symtab.symsnamelen == 0 && index_size != 0))
795 + ((index_size + 1) & ~1ul));
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_push.c201 unsigned i, index_size; local
234 index_size = nv30->idxbuf.index_size;
239 index_size = 0;
256 switch (index_size) {
H A Dnv30_vbo.c456 const unsigned index_size = nv30->idxbuf.index_size; local
469 if (eng3d->oclass == NV40_3D_CLASS && index_size > 1 &&
480 (index_size == 2) ? 0x00000010 : 0x00000000,
518 switch (index_size) {
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_push.c212 unsigned i, index_size; local
248 index_size = nv50->idxbuf.index_size;
264 index_size = 0;
286 switch (index_size) {
H A Dnv50_vbo.c569 const unsigned index_size = nv50->idxbuf.index_size; local
585 start += ((buf->offset + nv50->idxbuf.offset) & 3) >> (index_size >> 1);
595 switch (index_size) {
612 assert(index_size == 1);
635 switch (index_size) {
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_draw_arrays.c44 unsigned index_size,
50 unsigned size = index_size * nr;
42 generate_indices( struct svga_hwtnl *hwtnl, unsigned nr, unsigned index_size, u_generate_func generate, struct pipe_resource **out_buf ) argument
H A Dsvga_draw_elements.c45 unsigned index_size,
52 unsigned size = index_size * nr;
102 unsigned index_size,
114 unsigned index_offset = start * index_size;
124 assert( index_buffer->width0 >= index_offset + count * index_size );
129 count * index_size,
146 range.indexArray.stride = index_size;
147 range.indexWidth = index_size;
167 unsigned index_size,
181 index_size,
41 translate_indices( struct svga_hwtnl *hwtnl, struct pipe_resource *src, unsigned offset, unsigned nr, unsigned index_size, u_translate_func translate, struct pipe_resource **out_buf ) argument
100 svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, unsigned prim, unsigned start, unsigned count ) argument
165 svga_hwtnl_draw_range_elements( struct svga_hwtnl *hwtnl, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, unsigned prim, unsigned start, unsigned count) argument
[all...]
H A Dsvga_pipe_draw.c221 unsigned index_size,
250 index_buffer, index_size, index_bias,
264 index_buffer, index_size, index_bias,
381 assert(svga->curr.ib.offset % svga->curr.ib.index_size == 0);
382 offset = svga->curr.ib.offset / svga->curr.ib.index_size;
386 svga->curr.ib.index_size,
219 retry_draw_range_elements( struct svga_context *svga, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, unsigned prim, unsigned start, unsigned count, unsigned instance_count, boolean do_retry ) argument
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_push.c301 unsigned i, index_size; local
334 index_size = nvc0->idxbuf.index_size;
339 index_size = 0;
368 switch (index_size) {
H A Dnvc0_vbo.c518 PUSH_DATA (push, nvc0->idxbuf.index_size >> 1);
692 const unsigned index_size = nvc0->idxbuf.index_size; local
725 switch (index_size) {
H A Dnvc0_vbo_translate.c433 unsigned i, index_size; local
450 index_size = nvc0->idxbuf.index_size;
470 index_size = 0;
489 switch (index_size) {
500 assert(index_size == 0);
575 unsigned index_size = nvc0->idxbuf.index_size; local
579 if (!index_size || info->index_bias)
580 index_size
[all...]
/external/mesa3d/src/mesa/vbo/
H A Dvbo_exec_array.c95 const int index_size = vbo_sizeof_ib_type(ib->type); local
99 indices = (char *) ib->ptr + prim->start * index_size;
101 GLsizeiptr size = MIN2(count * index_size, ib->obj->Size);
/external/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_sse.c1059 unsigned index_size )
1069 if (!index_size || variant->instance_divisor) {
1124 if (!index_size && p->nr_buffer_variants == 1)
1142 unsigned index_size,
1150 if (!index_size && p->nr_buffer_variants == 1) {
1153 else if (!index_size || p->buffer_variant[var_idx].instance_divisor) {
1183 switch(index_size)
1211 unsigned index_size )
1213 if (!index_size && p->nr_buffer_variants == 1) {
1223 else if (!index_size) {
1141 get_buffer_ptr( struct translate_sse *p, unsigned index_size, unsigned var_idx, struct x86_reg elt ) argument
[all...]
/external/mesa3d/src/gallium/include/pipe/
H A Dp_state.h515 unsigned index_size; /**< size of an index, in bytes */ member in struct:pipe_index_buffer
/external/libunwind/include/
H A Ddwarf.h362 size_t index_size; member in struct:unw_debug_frame_list

Completed in 814 milliseconds