Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.h427 void setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled);
428 const VertexAttribute &getVertexAttribState(unsigned int attribNum);
429 void setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum type,
431 const void *getVertexAttribPointer(unsigned int attribNum) const;
DContext.cpp881 void Context::setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled) in setVertexAttribArrayEnabled() argument
883 mState.vertexAttribute[attribNum].mArrayEnabled = enabled; in setVertexAttribArrayEnabled()
886 const VertexAttribute &Context::getVertexAttribState(unsigned int attribNum) in getVertexAttribState() argument
888 return mState.vertexAttribute[attribNum]; in getVertexAttribState()
891 void Context::setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum … in setVertexAttribState() argument
894 mState.vertexAttribute[attribNum].mBoundBuffer = boundBuffer; in setVertexAttribState()
895 mState.vertexAttribute[attribNum].mSize = size; in setVertexAttribState()
896 mState.vertexAttribute[attribNum].mType = type; in setVertexAttribState()
897 mState.vertexAttribute[attribNum].mNormalized = normalized; in setVertexAttribState()
898 mState.vertexAttribute[attribNum].mStride = stride; in setVertexAttribState()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.h520 void setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled);
521 void setVertexAttribDivisor(unsigned int attribNum, GLuint divisor);
522 const VertexAttribute &getVertexAttribState(unsigned int attribNum) const;
523 void setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum type,
525 const void *getVertexAttribPointer(unsigned int attribNum) const;
DContext.cpp819 void Context::setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled) in setVertexAttribArrayEnabled() argument
821 getCurrentVertexArray()->enableAttribute(attribNum, enabled); in setVertexAttribArrayEnabled()
824 void Context::setVertexAttribDivisor(unsigned int attribNum, GLuint divisor) in setVertexAttribDivisor() argument
826 getCurrentVertexArray()->setVertexAttribDivisor(attribNum, divisor); in setVertexAttribDivisor()
829 const VertexAttribute &Context::getVertexAttribState(unsigned int attribNum) const in getVertexAttribState()
831 return getCurrentVertexArray()->getVertexAttribute(attribNum); in getVertexAttribState()
834 void Context::setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum … in setVertexAttribState() argument
837 …getCurrentVertexArray()->setAttributeState(attribNum, boundBuffer, size, type, normalized, pureInt… in setVertexAttribState()
840 const void *Context::getVertexAttribPointer(unsigned int attribNum) const in getVertexAttribPointer()
842 return getCurrentVertexArray()->getVertexAttribute(attribNum).mPointer; in getVertexAttribPointer()