Home
last modified time | relevance | path

Searched refs:minIndex (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.cpp582 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()
[all …]
/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.cpp612 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()
[all …]