Lines Matching refs:maxIndex

414     GLint maxIndex;  in s_glEnableVertexAttribArray()  local
415 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glEnableVertexAttribArray()
416 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glEnableVertexAttribArray()
424 GLint maxIndex; in s_glDisableVertexAttribArray() local
425 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glDisableVertexAttribArray()
426 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glDisableVertexAttribArray()
435 GLint maxIndex; in s_glGetVertexAttribiv() local
436 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribiv()
437 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribiv()
448 GLint maxIndex; in s_glGetVertexAttribfv() local
449 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribfv()
450 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribfv()
461 GLint maxIndex; in s_glGetVertexAttribPointerv() local
462 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribPointerv()
463 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribPointerv()
612 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
617 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
627 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
637 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
649 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1); in s_glDrawElements()