Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.cpp560 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
565 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
575 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
587 ctx->sendVertexData(minIndex, maxIndex - minIndex + 1); in s_glDrawElements()
/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp561 const size_t maxIndex = (LIGHTSENSOR_LEVEL - 1); in indexToValue() local
562 if (index > maxIndex) { in indexToValue()
563 index = maxIndex; in indexToValue()
/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.cpp512 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
517 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
527 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
539 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1); in s_glDrawElements()