Home
last modified time | relevance | path

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

123

/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()
Dvbo.h80 GLuint min_index,
106 GLuint min_index,
122 GLuint min_index,
146 GLuint *min_index, GLuint *max_index, GLuint nr_prims);
Dvbo_exec_array.c90 GLuint *min_index, GLuint *max_index, in vbo_get_minmax_index() argument
125 *min_index = min_ui; in vbo_get_minmax_index()
147 *min_index = min_us; in vbo_get_minmax_index()
169 *min_index = min_ub; in vbo_get_minmax_index()
190 GLuint *min_index, in vbo_get_minmax_indices() argument
198 *min_index = ~0; in vbo_get_minmax_indices()
213 *min_index = MIN2(*min_index, tmp_min); in vbo_get_minmax_indices()
558 GLuint min_index, in vbo_handle_primitive_restart() argument
571 index_bounds_valid, min_index, max_index, NULL); in vbo_handle_primitive_restart()
/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/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-trace/catapult/tracing/tracing_build/
Dupdate_gypi.py40 min_index, end_index, matched_token = self._ProcessMatch(m)
42 if min_index > 0:
43 yield _Token(rest[:min_index])
72 min_index = match.start(2)
74 token = _Token(match.string[min_index:end_index],
76 return min_index, end_index, token
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
Dstrip_js_comments.py31 min_index = m.start()
34 if min_index > 0:
35 yield rest[:min_index]
37 yield rest[min_index:end_index]
/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()
Du_vbuf.c263 int start_index, unsigned num_indices, int min_index, in u_vbuf_translate_buffers() argument
299 map -= vb->stride * min_index; in u_vbuf_translate_buffers()
421 int start_index, unsigned num_indices, int min_index, in u_vbuf_translate_begin() argument
526 start_index, num_indices, min_index, in u_vbuf_translate_begin()
999 int start_vertex, min_index; in u_vbuf_draw_vbo() local
1025 min_index = info->min_index; in u_vbuf_draw_vbo()
1029 &min_index, &max_index); in u_vbuf_draw_vbo()
1032 assert(min_index <= max_index); in u_vbuf_draw_vbo()
1034 start_vertex = min_index + info->index_bias; in u_vbuf_draw_vbo()
1035 num_vertices = max_index + 1 - min_index; in u_vbuf_draw_vbo()
[all …]
/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()
Dst_draw.h56 GLuint min_index,
66 GLuint min_index,
/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,
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()
Dsvga_pipe_draw.c223 unsigned min_index, in retry_draw_range_elements() argument
240 ret = svga_upload_user_buffers( svga, min_index + index_bias, in retry_draw_range_elements()
241 max_index - min_index + 1, instance_count ); in retry_draw_range_elements()
251 min_index, max_index, in retry_draw_range_elements()
265 min_index, max_index, in retry_draw_range_elements()
388 info->min_index, in svga_draw_vbo()
Dsvga_draw.c244 vdecl[i].rangeHint.first = hwtnl->cmd.min_index[0]; in svga_hwtnl_flush()
292 unsigned min_index, in svga_hwtnl_prim() argument
312 assert(min_index <= max_index); in svga_hwtnl_prim()
431 hwtnl->cmd.min_index[hwtnl->cmd.prim_count] = min_index; in svga_hwtnl_prim()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c414 GLuint min_index, in brw_try_draw_prims() argument
450 brw->vb.min_index = min_index; in brw_try_draw_prims()
542 GLuint min_index, in brw_draw_prims() argument
559 vbo_get_minmax_indices(ctx, prim, ib, &min_index, &max_index, nr_prims); in brw_draw_prims()
564 if (min_index != 0 && !vbo_any_varyings_in_vbos(arrays)) { in brw_draw_prims()
567 ib, min_index, max_index, in brw_draw_prims()
581 _tnl_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index); in brw_draw_prims()
589 brw_try_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index); in brw_draw_prims()
Dbrw_draw_upload.c361 unsigned int min_index = brw->vb.min_index; in brw_prepare_vertices() local
383 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index); in brw_prepare_vertices()
483 delta = min_index; in brw_prepare_vertices()
489 min_index = delta = 0; in brw_prepare_vertices()
498 copy_array_to_vbo_array(brw, upload[0], min_index, max_index, in brw_prepare_vertices()
517 copy_array_to_vbo_array(brw, upload[i], min_index, max_index, in brw_prepare_vertices()
Dbrw_draw.h42 GLuint min_index,
/external/mesa3d/src/mesa/tnl/
Dt_draw.c415 GLuint min_index, in _tnl_vbo_draw_prims() argument
422 vbo_get_minmax_indices(ctx, prim, ib, &min_index, &max_index, nr_prims); in _tnl_vbo_draw_prims()
424 _tnl_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index); in _tnl_vbo_draw_prims()
436 GLuint min_index, in _tnl_draw_prims() argument
456 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index); in _tnl_draw_prims()
464 if (min_index) { in _tnl_draw_prims()
468 min_index, max_index, in _tnl_draw_prims()
Dtnl.h84 GLuint min_index,
93 GLuint min_index,
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddsp_helper.cc105 size_t min_index = 0; in PeakDetection() local
120 min_index = (peak_index[i] > 2) ? (peak_index[i] - 2) : 0; in PeakDetection()
144 memset(&data[min_index], 0, in PeakDetection()
145 sizeof(data[0]) * (max_index - min_index + 1)); in PeakDetection()

123