Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/
DState.h424 void setEnableVertexAttribArray(unsigned int attribNum, bool enabled);
430 unsigned int attribNum, in setVertexAttribPointer() argument
438 mVertexArray->setVertexAttribPointer(context, attribNum, boundBuffer, size, type, in setVertexAttribPointer()
444 unsigned int attribNum, in setVertexAttribIPointer() argument
451 mVertexArray->setVertexAttribIPointer(context, attribNum, boundBuffer, size, type, stride, in setVertexAttribIPointer()
457 const VertexAttribCurrentValueData &getVertexAttribCurrentValue(size_t attribNum) const in getVertexAttribCurrentValue() argument
459 ASSERT(attribNum < mVertexAttribCurrentValues.size()); in getVertexAttribCurrentValue()
460 return mVertexAttribCurrentValues[attribNum]; in getVertexAttribCurrentValue()
468 const void *getVertexAttribPointer(unsigned int attribNum) const;
DState.cpp1989 void State::setEnableVertexAttribArray(unsigned int attribNum, bool enabled) in setEnableVertexAttribArray() argument
1991 getVertexArray()->enableAttribute(attribNum, enabled); in setEnableVertexAttribArray()
2028 const void *State::getVertexAttribPointer(unsigned int attribNum) const in getVertexAttribPointer()
2030 return getVertexArray()->getVertexAttribute(attribNum).pointer; in getVertexAttribPointer()
/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.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.cpp834 void Context::setVertexAttribArrayEnabled(unsigned int attribNum, bool enabled) in setVertexAttribArrayEnabled() argument
836 getCurrentVertexArray()->enableAttribute(attribNum, enabled); in setVertexAttribArrayEnabled()
839 void Context::setVertexAttribDivisor(unsigned int attribNum, GLuint divisor) in setVertexAttribDivisor() argument
841 getCurrentVertexArray()->setVertexAttribDivisor(attribNum, divisor); in setVertexAttribDivisor()
844 const VertexAttribute &Context::getVertexAttribState(unsigned int attribNum) const in getVertexAttribState()
846 return getCurrentVertexArray()->getVertexAttribute(attribNum); in getVertexAttribState()
849 void Context::setVertexAttribState(unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum … in setVertexAttribState() argument
852 …getCurrentVertexArray()->setAttributeState(attribNum, boundBuffer, size, type, normalized, pureInt… in setVertexAttribState()
855 const void *Context::getVertexAttribPointer(unsigned int attribNum) const in getVertexAttribPointer()
857 return getCurrentVertexArray()->getVertexAttribute(attribNum).mPointer; in getVertexAttribPointer()