Searched refs:max_index (Results 1 - 25 of 66) sorted by relevance

123

/external/mesa3d/src/gallium/auxiliary/util/
H A Du_draw.c38 * all vertex lookups need to be clamped to 0..max_index-1 to prevent
51 unsigned max_index; local
54 max_index = ~0U - 1;
106 max_index = MIN2(max_index, buffer_max_index);
117 return max_index + 1;
H A Du_draw.h47 info->max_index = 0xffffffff;
61 info.max_index = start + count - 1;
97 info.max_index = start + count - 1;
127 uint max_index,
139 info.max_index = max_index;
124 util_draw_range_elements(struct pipe_context *pipe, int index_bias, uint min_index, uint max_index, uint mode, uint start, uint count) argument
/external/mesa3d/src/mesa/vbo/
H A Dvbo_split.c107 GLuint max_index,
131 else if (max_index - min_index >= limits->max_verts) {
146 min_index, max_index, draw, limits );
154 if (max_index - min_index >= limits->max_verts) {
160 min_index, max_index, draw, limits );
101 vbo_split_prims( struct gl_context *ctx, const struct gl_client_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw, const struct split_limits *limits ) argument
H A Dvbo_split_inplace.c50 GLuint max_index; member in struct:split_context
76 ib.count = split->max_index - split->min_index + 1;
85 assert(split->max_index >= split->min_index);
96 split->max_index,
104 split->max_index = 0;
125 split->max_index = MAX2(split->max_index, prim->start + prim->count - 1);
137 (prim->start < split->max_index &&
138 split->max_index - prim->start >= split->limit))
270 GLuint max_index,
264 vbo_split_inplace( struct gl_context *ctx, const struct gl_client_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw, const struct split_limits *limits ) argument
[all...]
H A Dvbo_split.h58 GLuint max_index,
H A Dvbo_primitive_restart.c69 GLuint max_index; member in struct:sub_primitive
105 sub_prims[scan_num].max_index = 0; \
115 sub_prims[scan_num].max_index = 0; \
122 UPDATE_MAX2(sub_prims[scan_num].max_index, scan_index); \
215 GL_TRUE, sub_prim->min_index, sub_prim->max_index,
H A Dvbo.h81 GLuint max_index,
107 GLuint max_index,
123 GLuint max_index,
146 GLuint *min_index, GLuint *max_index, GLuint nr_prims);
H A Dvbo_rebase.c124 GLuint max_index,
139 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index);
239 max_index - min_index,
118 vbo_rebase_prims( struct gl_context *ctx, const struct gl_client_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw ) argument
/external/mesa3d/src/mesa/state_tracker/
H A Dst_draw.h57 GLuint max_index,
67 GLuint max_index,
H A Dst_draw.c196 GLuint max_index,
229 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index,
238 if (min_index != ~0 && max_index != ~0) {
240 info.max_index = max_index;
267 info.max_index = info.start + info.count - 1;
190 st_draw_vbo(struct gl_context *ctx, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *tfb_vertcount) argument
/external/jemalloc/test/unit/
H A Dsize_classes.c29 index_t index, max_index; local
32 max_index = size2index(max_size_class);
34 for (index = 0, size_class = index2size(index); index < max_index ||
37 assert_true(index < max_index,
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_draw.h43 GLuint max_index,
H A Dgen6_sol.c168 unsigned max_index = 0xffffffff; local
181 max_index = MIN2(max_index, max_for_this_buffer);
189 brw->sol.svbi_0_max_index = max_index;
H A Dbrw_draw.c415 GLuint max_index )
451 brw->vb.max_index = max_index;
543 GLuint max_index,
559 vbo_get_minmax_indices(ctx, prim, ib, &min_index, &max_index, nr_prims);
567 ib, min_index, max_index,
581 _tnl_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index);
589 brw_try_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index);
537 brw_draw_prims( struct gl_context *ctx, const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *tfb_vertcount ) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_draw_private.h111 unsigned max_index[QSZ]; member in struct:draw_cmd
152 unsigned max_index,
161 unsigned max_index,
H A Dsvga_draw_elements.c105 unsigned max_index,
150 ret = svga_hwtnl_prim( hwtnl, &range, min_index, max_index, index_buffer );
170 unsigned max_index,
211 max_index,
239 max_index,
100 svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, unsigned prim, unsigned start, unsigned count ) argument
165 svga_hwtnl_draw_range_elements( struct svga_hwtnl *hwtnl, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, unsigned prim, unsigned start, unsigned count) argument
H A Dsvga_draw.h74 unsigned max_index,
H A Dsvga_swtnl_private.h73 ushort max_index; member in struct:svga_vbuf_render
H A Dsvga_swtnl_backend.c146 ushort max_index )
151 size_t used = svga_render->vertex_size * ((size_t)max_index + 1);
154 length = svga_render->vertex_size * (max_index + 1 - min_index);
160 svga_render->max_index = max_index;
298 svga_render->max_index,
308 svga_render->max_index,
/external/mesa3d/src/mesa/tnl/
H A Dtnl.h85 GLuint max_index);
94 GLuint max_index,
H A Dt_draw.c416 GLuint max_index,
422 vbo_get_minmax_indices(ctx, prim, ib, &min_index, &max_index, nr_prims);
424 _tnl_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index);
437 GLuint max_index)
456 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index);
468 min_index, max_index,
472 else if ((GLint)max_index + max_basevertex > max) {
486 0, max_index + prim->basevertex,
519 bind_inputs(ctx, arrays, max_index + prim[i].basevertex + 1,
410 _tnl_vbo_draw_prims(struct gl_context *ctx, const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *tfb_vertcount) argument
431 _tnl_draw_prims( struct gl_context *ctx, const struct gl_client_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index) argument
/external/vixl/test/
H A Dtest-invalset.cc195 int max_index = 100 * kNPreallocatedElements; local
196 for (int i = 0; i <= max_index; i++) {
201 VIXL_CHECK(set.min_element() == Obj(-max_index, max_index));
205 VIXL_CHECK(set.min_element() == Obj(-max_index, max_index));
207 VIXL_CHECK(set.min_element() == Obj(-(max_index - 2), max_index - 2));
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_vbo_t.c224 GLuint min_index, GLuint max_index,
231 GLuint min_index, GLuint max_index)
248 if (max_index - min_index > vert_avail ||
257 max_index, TAG(vbo_render_prims), &limits);
289 int base, unsigned min_index, unsigned max_index, int *pdelta)
315 int n = max_index - min_index + 1;
359 GLuint max_index)
376 max_index, &delta);
409 GLuint max_index)
455 GLuint min_index, GLuint max_index,
228 vbo_maybe_split(struct gl_context *ctx, const struct gl_client_array **arrays, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index) argument
288 vbo_bind_vertices(struct gl_context *ctx, const struct gl_client_array **arrays, int base, unsigned min_index, unsigned max_index, int *pdelta) argument
356 vbo_draw_vbo(struct gl_context *ctx, const struct gl_client_array **arrays, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index) argument
406 vbo_draw_imm(struct gl_context *ctx, const struct gl_client_array **arrays, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index) argument
451 vbo_render_prims(struct gl_context *ctx, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *tfb_vertcount) argument
487 vbo_check_render_prims(struct gl_context *ctx, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *tfb_vertcount) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_vbuf.h90 ushort max_index );
H A Ddraw_pt_vsplit_tmp.h33 * Fetch all elements in [min_index, max_index] with bias, and use the
43 const unsigned max_index = draw->pt.user.max_index; local
58 if (idx < min_index || idx > max_index) {
71 if (max_index - min_index > icount - 1)
84 fetch_count = max_index - min_index + 1;
91 if (idx < min_index || idx > max_index) {
101 if (idx < min_index || idx > max_index) {

Completed in 540 milliseconds

123