Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/libGLESv2/
DContext.h522 void setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled);
523 void setVertexAttribDivisor(unsigned int attribNum, GLuint divisor);
524 const VertexAttribute &getVertexAttribState(unsigned int attribNum) const;
525 void setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum type,
527 const void *getVertexAttribPointer(unsigned int attribNum) const;
DContext.cpp824 void Context::setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled) in setVertexAttribArrayEnabled() argument
826 getCurrentVertexArray()->enableAttribute(attribNum, enabled); in setVertexAttribArrayEnabled()
829 void Context::setVertexAttribDivisor(unsigned int attribNum, GLuint divisor) in setVertexAttribDivisor() argument
831 getCurrentVertexArray()->setVertexAttribDivisor(attribNum, divisor); in setVertexAttribDivisor()
834 const VertexAttribute &Context::getVertexAttribState(unsigned int attribNum) const in getVertexAttribState()
836 return getCurrentVertexArray()->getVertexAttribute(attribNum); in getVertexAttribState()
839 void Context::setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum … in setVertexAttribState() argument
842 …getCurrentVertexArray()->setAttributeState(attribNum, boundBuffer, size, type, normalized, stride,… in setVertexAttribState()
845 const void *Context::getVertexAttribPointer(unsigned int attribNum) const in getVertexAttribPointer()
847 return getCurrentVertexArray()->getVertexAttribute(attribNum).mPointer; in getVertexAttribPointer()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.h429 void setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled);
430 const VertexAttribute &getVertexAttribState(unsigned int attribNum);
431 void setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum type,
433 const void *getVertexAttribPointer(unsigned int attribNum) const;
DContext.cpp876 void Context::setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled) in setVertexAttribArrayEnabled() argument
878 mState.vertexAttribute[attribNum].mArrayEnabled = enabled; in setVertexAttribArrayEnabled()
881 const VertexAttribute &Context::getVertexAttribState(unsigned int attribNum) in getVertexAttribState() argument
883 return mState.vertexAttribute[attribNum]; in getVertexAttribState()
886 void Context::setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum … in setVertexAttribState() argument
889 mState.vertexAttribute[attribNum].mBoundBuffer = boundBuffer; in setVertexAttribState()
890 mState.vertexAttribute[attribNum].mSize = size; in setVertexAttribState()
891 mState.vertexAttribute[attribNum].mType = type; in setVertexAttribState()
892 mState.vertexAttribute[attribNum].mNormalized = normalized; in setVertexAttribState()
893 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;