Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/libGLESv2/
DVertexArray.cpp28 mVertexAttributes[i].mBoundBuffer = nullptr; in ~VertexArray()
37 if(mVertexAttributes[attribute].mBoundBuffer.name() == bufferName) in detachBuffer()
39 mVertexAttributes[attribute].mBoundBuffer = nullptr; in detachBuffer()
52 return mVertexAttributes[attributeIndex]; in getVertexAttribute()
58 mVertexAttributes[index].mDivisor = divisor; in setVertexAttribDivisor()
64 mVertexAttributes[attributeIndex].mArrayEnabled = enabledState; in enableAttribute()
71 mVertexAttributes[attributeIndex].mBoundBuffer = boundBuffer; in setAttributeState()
72 mVertexAttributes[attributeIndex].mSize = size; in setAttributeState()
73 mVertexAttributes[attributeIndex].mType = type; in setAttributeState()
74 mVertexAttributes[attributeIndex].mNormalized = normalized; in setAttributeState()
[all …]
DVertexArray.h35 VertexAttributeArray& getVertexAttributes() { return mVertexAttributes; } in getVertexAttributes()
47 VertexAttributeArray mVertexAttributes;
/external/angle/src/libANGLE/
DVertexArray.h44 size_t getMaxAttribs() const { return mVertexAttributes.size(); } in getMaxAttribs()
47 const std::vector<VertexAttribute> &getVertexAttributes() const { return mVertexAttributes; } in getVertexAttributes()
50 return mVertexAttributes[attribIndex]; in getVertexAttribute()
59 return mVertexBindings[mVertexAttributes[attribIndex].bindingIndex]; in getBindingFromAttribIndex()
63 return mVertexAttributes[attribIndex].bindingIndex; in getBindingIndexFromAttribIndex()
88 std::vector<VertexAttribute> mVertexAttributes; variable
DVertexArray.cpp40 mVertexAttributes.emplace_back(static_cast<GLuint>(i)); in VertexArrayState()
68 VertexAttribute &attrib = mVertexAttributes[attribIndex]; in setAttribBinding()
211 return mState.mVertexAttributes[attribIndex]; in getVertexAttribute()
249 mState.mVertexAttributes[boundAttribute].updateCachedElementLimit(*binding); in updateCachedBufferBindingSize()
381 if (mState.mVertexAttributes[attribIndex].bindingIndex == bindingIndex) in setVertexAttribBinding()
410 mState.mVertexAttributes[attribIndex].updateCachedElementLimit(binding); in setVertexBindingDivisor()
440 VertexAttribute &attrib = mState.mVertexAttributes[attribIndex]; in setVertexAttribFormat()
465 VertexAttribute &attrib = mState.mVertexAttributes[attribIndex]; in enableAttribute()
497 VertexAttribute &attrib = mState.mVertexAttributes[attribIndex]; in setVertexAttribPointerImpl()
685 const VertexAttribute &attrib = mState.mVertexAttributes[attribIndex]; in hasTransformFeedbackBindingConflict()