Lines Matching defs:minIndex
98 static void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex)
100 *minIndex = indices[0];
105 if (*minIndex > indices[i]) *minIndex = indices[i];
110 static void computeRange(GLenum type, const GLvoid *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex)
114 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex);
118 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex);
122 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex);
185 if (!buffer->getIndexRangeCache()->findRange(type, offset, count, &translated->minIndex,
188 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex);
189 buffer->getIndexRangeCache()->addRange(type, offset, count, translated->minIndex,
197 if (!staticBuffer->getIndexRangeCache()->findRange(type, offset, count, &translated->minIndex,
201 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex);
202 staticBuffer->getIndexRangeCache()->addRange(type, offset, count, translated->minIndex,
208 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex);
278 staticBuffer->getIndexRangeCache()->addRange(type, offset, count, translated->minIndex,