Lines Matching refs:minIndex
581 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
586 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
587 if (minIndex != 0) { in s_glDrawElements()
591 count, -minIndex); in s_glDrawElements()
596 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
597 if (minIndex != 0) { in s_glDrawElements()
601 count, -minIndex); in s_glDrawElements()
606 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
607 if (minIndex != 0) { in s_glDrawElements()
611 count, -minIndex); in s_glDrawElements()
618 ctx->sendVertexData(minIndex, maxIndex - minIndex + 1); in s_glDrawElements()