Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/mesa/src/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()
/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()
/external/chromium_org/third_party/mesa/src/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 …]
/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/libelf/
Delf_getarsym.c179 size_t index_size = atol (tmpbuf); local
181 if (SARMAG + sizeof (struct ar_hdr) + index_size > elf->maximum_size
182 || n * sizeof (uint32_t) > index_size)
202 ar_sym_len += index_size - n * sizeof (uint32_t);
224 index_size - n * sizeof (uint32_t),
228 != index_size - n * sizeof (uint32_t)))
/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()
/external/chromium_org/third_party/mesa/src/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()
/external/chromium_org/third_party/mesa/src/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/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()
/external/chromium_org/third_party/mesa/src/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()
/external/chromium_org/chrome/browser/safe_browsing/
Dprefix_set.cc28 uint32 index_size; member
176 const size_t index_bytes = sizeof(index[0]) * header.index_size; in LoadFile()
196 if (header.index_size) { in LoadFile()
197 index.resize(header.index_size); in LoadFile()
236 header.index_size = static_cast<uint32>(index_.size()); in WriteFile()
240 if (static_cast<size_t>(header.index_size) != index_.size() || in WriteFile()
/external/elfutils/src/
Dranlib.c204 size_t index_size = 0; in handle_file() local
217 index_size = arhdr->ar_size; in handle_file()
240 || (symtab.symsnamelen == 0 && index_size != 0)) in handle_file()
272 + ((index_size + 1) & ~1ul)); in handle_file()
/external/chromium_org/third_party/mesa/src/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()
/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()
/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()
/external/chromium/chrome/browser/safe_browsing/
Dprefix_set.cc28 uint32 index_size; member
178 const size_t index_bytes = sizeof(index[0]) * header.index_size; in LoadFile()
197 index.resize(header.index_size); in LoadFile()
229 header.index_size = static_cast<uint32>(index_.size()); in WriteFile()
233 if (static_cast<size_t>(header.index_size) != index_.size() || in WriteFile()
/external/chromium_org/third_party/mesa/src/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()
/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/chromium_org/third_party/mesa/src/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 …]

1234