Lines Matching defs:minIndex
70 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex)
72 *minIndex = indices[0];
77 if (*minIndex > indices[i]) *minIndex = indices[i];
82 void computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex)
86 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex);
90 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex);
94 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex);
132 streamOffset = staticBuffer->lookupRange(offset, count, &translated->minIndex, &translated->maxIndex);
137 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex);
138 staticBuffer->addRange(offset, count, translated->minIndex, translated->maxIndex, streamOffset);
176 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex);
181 staticBuffer->addRange(offset, count, translated->minIndex, translated->maxIndex, streamOffset);
360 UINT StaticIndexBuffer::lookupRange(intptr_t offset, GLsizei count, UINT *minIndex, UINT *maxIndex)
366 *minIndex = mCache[range].minIndex;
376 void StaticIndexBuffer::addRange(intptr_t offset, GLsizei count, UINT minIndex, UINT maxIndex, UINT streamOffset)
378 IndexRange indexRange = {offset, count, minIndex, maxIndex, streamOffset};