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.cpp475 GLint maxIndex; in isValidVertexAttribIndex() local
476 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in isValidVertexAttribIndex()
477 return indx < maxIndex; in isValidVertexAttribIndex()
760 GLint maxIndex; in s_glGetVertexAttribiv() local
761 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribiv()
762 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribiv()
773 GLint maxIndex; in s_glGetVertexAttribfv() local
774 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribfv()
775 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribfv()
786 GLint maxIndex; in s_glGetVertexAttribPointerv() local
[all …]
DGLESv2Validation.cpp835 GLint maxIndex; in vertexAttribIndexRangeErrorMsg() local
836 ctx->glGetIntegerv(ctx, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in vertexAttribIndexRangeErrorMsg()
837 ss << "Invalid vertex attribute index. Wanted index: " << index << ". Max index: " << maxIndex; in vertexAttribIndexRangeErrorMsg()
DGL2Encoder.h114 int* minIndex, int* maxIndex);
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp581 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
586 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
596 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
606 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
618 ctx->sendVertexData(minIndex, maxIndex - minIndex + 1); in s_glDrawElements()