/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_rebase.c | 45 * 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...] |
H A D | vbo_split.c | 106 GLuint min_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 D | vbo_split_inplace.c | 49 GLuint min_index; member in struct:split_context 76 ib.count = split->max_index - split->min_index + 1; 78 split->min_index * _mesa_sizeof_type(ib.type)); 82 split->dstprim[i].start -= split->min_index; 85 assert(split->max_index >= split->min_index); 95 split->min_index, 103 split->min_index = ~0; 124 split->min_index = MIN2(split->min_index, prim->start); 135 if ((prim->start > split->min_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 D | vbo_split.h | 57 GLuint min_index,
|
H A D | vbo_primitive_restart.c | 68 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 D | vbo.h | 80 GLuint min_index, 106 GLuint min_index, 112 /* Helpers for dealing translating away non-zero min_index. 122 GLuint min_index, 146 GLuint *min_index, GLuint *max_index, GLuint nr_prims);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw.h | 56 GLuint min_index, 66 GLuint min_index,
|
H A D | st_draw.c | 195 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
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_draw.h | 42 GLuint min_index,
|
H A D | brw_draw.c | 414 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
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_draw_private.h | 110 unsigned min_index[QSZ]; member in struct:draw_cmd 151 unsigned min_index, 160 unsigned min_index,
|
H A D | svga_draw_elements.c | 104 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 D | svga_draw.h | 73 unsigned min_index,
|
H A D | svga_swtnl_private.h | 72 ushort min_index; member in struct:svga_vbuf_render
|
H A D | svga_swtnl_backend.c | 145 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 D | svga_pipe_draw.c | 223 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 D | svga_draw.c | 244 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
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_draw.h | 60 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 D | u_vbuf.c | 263 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/auxiliary/draw/ |
H A D | draw_pt_vsplit_tmp.h | 33 * 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...] |
H A D | draw_vbuf.h | 89 ushort min_index,
|
/external/mesa3d/src/mesa/tnl/ |
H A D | tnl.h | 84 GLuint min_index, 93 GLuint min_index,
|
H A D | t_draw.c | 415 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/drivers/dri/nouveau/ |
H A D | nouveau_vbo_t.c | 224 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/webrtc/webrtc/modules/audio_coding/neteq/ |
H A D | dsp_helper.cc | 105 size_t min_index = 0; local 120 min_index = (peak_index[i] > 2) ? (peak_index[i] - 2) : 0; 144 memset(&data[min_index], 0, 145 sizeof(data[0]) * (max_index - min_index + 1));
|