Home | History | Annotate | Download | only in vbo

Lines Matching refs:min_index

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,
136 assert(min_index != 0);
139 printf("%s %d..%d\n", __FUNCTION__, min_index, max_index);
153 tmp_prims[i].basevertex -= min_index;
175 tmp_indices = rebase_GLuint( ptr, ib->count, min_index );
178 tmp_indices = rebase_GLushort( ptr, ib->count, min_index );
181 tmp_indices = rebase_GLubyte( ptr, ib->count, min_index );
203 assert(prim[i].start >= min_index);
206 tmp_prims[i].start -= min_index;
224 tmp_arrays[i].Ptr += min_index * tmp_arrays[i].StrideB;
239 max_index - min_index,