Searched refs:maxIndex (Results 1 – 3 of 3) sorted by relevance
/device/generic/goldfish/opengl/system/GLESv1_enc/ |
D | GLEncoder.cpp | 560 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/ |
D | CwMcuSensor.cpp | 561 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/ |
D | GL2Encoder.cpp | 512 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()
|