Lines Matching refs:minIndex
582 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
587 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
588 if (minIndex != 0) { in s_glDrawElements()
592 count, -minIndex); in s_glDrawElements()
597 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
598 if (minIndex != 0) { in s_glDrawElements()
602 count, -minIndex); in s_glDrawElements()
607 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
608 if (minIndex != 0) { in s_glDrawElements()
612 count, -minIndex); in s_glDrawElements()
619 ctx->sendVertexData(minIndex, maxIndex - minIndex + 1); in s_glDrawElements()