Home
last modified time | relevance | path

Searched refs:min_index (Results 1 – 25 of 101) sorted by relevance

12345

/external/chromium_org/third_party/mesa/src/src/mesa/vbo/
Dvbo_rebase.c59 TYPE min_index ) \
66 tmp_indices[i] = in[i] - min_index; \
123 GLuint min_index, in vbo_rebase_prims() argument
136 assert(min_index != 0); in vbo_rebase_prims()
139 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index); in vbo_rebase_prims()
153 tmp_prims[i].basevertex -= min_index; in vbo_rebase_prims()
175 tmp_indices = rebase_GLuint( ptr, ib->count, min_index ); in vbo_rebase_prims()
178 tmp_indices = rebase_GLushort( ptr, ib->count, min_index ); in vbo_rebase_prims()
181 tmp_indices = rebase_GLubyte( ptr, ib->count, min_index ); in vbo_rebase_prims()
203 assert(prim[i].start >= min_index); in vbo_rebase_prims()
[all …]
Dvbo_split_inplace.c49 GLuint min_index; member
76 ib.count = split->max_index - split->min_index + 1; in flush_vertex()
78 split->min_index * _mesa_sizeof_type(ib.type)); in flush_vertex()
82 split->dstprim[i].start -= split->min_index; in flush_vertex()
85 assert(split->max_index >= split->min_index); in flush_vertex()
95 split->min_index, in flush_vertex()
103 split->min_index = ~0; in flush_vertex()
124 split->min_index = MIN2(split->min_index, prim->start); in update_index_bounds()
135 if ((prim->start > split->min_index && in get_max_vertices()
136 prim->start - split->min_index >= split->limit) || in get_max_vertices()
[all …]
Dvbo_split.c106 GLuint min_index, in vbo_split_prims() argument
131 else if (max_index - min_index >= limits->max_verts) { in vbo_split_prims()
146 min_index, max_index, draw, limits ); in vbo_split_prims()
154 if (max_index - min_index >= limits->max_verts) { in vbo_split_prims()
160 min_index, max_index, draw, limits ); in vbo_split_prims()
Dvbo_primitive_restart.c68 GLuint min_index; member
104 sub_prims[scan_num].min_index = (GL##TYPE) 0xffffffff; \ in find_sub_primitives()
114 sub_prims[scan_num].min_index = (GL##TYPE) 0xffffffff; \ in find_sub_primitives()
121 UPDATE_MIN2(sub_prims[scan_num].min_index, scan_index); \ in find_sub_primitives()
215 GL_TRUE, sub_prim->min_index, sub_prim->max_index, in vbo_sw_primitive_restart()
/external/mesa3d/src/mesa/vbo/
Dvbo_rebase.c59 TYPE min_index ) \
66 tmp_indices[i] = in[i] - min_index; \
123 GLuint min_index, in vbo_rebase_prims() argument
136 assert(min_index != 0); in vbo_rebase_prims()
139 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index); in vbo_rebase_prims()
153 tmp_prims[i].basevertex -= min_index; in vbo_rebase_prims()
175 tmp_indices = rebase_GLuint( ptr, ib->count, min_index ); in vbo_rebase_prims()
178 tmp_indices = rebase_GLushort( ptr, ib->count, min_index ); in vbo_rebase_prims()
181 tmp_indices = rebase_GLubyte( ptr, ib->count, min_index ); in vbo_rebase_prims()
203 assert(prim[i].start >= min_index); in vbo_rebase_prims()
[all …]
Dvbo_split_inplace.c49 GLuint min_index; member
76 ib.count = split->max_index - split->min_index + 1; in flush_vertex()
78 split->min_index * _mesa_sizeof_type(ib.type)); in flush_vertex()
82 split->dstprim[i].start -= split->min_index; in flush_vertex()
85 assert(split->max_index >= split->min_index); in flush_vertex()
95 split->min_index, in flush_vertex()
103 split->min_index = ~0; in flush_vertex()
124 split->min_index = MIN2(split->min_index, prim->start); in update_index_bounds()
135 if ((prim->start > split->min_index && in get_max_vertices()
136 prim->start - split->min_index >= split->limit) || in get_max_vertices()
[all …]
Dvbo_split.c106 GLuint min_index, in vbo_split_prims() argument
131 else if (max_index - min_index >= limits->max_verts) { in vbo_split_prims()
146 min_index, max_index, draw, limits ); in vbo_split_prims()
154 if (max_index - min_index >= limits->max_verts) { in vbo_split_prims()
160 min_index, max_index, draw, limits ); in vbo_split_prims()
Dvbo_primitive_restart.c68 GLuint min_index; member
104 sub_prims[scan_num].min_index = (GL##TYPE) 0xffffffff; \ in find_sub_primitives()
114 sub_prims[scan_num].min_index = (GL##TYPE) 0xffffffff; \ in find_sub_primitives()
121 UPDATE_MIN2(sub_prims[scan_num].min_index, scan_index); \ in find_sub_primitives()
215 GL_TRUE, sub_prim->min_index, sub_prim->max_index, in vbo_sw_primitive_restart()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit_tmp.h42 const unsigned min_index = draw->pt.user.min_index; in CONCAT() local
52 if (min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0])) { in CONCAT()
58 if (idx < min_index || idx > max_index) { in CONCAT()
71 if (max_index - min_index > icount - 1) in CONCAT()
74 if (elt_bias < 0 && min_index < -elt_bias) in CONCAT()
83 fetch_start = min_index + elt_bias; in CONCAT()
84 fetch_count = max_index - min_index + 1; in CONCAT()
87 if (min_index == 0) { in CONCAT()
91 if (idx < min_index || idx > max_index) { in CONCAT()
101 if (idx < min_index || idx > max_index) { in CONCAT()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit_tmp.h42 const unsigned min_index = draw->pt.user.min_index; in CONCAT() local
52 if (min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0])) { in CONCAT()
58 if (idx < min_index || idx > max_index) { in CONCAT()
71 if (max_index - min_index > icount - 1) in CONCAT()
74 if (elt_bias < 0 && min_index < -elt_bias) in CONCAT()
83 fetch_start = min_index + elt_bias; in CONCAT()
84 fetch_count = max_index - min_index + 1; in CONCAT()
87 if (min_index == 0) { in CONCAT()
91 if (idx < min_index || idx > max_index) { in CONCAT()
101 if (idx < min_index || idx > max_index) { in CONCAT()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_vbo_t.c224 GLuint min_index, GLuint max_index,
231 GLuint min_index, GLuint max_index) in vbo_maybe_split() argument
248 if (max_index - min_index > vert_avail || in vbo_maybe_split()
256 vbo_split_prims(ctx, arrays, prims, nr_prims, ib, min_index, in vbo_maybe_split()
289 int base, unsigned min_index, unsigned max_index, int *pdelta) in vbo_bind_vertices() argument
305 unsigned delta = (base + min_index) * array->StrideB; in vbo_bind_vertices()
315 int n = max_index - min_index + 1; in vbo_bind_vertices()
332 *pdelta -= min_index; in vbo_bind_vertices()
358 const struct _mesa_index_buffer *ib, GLuint min_index, in vbo_draw_vbo() argument
375 vbo_bind_vertices(ctx, arrays, basevertex, min_index, in vbo_draw_vbo()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
Dnouveau_vbo_t.c224 GLuint min_index, GLuint max_index,
231 GLuint min_index, GLuint max_index) in vbo_maybe_split() argument
248 if (max_index - min_index > vert_avail || in vbo_maybe_split()
256 vbo_split_prims(ctx, arrays, prims, nr_prims, ib, min_index, in vbo_maybe_split()
289 int base, unsigned min_index, unsigned max_index, int *pdelta) in vbo_bind_vertices() argument
305 unsigned delta = (base + min_index) * array->StrideB; in vbo_bind_vertices()
315 int n = max_index - min_index + 1; in vbo_bind_vertices()
332 *pdelta -= min_index; in vbo_bind_vertices()
358 const struct _mesa_index_buffer *ib, GLuint min_index, in vbo_draw_vbo() argument
375 vbo_bind_vertices(ctx, arrays, basevertex, min_index, in vbo_draw_vbo()
[all …]
/external/chromium_org/net/base/
Dnet_log_unittest.h114 int min_index, // Negative indices are reverse indices. in LogContainsEntryWithTypeAfter() argument
117 size_t real_index = (min_index < 0) ? in LogContainsEntryWithTypeAfter()
118 static_cast<size_t>(static_cast<int>(entries.size()) + min_index) : in LogContainsEntryWithTypeAfter()
119 static_cast<size_t>(min_index); in LogContainsEntryWithTypeAfter()
133 size_t min_index, in ExpectLogContainsSomewhere() argument
144 EXPECT_GE(i, min_index); in ExpectLogContainsSomewhere()
153 size_t min_index, in ExpectLogContainsSomewhereAfter() argument
156 size_t i = min_index; in ExpectLogContainsSomewhereAfter()
/external/chromium_org/tools/json_comment_eater/
Djson_comment_eater.py24 min_index, min_key = (-1, None)
27 if index != -1 and (min_index == -1 or index < min_index):
28 min_index, min_key = (index, k)
29 return (min_index, min_key)
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_draw.h60 info.min_index = start; in util_draw_arrays()
96 info.min_index = start; in util_draw_arrays_instanced()
126 uint min_index, in util_draw_range_elements() argument
138 info.min_index = min_index; in util_draw_range_elements()
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.h60 info.min_index = start; in util_draw_arrays()
96 info.min_index = start; in util_draw_arrays_instanced()
126 uint min_index, in util_draw_range_elements() argument
138 info.min_index = min_index; in util_draw_range_elements()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_draw.c195 GLuint min_index, in st_draw_vbo() argument
229 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, in st_draw_vbo()
238 if (min_index != ~0 && max_index != ~0) { in st_draw_vbo()
239 info.min_index = min_index; in st_draw_vbo()
266 info.min_index = info.start; in st_draw_vbo()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c195 GLuint min_index, in st_draw_vbo() argument
229 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, in st_draw_vbo()
238 if (min_index != ~0 && max_index != ~0) { in st_draw_vbo()
239 info.min_index = min_index; in st_draw_vbo()
266 info.min_index = info.start; in st_draw_vbo()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c104 unsigned min_index, in svga_hwtnl_simple_draw_range_elements() argument
150 ret = svga_hwtnl_prim( hwtnl, &range, min_index, max_index, index_buffer ); in svga_hwtnl_simple_draw_range_elements()
169 unsigned min_index, in svga_hwtnl_draw_range_elements() argument
210 min_index, in svga_hwtnl_draw_range_elements()
238 min_index, in svga_hwtnl_draw_range_elements()
Dsvga_draw_private.h110 unsigned min_index[QSZ]; member
151 unsigned min_index,
160 unsigned min_index,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_draw_elements.c104 unsigned min_index, in svga_hwtnl_simple_draw_range_elements() argument
150 ret = svga_hwtnl_prim( hwtnl, &range, min_index, max_index, index_buffer ); in svga_hwtnl_simple_draw_range_elements()
169 unsigned min_index, in svga_hwtnl_draw_range_elements() argument
210 min_index, in svga_hwtnl_draw_range_elements()
238 min_index, in svga_hwtnl_draw_range_elements()
Dsvga_draw_private.h110 unsigned min_index[QSZ]; member
151 unsigned min_index,
160 unsigned min_index,
Dsvga_swtnl_backend.c145 ushort min_index, in svga_vbuf_render_unmap_vertices() argument
153 offset = svga_render->vbuf_offset + svga_render->vertex_size * min_index; in svga_vbuf_render_unmap_vertices()
154 length = svga_render->vertex_size * (max_index + 1 - min_index); in svga_vbuf_render_unmap_vertices()
159 svga_render->min_index = min_index; in svga_vbuf_render_unmap_vertices()
297 svga_render->min_index, in svga_vbuf_render_draw_elements()
307 svga_render->min_index, in svga_vbuf_render_draw_elements()
/external/chromium_org/components/domain_reliability/
Dscheduler.cc228 size_t min_index = kInvalidCollectorIndex; in GetNextUploadTimeAndCollector() local
235 min_index = i; in GetNextUploadTimeAndCollector()
238 } else if (min_index == kInvalidCollectorIndex || in GetNextUploadTimeAndCollector()
241 min_index = i; in GetNextUploadTimeAndCollector()
245 DCHECK_NE(kInvalidCollectorIndex, min_index); in GetNextUploadTimeAndCollector()
247 *collector_index_out = min_index; in GetNextUploadTimeAndCollector()
/external/qemu/block/
Dqcow2-cluster.c106 int min_index, i; in l2_cache_new_entry() local
109 min_index = 0; in l2_cache_new_entry()
114 min_index = i; in l2_cache_new_entry()
117 return min_index; in l2_cache_new_entry()
164 int min_index; in l2_load() local
176 min_index = l2_cache_new_entry(bs); in l2_load()
177 *l2_table = s->l2_cache + (min_index << s->l2_bits); in l2_load()
186 s->l2_cache_offsets[min_index] = l2_offset; in l2_load()
187 s->l2_cache_counts[min_index] = 1; in l2_load()
232 int min_index; in l2_allocate() local
[all …]

12345