/external/mesa3d/src/mesa/vbo/ |
D | vbo_minmax_index.c | 105 GLuint *min_index, GLuint *max_index) in vbo_get_minmax_cached() argument 148 *max_index = entry->max; in vbo_get_minmax_cached() 239 GLuint *min_index, GLuint *max_index, in vbo_get_minmax_index() argument 253 min_index, max_index)) in vbo_get_minmax_index() 287 *max_index = max_ui; in vbo_get_minmax_index() 309 *max_index = max_us; in vbo_get_minmax_index() 331 *max_index = max_ub; in vbo_get_minmax_index() 340 *min_index, *max_index); in vbo_get_minmax_index() 353 GLuint *max_index, in vbo_get_minmax_indices() argument 361 *max_index = 0; in vbo_get_minmax_indices() [all …]
|
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 123 else if (max_index - min_index >= limits->max_verts) { in vbo_split_prims() 138 min_index, max_index, draw, limits ); in vbo_split_prims() 146 if (max_index - min_index >= limits->max_verts) { in vbo_split_prims() 152 min_index, max_index, draw, limits ); in vbo_split_prims()
|
D | vbo_primitive_restart.c | 70 GLuint max_index; member 106 sub_prims[scan_num].max_index = 0; \ in find_sub_primitives() 116 sub_prims[scan_num].max_index = 0; \ in find_sub_primitives() 123 UPDATE_MAX2(sub_prims[scan_num].max_index, scan_index); \ in find_sub_primitives() 253 GL_TRUE, sub_prim->min_index, sub_prim->max_index, in vbo_sw_primitive_restart()
|
D | vbo.h | 107 GLuint max_index, 147 GLuint max_index, 163 GLuint max_index, 189 GLuint *min_index, GLuint *max_index, GLuint nr_prims);
|
D | vbo_rebase.c | 130 GLuint max_index, in vbo_rebase_prims() argument 145 printf("%s %d..%d\n", __func__, min_index, max_index); in vbo_rebase_prims() 260 max_index - min_index, in vbo_rebase_prims()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_vbo_t.c | 224 GLuint min_index, GLuint max_index, 233 GLuint min_index, GLuint max_index) in vbo_maybe_split() argument 250 if (max_index - min_index > vert_avail || in vbo_maybe_split() 259 max_index, TAG(vbo_render_prims), &limits); in vbo_maybe_split() 291 int base, unsigned min_index, unsigned max_index, int *pdelta) in vbo_bind_vertices() argument 317 int n = max_index - min_index + 1; in vbo_bind_vertices() 361 GLuint max_index) in vbo_draw_vbo() argument 378 max_index, &delta); in vbo_draw_vbo() 411 GLuint max_index) in vbo_draw_imm() argument 457 GLuint min_index, GLuint max_index, in TAG() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw.h | 47 info->max_index = 0xffffffff; in util_draw_init_info() 64 info.max_index = start + count - 1; in util_draw_arrays() 104 info.max_index = start + count - 1; in util_draw_arrays_instanced() 136 uint max_index, in util_draw_range_elements() argument 150 info.max_index = max_index; in util_draw_range_elements()
|
D | u_draw.c | 52 unsigned max_index; in util_draw_max_index() local 55 max_index = ~0U - 1; in util_draw_max_index() 107 max_index = MIN2(max_index, buffer_max_index); in util_draw_max_index() 125 return max_index + 1; in util_draw_max_index()
|
/external/mesa3d/src/gallium/drivers/vc4/kernel/ |
D | vc4_validate.c | 251 uint32_t max_index = *(uint32_t *)(untrusted + 9); in validate_indexed_prim_list() local 262 if (max_index > shader_state->max_index) in validate_indexed_prim_list() 263 shader_state->max_index = max_index; in validate_indexed_prim_list() 286 uint32_t max_index; in validate_gl_array_primitive() local 300 max_index = length + base_index - 1; in validate_gl_array_primitive() 302 if (max_index > shader_state->max_index) in validate_gl_array_primitive() 303 shader_state->max_index = max_index; in validate_gl_array_primitive() 319 exec->shader_state[i].max_index = 0; in validate_gl_shader_state() 880 uint32_t max_index; in validate_gl_shader_rec() local 893 max_index = ((vbo->base.size - offset - attr_size) / in validate_gl_shader_rec() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_vsplit_tmp.h | 42 const unsigned max_index = draw->pt.user.max_index; in CONCAT() local 63 if (idx < min_index || idx > max_index) { in CONCAT() 76 if (max_index - min_index > icount - 1) in CONCAT() 89 fetch_count = max_index - min_index + 1; in CONCAT() 100 if (idx < min_index || idx > max_index) { in CONCAT() 110 if (idx < min_index || idx > max_index) { in CONCAT()
|
D | draw_pipe.c | 197 #define GET_ELT(idx) (MIN2(elts[idx], max_index)) 208 unsigned max_index 245 unsigned max_index = 0x0, i; in draw_pipeline_run() local 249 if (index > max_index) in draw_pipeline_run() 250 max_index = index; in draw_pipeline_run() 252 if (max_index >= vert_info->count) { in draw_pipeline_run() 255 max_index, in draw_pipeline_run()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_elements.c | 153 unsigned min_index, unsigned max_index, in svga_hwtnl_simple_draw_range_elements() argument 176 min_index, max_index, index_buffer, in svga_hwtnl_simple_draw_range_elements() 185 unsigned min_index, unsigned max_index, in svga_hwtnl_draw_range_elements() argument 224 max_index, in svga_hwtnl_draw_range_elements() 253 max_index, in svga_hwtnl_draw_range_elements()
|
D | svga_draw_private.h | 149 unsigned max_index[QSZ]; member 228 unsigned max_index, 238 unsigned max_index,
|
D | svga_swtnl_backend.c | 164 ushort max_index ) in svga_vbuf_render_unmap_vertices() argument 169 size_t used = svga_render->vertex_size * ((size_t)max_index + 1); in svga_vbuf_render_unmap_vertices() 175 length = svga_render->vertex_size * (max_index + 1 - min_index); in svga_vbuf_render_unmap_vertices() 193 svga_render->max_index = max_index; in svga_vbuf_render_unmap_vertices() 360 svga_render->max_index, in svga_vbuf_render_draw_elements() 371 svga_render->max_index, in svga_vbuf_render_draw_elements()
|
D | svga_pipe_draw.c | 53 unsigned max_index, in retry_draw_range_elements() argument 81 min_index, max_index, in retry_draw_range_elements() 96 min_index, max_index, in retry_draw_range_elements() 256 info->max_index, in svga_draw_vbo()
|
D | svga_draw.c | 265 vdecl[i].rangeHint.last = hwtnl->cmd.max_index[0] + 1; in draw_vgpu9() 461 unsigned max_index, struct pipe_resource *ib, in draw_vgpu10() argument 766 unsigned min_index, unsigned max_index, in check_draw_params() argument 788 assert(min_index <= max_index); in check_draw_params() 913 unsigned max_index, struct pipe_resource *ib, in svga_hwtnl_prim() argument 922 ret = draw_vgpu10(hwtnl, range, vcount, min_index, max_index, ib, in svga_hwtnl_prim() 926 ret = draw_vgpu10(hwtnl, range, vcount, min_index, max_index, ib, in svga_hwtnl_prim() 934 check_draw_params(hwtnl, range, min_index, max_index, ib); in svga_hwtnl_prim() 949 hwtnl->cmd.max_index[hwtnl->cmd.prim_count] = max_index; in svga_hwtnl_prim()
|
/external/vixl/test/ |
D | test-invalset.cc | 192 int max_index = 100 * kNPreallocatedElements; in TEST() local 193 for (int i = 0; i <= max_index; i++) { in TEST() 198 VIXL_CHECK(set.GetMinElement() == Obj(-max_index, max_index)); in TEST() 202 VIXL_CHECK(set.GetMinElement() == Obj(-max_index, max_index)); in TEST() 204 VIXL_CHECK(set.GetMinElement() == Obj(-(max_index - 2), max_index - 2)); in TEST()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qir_lower_uniforms.c | 138 uint32_t max_index = 0; in qir_lower_uniforms() local 145 max_index = index; in qir_lower_uniforms() 149 struct qreg unif = qir_reg(QFILE_UNIF, max_index); in qir_lower_uniforms() 182 inst->src[i].index == max_index) { in qir_lower_uniforms()
|
/external/jemalloc/test/unit/ |
D | size_classes.c | 29 szind_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/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() 429 unsigned max_index, in r300_emit_draw_elements() argument 441 "refusing to render (max_index: %i).\n", count, max_index); in r300_emit_draw_elements() 446 count, max_index); in r300_emit_draw_elements() 448 r300_emit_draw_init(r300, mode, max_index); in r300_emit_draw_elements() 515 r300_emit_draw_init(r300, info->mode, info->max_index); in r300_draw_elements_immediate() 639 info->max_index, info->mode, start, count, in r300_draw_elements() 650 info->max_index, in r300_draw_elements() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_draw.c | 182 GLuint max_index, in st_draw_vbo() argument 215 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, in st_draw_vbo() 224 if (min_index != ~0U && max_index != ~0U) { in st_draw_vbo() 226 info.max_index = max_index; in st_draw_vbo() 257 info.max_index = info.start + info.count - 1; in st_draw_vbo()
|
D | st_draw.h | 59 GLuint max_index, 71 GLuint max_index,
|
/external/mesa3d/src/mesa/tnl/ |
D | t_draw.c | 427 GLuint max_index, in _tnl_draw_prims() argument 440 vbo_get_minmax_indices(ctx, prim, ib, &min_index, &max_index, nr_prims); in _tnl_draw_prims() 453 printf("%s %d..%d\n", __func__, min_index, max_index); in _tnl_draw_prims() 465 min_index, max_index, in _tnl_draw_prims() 469 else if ((GLint)max_index + max_basevertex > max) { in _tnl_draw_prims() 483 0, max_index + prim->basevertex, in _tnl_draw_prims() 516 bind_inputs(ctx, arrays, max_index + prim[i].basevertex + 1, in _tnl_draw_prims()
|
/external/mesa3d/src/mesa/main/ |
D | sse_minmax.c | 34 unsigned *max_index, const unsigned count) in _mesa_uint_array_min_max() argument 93 *max_index = max_ui; in _mesa_uint_array_min_max()
|