Lines Matching refs:minIndex
591 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
596 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
597 if (minIndex != 0) { in s_glDrawElements()
602 count, -minIndex); in s_glDrawElements()
607 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
608 if (minIndex != 0) { in s_glDrawElements()
613 count, -minIndex); in s_glDrawElements()
618 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
619 if (minIndex != 0) { in s_glDrawElements()
624 count, -minIndex); in s_glDrawElements()
631 ctx->sendVertexData(minIndex, maxIndex - minIndex + 1); in s_glDrawElements()