Home
last modified time | relevance | path

Searched refs:attribNum (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DContext.h514 void setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled);
515 void setVertexAttribDivisor(unsigned int attribNum, GLuint divisor);
516 const VertexAttribute &getVertexAttribState(unsigned int attribNum) const;
517 void setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum type,
519 const void *getVertexAttribPointer(unsigned int attribNum) const;
DContext.cpp799 void Context::setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled) in setVertexAttribArrayEnabled() argument
801 getCurrentVertexArray()->enableAttribute(attribNum, enabled); in setVertexAttribArrayEnabled()
804 void Context::setVertexAttribDivisor(unsigned int attribNum, GLuint divisor) in setVertexAttribDivisor() argument
806 getCurrentVertexArray()->setVertexAttribDivisor(attribNum, divisor); in setVertexAttribDivisor()
809 const VertexAttribute &Context::getVertexAttribState(unsigned int attribNum) const in getVertexAttribState()
811 return getCurrentVertexArray()->getVertexAttribute(attribNum); in getVertexAttribState()
814 void Context::setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum … in setVertexAttribState() argument
817 …getCurrentVertexArray()->setAttributeState(attribNum, boundBuffer, size, type, normalized, stride,… in setVertexAttribState()
820 const void *Context::getVertexAttribPointer(unsigned int attribNum) const in getVertexAttribPointer()
822 return getCurrentVertexArray()->getVertexAttribute(attribNum).mPointer; in getVertexAttribPointer()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.h426 void setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled);
427 const VertexAttribute &getVertexAttribState(unsigned int attribNum);
428 void setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum type,
430 const void *getVertexAttribPointer(unsigned int attribNum) const;
DContext.cpp870 void Context::setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled) in setVertexAttribArrayEnabled() argument
872 mState.vertexAttribute[attribNum].mArrayEnabled = enabled; in setVertexAttribArrayEnabled()
875 const VertexAttribute &Context::getVertexAttribState(unsigned int attribNum) in getVertexAttribState() argument
877 return mState.vertexAttribute[attribNum]; in getVertexAttribState()
880 void Context::setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum … in setVertexAttribState() argument
883 mState.vertexAttribute[attribNum].mBoundBuffer = boundBuffer; in setVertexAttribState()
884 mState.vertexAttribute[attribNum].mSize = size; in setVertexAttribState()
885 mState.vertexAttribute[attribNum].mType = type; in setVertexAttribState()
886 mState.vertexAttribute[attribNum].mNormalized = normalized; in setVertexAttribState()
887 mState.vertexAttribute[attribNum].mStride = stride; in setVertexAttribState()
[all …]
/external/swiftshader/src/OpenGL/libGL/
DContext.cpp727 void Context::setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled) in setVertexAttribArrayEnabled() argument
729 mState.vertexAttribute[attribNum].mArrayEnabled = enabled; in setVertexAttribArrayEnabled()
732 const VertexAttribute &Context::getVertexAttribState(unsigned int attribNum) in getVertexAttribState() argument
734 return mState.vertexAttribute[attribNum]; in getVertexAttribState()
737 void Context::setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum … in setVertexAttribState() argument
740 mState.vertexAttribute[attribNum].mBoundBuffer = boundBuffer; in setVertexAttribState()
741 mState.vertexAttribute[attribNum].mSize = size; in setVertexAttribState()
742 mState.vertexAttribute[attribNum].mType = type; in setVertexAttribState()
743 mState.vertexAttribute[attribNum].mNormalized = normalized; in setVertexAttribState()
744 mState.vertexAttribute[attribNum].mStride = stride; in setVertexAttribState()
[all …]
DContext.h582 void setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled);
583 const VertexAttribute &getVertexAttribState(unsigned int attribNum);
584 void setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum type,
586 const void *getVertexAttribPointer(unsigned int attribNum) const;