Lines Matching refs:minIndex
612 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
617 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
618 if (minIndex != 0) { in s_glDrawElements()
622 count, -minIndex); in s_glDrawElements()
627 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
628 if (minIndex != 0) { in s_glDrawElements()
632 count, -minIndex); in s_glDrawElements()
637 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
638 if (minIndex != 0) { in s_glDrawElements()
642 count, -minIndex); in s_glDrawElements()
649 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1); in s_glDrawElements()