Searched defs:min_index (Results 1 - 25 of 32) sorted by path

12

/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_private.h180 unsigned min_index; member in struct:draw_context::__anon13445::__anon13448
H A Ddraw_pt_vsplit_tmp.h33 * Fetch all elements in [min_index, max_index] with bias, and use the
42 const unsigned min_index = draw->pt.user.min_index; local
52 if (min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0])) {
58 if (idx < min_index || idx > max_index) {
71 if (max_index - min_index > icount - 1)
74 if (elt_bias < 0 && min_index < -elt_bias)
83 fetch_start = min_index + elt_bias;
84 fetch_count = max_index - min_index + 1;
87 if (min_index
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_draw.h60 info.min_index = start;
96 info.min_index = start;
126 uint min_index,
138 info.min_index = min_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
H A Du_vbuf.c263 int start_index, unsigned num_indices, int min_index,
297 /* Subtract min_index so that indexing with the index buffer works. */
299 map -= vb->stride * min_index;
421 int start_index, unsigned num_indices, int min_index,
526 start_index, num_indices, min_index,
999 int start_vertex, min_index; local
1025 min_index = info->min_index;
1029 &min_index, &max_index);
1032 assert(min_index <
260 u_vbuf_translate_buffers(struct u_vbuf *mgr, struct translate_key *key, unsigned vb_mask, unsigned out_vb, int start_vertex, unsigned num_vertices, int start_index, unsigned num_indices, int min_index, boolean unroll_indices) argument
418 u_vbuf_translate_begin(struct u_vbuf *mgr, int start_vertex, unsigned num_vertices, int start_instance, unsigned num_instances, int start_index, unsigned num_indices, int min_index, boolean unroll_indices) argument
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_prim_vbuf.c280 ushort min_index,
292 i915_render->map_used_start = i915_render->vertex_size * min_index;
279 i915_vbuf_render_unmap_vertices(struct vbuf_render *render, ushort min_index, ushort max_index) argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_vbuf.c107 ushort min_index,
106 lp_setup_unmap_vertices(struct vbuf_render *vbr, ushort min_index, ushort max_index ) argument
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_draw.c102 ushort min_index, ushort max_index)
101 nv30_render_unmap_vertices(struct vbuf_render *render, ushort min_index, ushort max_index) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_prim_vbuf.c125 ushort min_index,
124 sp_vbuf_unmap_vertices(struct vbuf_render *vbr, ushort min_index, ushort max_index ) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_draw.c244 vdecl[i].rangeHint.first = hwtnl->cmd.min_index[0];
292 unsigned min_index,
312 assert(min_index <= max_index);
377 * min_index/max_index are merely conservative guesses, so we can't
431 hwtnl->cmd.min_index[hwtnl->cmd.prim_count] = min_index;
290 svga_hwtnl_prim( struct svga_hwtnl *hwtnl, const SVGA3dPrimitiveRange *range, unsigned min_index, unsigned max_index, struct pipe_resource *ib ) argument
H A Dsvga_draw_elements.c104 unsigned min_index,
150 ret = svga_hwtnl_prim( hwtnl, &range, min_index, max_index, index_buffer );
169 unsigned min_index,
210 min_index,
238 min_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_private.h110 unsigned min_index[QSZ]; member in struct:draw_cmd
151 unsigned min_index,
160 unsigned min_index,
H A Dsvga_pipe_draw.c223 unsigned min_index,
240 ret = svga_upload_user_buffers( svga, min_index + index_bias,
241 max_index - min_index + 1, instance_count );
251 min_index, max_index,
265 min_index, max_index,
388 info->min_index,
219 retry_draw_range_elements( struct svga_context *svga, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, unsigned prim, unsigned start, unsigned count, unsigned instance_count, boolean do_retry ) argument
H A Dsvga_swtnl_backend.c145 ushort min_index,
153 offset = svga_render->vbuf_offset + svga_render->vertex_size * min_index;
154 length = svga_render->vertex_size * (max_index + 1 - min_index);
159 svga_render->min_index = min_index;
297 svga_render->min_index,
307 svga_render->min_index,
144 svga_vbuf_render_unmap_vertices( struct vbuf_render *render, ushort min_index, ushort max_index ) argument
H A Dsvga_swtnl_private.h72 ushort min_index; member in struct:svga_vbuf_render
/external/mesa3d/src/gallium/include/pipe/
H A Dp_state.h540 unsigned min_index; /**< the min index */ member in struct:pipe_draw_info
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_context.h769 unsigned int min_index, max_index; member in struct:brw_context::__anon14072
H A Dbrw_draw.c414 GLuint min_index,
450 brw->vb.min_index = min_index;
542 GLuint min_index,
559 vbo_get_minmax_indices(ctx, prim, ib, &min_index, &max_index, nr_prims);
564 if (min_index != 0 && !vbo_any_varyings_in_vbos(arrays)) {
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);
409 brw_try_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
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
H A Dbrw_draw_upload.c361 unsigned int min_index = brw->vb.min_index; local
383 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index);
479 * only the used elements [min_index, max_index] so long as we adjust all
483 delta = min_index;
489 min_index = delta = 0;
498 copy_array_to_vbo_array(brw, upload[0], min_index, max_index,
517 copy_array_to_vbo_array(brw, upload[i], min_index, max_index,
/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 ||
256 vbo_split_prims(ctx, arrays, prims, nr_prims, ib, min_index,
289 int base, unsigned min_index, unsigned max_index, int *pdelta)
305 unsigned delta = (base + min_index) * array->StrideB;
315 int n = max_index - min_index + 1;
332 *pdelta -= min_index;
358 const struct _mesa_index_buffer *ib, GLuint min_index,
375 vbo_bind_vertices(ctx, arrays, basevertex, min_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/mesa/state_tracker/
H A Dst_draw.c195 GLuint min_index,
229 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index,
238 if (min_index != ~0 && max_index != ~0) {
239 info.min_index = min_index;
266 info.min_index = info.start;
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
H A Dst_draw_feedback.c98 GLuint min_index,
122 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims);
93 st_feedback_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/tnl/
H A Dt_draw.c415 GLuint min_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);
436 GLuint min_index,
456 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index);
464 if (min_index) {
465 /* We always translate away calls with min_index != 0.
468 min_index, max_index,
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/vbo/
H A Dvbo_exec_array.c90 GLuint *min_index, GLuint *max_index,
125 *min_index = min_ui;
147 *min_index = min_us;
169 *min_index = min_ub;
190 GLuint *min_index,
198 *min_index = ~0;
213 *min_index = MIN2(*min_index, tmp_min);
558 GLuint min_index,
571 index_bounds_valid, min_index, max_inde
87 vbo_get_minmax_index(struct gl_context *ctx, const struct _mesa_prim *prim, const struct _mesa_index_buffer *ib, GLuint *min_index, GLuint *max_index, const GLuint count) argument
187 vbo_get_minmax_indices(struct gl_context *ctx, const struct _mesa_prim *prims, const struct _mesa_index_buffer *ib, GLuint *min_index, GLuint *max_index, GLuint nr_prims) argument
553 vbo_handle_primitive_restart(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) argument
[all...]
H A Dvbo_primitive_restart.c68 GLuint min_index; member in struct:sub_primitive
104 sub_prims[scan_num].min_index = (GL##TYPE) 0xffffffff; \
114 sub_prims[scan_num].min_index = (GL##TYPE) 0xffffffff; \
121 UPDATE_MIN2(sub_prims[scan_num].min_index, scan_index); \
215 GL_TRUE, sub_prim->min_index, sub_prim->max_index,
H A Dvbo_rebase.c45 * indices of a draw call so that it can be re-issued with a min_index
59 TYPE min_index ) \
66 tmp_indices[i] = in[i] - min_index; \
99 /* Adjust primitives, indices and vertex definitions so that min_index
103 * - any time min_index != 0, otherwise unused vertices lower than
104 * min_index will be transformed.
107 * - if ib != NULL and min_index != 0, otherwise vertices lower than
108 * min_index will be uploaded. Requires adjusting index values.
110 * - if ib == NULL and min_index != 0, just for convenience so this doesn't
123 GLuint 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
[all...]

Completed in 504 milliseconds

12