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

123456

/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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,
/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,
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_draw.h57 GLuint max_index,
67 GLuint max_index,
/external/mesa3d/src/mesa/state_tracker/
H A Dst_draw.h57 GLuint max_index,
67 GLuint max_index,
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_draw.h43 GLuint max_index,
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dwin_pgo_profiler.py45 max_index = 0
49 max_index = max(max_index,
51 return max_index + 1
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_draw.h43 GLuint max_index,
/external/chromium_org/third_party/mesa/src/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
/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
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dtnl.h85 GLuint max_index);
94 GLuint max_index,
/external/mesa3d/src/mesa/tnl/
H A Dtnl.h85 GLuint max_index);
94 GLuint max_index,
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_host_resolver_interface.cc100 int max_index = 0; local
103 max_index = fake_addresses_v4.size();
107 max_index = fake_addresses_v6.size();
111 max_index = fake_addresses_v4.size() + fake_addresses_v6.size();
117 if (index >= max_index)
/external/chromium_org/third_party/mesa/src/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...]

Completed in 414 milliseconds

123456