Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp626 GLint maxIndex; in isValidVertexAttribIndex() local
627 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in isValidVertexAttribIndex()
628 return indx < maxIndex; in isValidVertexAttribIndex()
1050 GLint maxIndex; in s_glGetVertexAttribiv() local
1051 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribiv()
1052 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribiv()
1063 GLint maxIndex; in s_glGetVertexAttribfv() local
1064 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribfv()
1065 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribfv()
1076 GLint maxIndex; in s_glGetVertexAttribPointerv() local
[all …]
DGLESv2Validation.cpp870 GLint maxIndex; in vertexAttribIndexRangeErrorMsg() local
871 ctx->glGetIntegerv(ctx, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in vertexAttribIndexRangeErrorMsg()
872 ss << "Invalid vertex attribute index. Wanted index: " << index << ". Max index: " << maxIndex; in vertexAttribIndexRangeErrorMsg()
DGL2Encoder.h150 int* minIndex, int* maxIndex);
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp586 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
591 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
602 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
613 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
626 ctx->sendVertexData(minIndex, maxIndex - minIndex + 1); in s_glDrawElements()