Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.cpp414 GLint maxIndex; in s_glEnableVertexAttribArray() local
415 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glEnableVertexAttribArray()
416 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glEnableVertexAttribArray()
424 GLint maxIndex; in s_glDisableVertexAttribArray() local
425 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glDisableVertexAttribArray()
426 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glDisableVertexAttribArray()
435 GLint maxIndex; in s_glGetVertexAttribiv() local
436 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribiv()
437 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribiv()
448 GLint maxIndex; in s_glGetVertexAttribfv() local
[all …]
/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()
597 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
607 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
619 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()