Lines Matching refs:indices
8 // ranges of indices.
21 static RangeUI ComputeTypedRange(const IndexType *indices, GLsizei count)
23 unsigned int minIndex = indices[0];
24 unsigned int maxIndex = indices[0];
28 if (minIndex > indices[i]) minIndex = indices[i];
29 if (maxIndex < indices[i]) maxIndex = indices[i];
35 RangeUI IndexRangeCache::ComputeRange(GLenum type, const GLvoid *indices, GLsizei count)
40 return ComputeTypedRange(static_cast<const GLubyte*>(indices), count);
42 return ComputeTypedRange(static_cast<const GLuint*>(indices), count);
44 return ComputeTypedRange(static_cast<const GLushort*>(indices), count);