/external/mesa3d/src/mesa/vbo/ |
D | vbo_split_inplace.c | 50 GLuint max_index; member 76 ib.count = split->max_index - split->min_index + 1; in flush_vertex() 85 assert(split->max_index >= split->min_index); in flush_vertex() 96 split->max_index, in flush_vertex() 104 split->max_index = 0; in flush_vertex() 125 split->max_index = MAX2(split->max_index, prim->start + prim->count - 1); in update_index_bounds() 137 (prim->start < split->max_index && in get_max_vertices() 138 split->max_index - prim->start >= split->limit)) in get_max_vertices() 270 GLuint max_index, in vbo_split_inplace() argument 286 split.max_index = 0; in vbo_split_inplace()
|
D | vbo_split.c | 107 GLuint max_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()
|
D | vbo_primitive_restart.c | 69 GLuint max_index; member 105 sub_prims[scan_num].max_index = 0; \ in find_sub_primitives() 115 sub_prims[scan_num].max_index = 0; \ in find_sub_primitives() 122 UPDATE_MAX2(sub_prims[scan_num].max_index, scan_index); \ in find_sub_primitives() 215 GL_TRUE, sub_prim->min_index, sub_prim->max_index, in vbo_sw_primitive_restart()
|
D | vbo.h | 81 GLuint max_index, 107 GLuint max_index, 123 GLuint max_index, 146 GLuint *min_index, GLuint *max_index, GLuint nr_prims);
|
D | vbo_rebase.c | 124 GLuint max_index, in vbo_rebase_prims() argument 139 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index); in vbo_rebase_prims() 239 max_index - min_index, in vbo_rebase_prims()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw.c | 51 unsigned max_index; in util_draw_max_index() local 54 max_index = ~0U - 1; in util_draw_max_index() 106 max_index = MIN2(max_index, buffer_max_index); in util_draw_max_index() 117 return max_index + 1; in util_draw_max_index()
|
D | u_draw.h | 47 info->max_index = 0xffffffff; in util_draw_init_info() 61 info.max_index = start + count - 1; in util_draw_arrays() 97 info.max_index = start + count - 1; in util_draw_arrays_instanced() 127 uint max_index, in util_draw_range_elements() argument 139 info.max_index = max_index; in util_draw_range_elements()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_vbo_t.c | 224 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() 257 max_index, TAG(vbo_render_prims), &limits); in vbo_maybe_split() 289 int base, unsigned min_index, unsigned max_index, int *pdelta) in vbo_bind_vertices() argument 315 int n = max_index - min_index + 1; in vbo_bind_vertices() 359 GLuint max_index) in vbo_draw_vbo() argument 376 max_index, &delta); in vbo_draw_vbo() 409 GLuint max_index) in vbo_draw_imm() argument 455 GLuint min_index, GLuint max_index, in TAG() [all …]
|
/external/vixl/test/ |
D | test-invalset.cc | 195 int max_index = 100 * kNPreallocatedElements; in TEST() local 196 for (int i = 0; i <= max_index; i++) { in TEST() 201 VIXL_CHECK(set.min_element() == Obj(-max_index, max_index)); in TEST() 205 VIXL_CHECK(set.min_element() == Obj(-max_index, max_index)); in TEST() 207 VIXL_CHECK(set.min_element() == Obj(-(max_index - 2), max_index - 2)); in TEST()
|
/external/jemalloc/test/unit/ |
D | size_classes.c | 29 index_t index, max_index; in TEST_BEGIN() local 32 max_index = size2index(max_size_class); in TEST_BEGIN() 34 for (index = 0, size_class = index2size(index); index < max_index || in TEST_BEGIN() 37 assert_true(index < max_index, in TEST_BEGIN()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_draw.c | 196 GLuint max_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() 240 info.max_index = max_index; in st_draw_vbo() 267 info.max_index = info.start + info.count - 1; in st_draw_vbo()
|
D | st_draw.h | 57 GLuint max_index, 67 GLuint max_index,
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_elements.c | 105 unsigned max_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() 170 unsigned max_index, in svga_hwtnl_draw_range_elements() argument 211 max_index, in svga_hwtnl_draw_range_elements() 239 max_index, in svga_hwtnl_draw_range_elements()
|
D | svga_draw_private.h | 111 unsigned max_index[QSZ]; member 152 unsigned max_index, 161 unsigned max_index,
|
D | svga_swtnl_backend.c | 146 ushort max_index ) in svga_vbuf_render_unmap_vertices() argument 151 size_t used = svga_render->vertex_size * ((size_t)max_index + 1); in svga_vbuf_render_unmap_vertices() 154 length = svga_render->vertex_size * (max_index + 1 - min_index); in svga_vbuf_render_unmap_vertices() 160 svga_render->max_index = max_index; in svga_vbuf_render_unmap_vertices() 298 svga_render->max_index, in svga_vbuf_render_draw_elements() 308 svga_render->max_index, in svga_vbuf_render_draw_elements()
|
D | svga_pipe_draw.c | 224 unsigned max_index, in retry_draw_range_elements() argument 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() 389 info->max_index, in svga_draw_vbo()
|
D | svga_draw.c | 245 vdecl[i].rangeHint.last = hwtnl->cmd.max_index[0] + 1; in svga_hwtnl_flush() 293 unsigned max_index, in svga_hwtnl_prim() argument 312 assert(min_index <= max_index); in svga_hwtnl_prim() 432 hwtnl->cmd.max_index[hwtnl->cmd.prim_count] = max_index; in svga_hwtnl_prim()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_vsplit_tmp.h | 43 const unsigned max_index = draw->pt.user.max_index; in CONCAT() local 58 if (idx < min_index || idx > max_index) { in CONCAT() 71 if (max_index - min_index > icount - 1) in CONCAT() 84 fetch_count = max_index - min_index + 1; in CONCAT() 91 if (idx < min_index || idx > max_index) { in CONCAT() 101 if (idx < min_index || idx > max_index) { in CONCAT()
|
D | draw_pipe.c | 243 unsigned max_index = 0x0, i; in draw_pipeline_run() local 247 if (index > max_index) in draw_pipeline_run() 248 max_index = index; in draw_pipeline_run() 250 if (max_index >= vert_info->count) { in draw_pipeline_run() 253 max_index, in draw_pipeline_run()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen6_sol.c | 168 unsigned max_index = 0xffffffff; in brw_begin_transform_feedback() local 181 max_index = MIN2(max_index, max_for_this_buffer); in brw_begin_transform_feedback() 189 brw->sol.svbi_0_max_index = max_index; in brw_begin_transform_feedback()
|
D | brw_draw.c | 415 GLuint max_index ) in brw_try_draw_prims() argument 451 brw->vb.max_index = max_index; in brw_try_draw_prims() 543 GLuint max_index, in brw_draw_prims() argument 559 vbo_get_minmax_indices(ctx, prim, ib, &min_index, &max_index, nr_prims); 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()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_draw.c | 416 GLuint max_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() 437 GLuint max_index) in _tnl_draw_prims() argument 456 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index); in _tnl_draw_prims() 468 min_index, max_index, in _tnl_draw_prims() 472 else if ((GLint)max_index + max_basevertex > max) { in _tnl_draw_prims() 486 0, max_index + prim->basevertex, in _tnl_draw_prims() 519 bind_inputs(ctx, arrays, max_index + prim[i].basevertex + 1, in _tnl_draw_prims()
|
D | tnl.h | 85 GLuint max_index); 94 GLuint max_index,
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_render.c | 127 unsigned max_index) in r300_emit_draw_init() argument 131 assert(max_index < (1 << 24)); in r300_emit_draw_init() 137 OUT_CS(max_index); in r300_emit_draw_init() 439 unsigned max_index, in r300_emit_draw_elements() argument 451 "refusing to render (max_index: %i).\n", count, max_index); in r300_emit_draw_elements() 456 count, max_index); in r300_emit_draw_elements() 458 r300_emit_draw_init(r300, mode, max_index); in r300_emit_draw_elements() 525 r300_emit_draw_init(r300, info->mode, info->max_index); in r300_draw_elements_immediate() 650 info->max_index, info->mode, start, count, in r300_draw_elements() 661 info->max_index, in r300_draw_elements() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_prim_vbuf.c | 281 ushort max_index) in i915_vbuf_render_unmap_vertices() argument 287 i915_render->vbo_max_index = max_index; in i915_vbuf_render_unmap_vertices() 288 …render->vbo_max_used = MAX2(i915_render->vbo_max_used, i915_render->vertex_size * (max_index + 1)); in i915_vbuf_render_unmap_vertices() 293 i915_render->map_used_end = i915_render->vertex_size * (max_index + 1); in i915_vbuf_render_unmap_vertices() 312 unsigned max_index) in i915_vbuf_ensure_index_bounds() argument 316 if (max_index + i915_render->vbo_index < ((1 << 17) - 1)) in i915_vbuf_ensure_index_bounds()
|