Searched refs:max_index (Results 26 - 50 of 150) sorted by relevance

123456

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
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,
H A Dsvga_draw.c245 vdecl[i].rangeHint.last = hwtnl->cmd.max_index[0] + 1;
293 unsigned max_index,
312 assert(min_index <= max_index);
377 * min_index/max_index are merely conservative guesses, so we can't
432 hwtnl->cmd.max_index[hwtnl->cmd.prim_count] = max_index;
290 svga_hwtnl_prim( struct svga_hwtnl *hwtnl, const SVGA3dPrimitiveRange *range, unsigned min_index, unsigned max_index, struct pipe_resource *ib ) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
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/chromium_org/third_party/mesa/src/src/mesa/vbo/
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/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) {
/external/mesa3d/src/gallium/drivers/svga/
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/drivers/dri/i965/
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/mesa/vbo/
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/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
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/mesa3d/src/mesa/state_tracker/
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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
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) {
H A Ddraw_pipe.c243 unsigned max_index = 0x0, i; local
247 if (index > max_index)
248 max_index = index;
250 if (max_index >= vert_info->count) {
251 debug_printf("%s: max_index (%u) outside vertex buffer (%u)\n",
253 max_index,
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
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/mesa3d/src/mesa/tnl/
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/chromium/base/
H A Dobserver_list.h98 size_t max_index = std::min(max_index_, observers.size()); local
99 while (index_ < max_index && !observers[index_])
101 return index_ < max_index ? observers[index_++] : NULL;
/external/chromium_org/base/
H A Dobserver_list.h101 size_t max_index = std::min(max_index_, observers.size()); local
102 while (index_ < max_index && !observers[index_])
104 return index_ < max_index ? observers[index_++] : NULL;

Completed in 466 milliseconds

123456