Home
last modified time | relevance | path

Searched refs:VertexArray (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DVertexArray_unittest.cpp21 VertexArray::DirtyBits dirtyBits; in TEST()
31 const size_t index = VertexArray::GetVertexIndexFromDirtyBit(dirtyBit); in TEST()
32 if (dirtyBit < VertexArray::DIRTY_BIT_ATTRIB_0) in TEST()
36 else if (dirtyBit < VertexArray::DIRTY_BIT_ATTRIB_MAX) in TEST()
38 EXPECT_EQ(dirtyBit - VertexArray::DIRTY_BIT_ATTRIB_0, index); in TEST()
40 else if (dirtyBit < VertexArray::DIRTY_BIT_BINDING_MAX) in TEST()
42 EXPECT_EQ(dirtyBit - VertexArray::DIRTY_BIT_BINDING_0, index); in TEST()
44 else if (dirtyBit < VertexArray::DIRTY_BIT_BUFFER_DATA_MAX) in TEST()
46 EXPECT_EQ(dirtyBit - VertexArray::DIRTY_BIT_BUFFER_DATA_0, index); in TEST()
DVertexArray.cpp31 VertexArrayState::VertexArrayState(VertexArray *vertexArray, in VertexArrayState()
97 VertexArray::VertexArray(rx::GLImplFactory *factory, in VertexArray() function in gl::VertexArray
112 void VertexArray::onDestroy(const Context *context) in onDestroy()
132 VertexArray::~VertexArray() in ~VertexArray()
137 void VertexArray::setLabel(const Context *context, const std::string &label) in setLabel()
142 const std::string &VertexArray::getLabel() const in getLabel()
147 bool VertexArray::detachBuffer(const Context *context, GLuint bufferName) in detachBuffer()
192 const VertexAttribute &VertexArray::getVertexAttribute(size_t attribIndex) const in getVertexAttribute()
198 const VertexBinding &VertexArray::getVertexBinding(size_t bindingIndex) const in getVertexBinding()
204 size_t VertexArray::GetVertexIndexFromDirtyBit(size_t dirtyBit) in GetVertexIndexFromDirtyBit()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DVertexArray_unittest.cpp21 VertexArray::DirtyBits dirtyBits; in TEST()
31 const size_t index = VertexArray::GetVertexIndexFromDirtyBit(dirtyBit); in TEST()
32 if (dirtyBit < VertexArray::DIRTY_BIT_ATTRIB_0) in TEST()
36 else if (dirtyBit < VertexArray::DIRTY_BIT_ATTRIB_MAX) in TEST()
38 EXPECT_EQ(dirtyBit - VertexArray::DIRTY_BIT_ATTRIB_0, index); in TEST()
40 else if (dirtyBit < VertexArray::DIRTY_BIT_BINDING_MAX) in TEST()
42 EXPECT_EQ(dirtyBit - VertexArray::DIRTY_BIT_BINDING_0, index); in TEST()
44 else if (dirtyBit < VertexArray::DIRTY_BIT_BUFFER_DATA_MAX) in TEST()
46 EXPECT_EQ(dirtyBit - VertexArray::DIRTY_BIT_BUFFER_DATA_0, index); in TEST()
DVertexArray.cpp29 VertexArrayState::VertexArrayState(VertexArray *vertexArray, in VertexArrayState()
108 VertexArray::VertexArray(rx::GLImplFactory *factory, in VertexArray() function in gl::VertexArray
126 void VertexArray::onDestroy(const Context *context) in onDestroy()
161 VertexArray::~VertexArray() in ~VertexArray()
166 void VertexArray::setLabel(const Context *context, const std::string &label) in setLabel()
171 const std::string &VertexArray::getLabel() const in getLabel()
176 bool VertexArray::detachBuffer(const Context *context, BufferID bufferID) in detachBuffer()
226 const VertexAttribute &VertexArray::getVertexAttribute(size_t attribIndex) const in getVertexAttribute()
232 const VertexBinding &VertexArray::getVertexBinding(size_t bindingIndex) const in getVertexBinding()
238 size_t VertexArray::GetVertexIndexFromDirtyBit(size_t dirtyBit) in GetVertexIndexFromDirtyBit()
[all …]
DVertexArray.h40 VertexArrayState(VertexArray *vertexArray, size_t maxAttribs, size_t maxBindings);
88 friend class VertexArray; variable
115 VertexArrayBufferContentsObservers(VertexArray *vertexArray);
120 VertexArray *mVertexArray;
123 class VertexArray final : public angle::ObserverInterface,
187 VertexArray(rx::GLImplFactory *factory,
315 ~VertexArray() override;
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DVertexArray.cpp20 VertexArray::VertexArray(GLuint name) : gl::NamedObject(name) in VertexArray() function in es2::VertexArray
24 VertexArray::~VertexArray() in ~VertexArray()
33 void VertexArray::detachBuffer(GLuint bufferName) in detachBuffer()
49 const VertexAttribute& VertexArray::getVertexAttribute(size_t attributeIndex) const in getVertexAttribute()
55 void VertexArray::setVertexAttribDivisor(GLuint index, GLuint divisor) in setVertexAttribDivisor()
61 void VertexArray::enableAttribute(unsigned int attributeIndex, bool enabledState) in enableAttribute()
67 void VertexArray::setAttributeState(unsigned int attributeIndex, Buffer *boundBuffer, GLint size, G… in setAttributeState()
80 void VertexArray::setElementArrayBuffer(Buffer *buffer) in setElementArrayBuffer()
DVertexArray.h28 class VertexArray : public gl::NamedObject
31 VertexArray(GLuint name);
32 ~VertexArray();
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexArray9.h27 const gl::VertexArray::DirtyBits &dirtyBits,
28 gl::VertexArray::DirtyAttribBitsArray *attribBits,
29 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
40 const gl::VertexArray::DirtyBits &dirtyBits, in syncState()
41 gl::VertexArray::DirtyAttribBitsArray *attribBits, in syncState()
42 gl::VertexArray::DirtyBindingBitsArray *bindingBits) in syncState()
50 memset(attribBits, 0, sizeof(gl::VertexArray::DirtyAttribBitsArray)); in syncState()
51 memset(bindingBits, 0, sizeof(gl::VertexArray::DirtyBindingBitsArray)); in syncState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexArray9.h27 const gl::VertexArray::DirtyBits &dirtyBits,
28 gl::VertexArray::DirtyAttribBitsArray *attribBits,
29 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
40 const gl::VertexArray::DirtyBits &dirtyBits, in syncState()
41 gl::VertexArray::DirtyAttribBitsArray *attribBits, in syncState()
42 gl::VertexArray::DirtyBindingBitsArray *bindingBits) in syncState()
50 memset(attribBits, 0, sizeof(gl::VertexArray::DirtyAttribBitsArray)); in syncState()
51 memset(bindingBits, 0, sizeof(gl::VertexArray::DirtyBindingBitsArray)); in syncState()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DVertexArrayImpl.h39 const gl::VertexArray::DirtyBits &dirtyBits,
40 gl::VertexArray::DirtyAttribBitsArray *attribBits,
41 gl::VertexArray::DirtyBindingBitsArray *bindingBits);
53 const gl::VertexArray::DirtyBits &dirtyBits, in syncState()
54 gl::VertexArray::DirtyAttribBitsArray *attribBits, in syncState()
55 gl::VertexArray::DirtyBindingBitsArray *bindingBits) in syncState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DVertexArrayNULL.cpp20 const gl::VertexArray::DirtyBits &dirtyBits, in syncState()
21 gl::VertexArray::DirtyAttribBitsArray *attribBits, in syncState()
22 gl::VertexArray::DirtyBindingBitsArray *bindingBits) in syncState()
25 memset(attribBits, 0, sizeof(gl::VertexArray::DirtyAttribBitsArray)); in syncState()
26 memset(bindingBits, 0, sizeof(gl::VertexArray::DirtyBindingBitsArray)); in syncState()
DVertexArrayNULL.h24 const gl::VertexArray::DirtyBits &dirtyBits,
25 gl::VertexArray::DirtyAttribBitsArray *attribBits,
26 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DVertexArrayNULL.cpp20 const gl::VertexArray::DirtyBits &dirtyBits, in syncState()
21 gl::VertexArray::DirtyAttribBitsArray *attribBits, in syncState()
22 gl::VertexArray::DirtyBindingBitsArray *bindingBits) in syncState()
25 memset(attribBits, 0, sizeof(gl::VertexArray::DirtyAttribBitsArray)); in syncState()
26 memset(bindingBits, 0, sizeof(gl::VertexArray::DirtyBindingBitsArray)); in syncState()
DVertexArrayNULL.h24 const gl::VertexArray::DirtyBits &dirtyBits,
25 gl::VertexArray::DirtyAttribBitsArray *attribBits,
26 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DVertexArrayImpl.h39 const gl::VertexArray::DirtyBits &dirtyBits,
40 gl::VertexArray::DirtyAttribBitsArray *attribBits,
41 gl::VertexArray::DirtyBindingBitsArray *bindingBits);
59 const gl::VertexArray::DirtyBits &dirtyBits, in syncState()
60 gl::VertexArray::DirtyAttribBitsArray *attribBits, in syncState()
61 gl::VertexArray::DirtyBindingBitsArray *bindingBits) in syncState()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp597 const gl::VertexArray::DirtyAttribBits &dirtyAttribBits) in syncDirtyAttrib()
605 case VertexArray::DIRTY_ATTRIB_ENABLED: in syncDirtyAttrib()
609 case VertexArray::DIRTY_ATTRIB_POINTER_BUFFER: in syncDirtyAttrib()
610 case VertexArray::DIRTY_ATTRIB_POINTER: in syncDirtyAttrib()
614 case VertexArray::DIRTY_ATTRIB_FORMAT: in syncDirtyAttrib()
619 case VertexArray::DIRTY_ATTRIB_BINDING: in syncDirtyAttrib()
633 const gl::VertexArray::DirtyBindingBits &dirtyBindingBits) in syncDirtyBinding()
641 case VertexArray::DIRTY_BINDING_BUFFER: in syncDirtyBinding()
646 case VertexArray::DIRTY_BINDING_DIVISOR: in syncDirtyBinding()
658 case VertexArray::DIRTY_BIT_ATTRIB_0 + INDEX: \
[all …]
DVertexArrayGL.h52 const gl::VertexArray::DirtyBits &dirtyBits,
53 gl::VertexArray::DirtyAttribBitsArray *attribBits,
54 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
95 const gl::VertexArray::DirtyAttribBits &dirtyAttribBits);
98 const gl::VertexArray::DirtyBindingBits &dirtyBindingBits);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.cpp38 case gl::VertexArray::DIRTY_BIT_ATTRIB_0 + INDEX: \
39 if ((*attribBits)[INDEX][gl::VertexArray::DirtyAttribBitType::DIRTY_ATTRIB_POINTER]) \
52 case gl::VertexArray::DIRTY_BIT_BINDING_0 + INDEX: \
59 case gl::VertexArray::DIRTY_BIT_BUFFER_DATA_0 + INDEX: \
68 const gl::VertexArray::DirtyBits &dirtyBits, in syncState()
69 gl::VertexArray::DirtyAttribBitsArray *attribBits, in syncState()
70 gl::VertexArray::DirtyBindingBitsArray *bindingBits) in syncState()
90 case gl::VertexArray::DIRTY_BIT_ELEMENT_ARRAY_BUFFER: in syncState()
91 case gl::VertexArray::DIRTY_BIT_ELEMENT_ARRAY_BUFFER_DATA: in syncState()
DVertexArray11.h31 const gl::VertexArray::DirtyBits &dirtyBits,
32 gl::VertexArray::DirtyAttribBitsArray *attribBits,
33 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.cpp38 case gl::VertexArray::DIRTY_BIT_ATTRIB_0 + INDEX: \
39 if ((*attribBits)[INDEX][gl::VertexArray::DirtyAttribBitType::DIRTY_ATTRIB_POINTER]) \
52 case gl::VertexArray::DIRTY_BIT_BINDING_0 + INDEX: \
59 case gl::VertexArray::DIRTY_BIT_BUFFER_DATA_0 + INDEX: \
68 const gl::VertexArray::DirtyBits &dirtyBits, in syncState()
69 gl::VertexArray::DirtyAttribBitsArray *attribBits, in syncState()
70 gl::VertexArray::DirtyBindingBitsArray *bindingBits) in syncState()
90 case gl::VertexArray::DIRTY_BIT_ELEMENT_ARRAY_BUFFER: in syncState()
91 case gl::VertexArray::DIRTY_BIT_ELEMENT_ARRAY_BUFFER_DATA: in syncState()
DVertexArray11.h31 const gl::VertexArray::DirtyBits &dirtyBits,
32 gl::VertexArray::DirtyAttribBitsArray *attribBits,
33 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
/third_party/vk-gl-cts/modules/glshared/
DglsRandomShaderCase.hpp44 class VertexArray class
47 VertexArray (const rsg::ShaderInput* input, int numVertices);
48 ~VertexArray (void) {} in ~VertexArray()
107 std::vector<VertexArray> m_vertexArrays;
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fVertexAttributeBindingStateQueryTests.cpp90 glu::VertexArray vao (m_context.getRenderContext()); in test()
110 glu::VertexArray otherVao (m_context.getRenderContext()); in test()
165 glu::VertexArray vao (m_context.getRenderContext()); in test()
185 glu::VertexArray otherVao (m_context.getRenderContext()); in test()
267 glu::VertexArray vao (m_context.getRenderContext()); in test()
290 glu::VertexArray otherVao (m_context.getRenderContext()); in test()
344 glu::VertexArray vao (m_context.getRenderContext()); in test()
368 glu::VertexArray otherVao (m_context.getRenderContext()); in test()
422 glu::VertexArray vao (m_context.getRenderContext()); in test()
446 glu::VertexArray otherVao (m_context.getRenderContext()); in test()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DVertexArrayGL.h52 const gl::VertexArray::DirtyBits &dirtyBits,
53 gl::VertexArray::DirtyAttribBitsArray *attribBits,
54 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
102 const gl::VertexArray::DirtyAttribBits &dirtyAttribBits);
105 const gl::VertexArray::DirtyBindingBits &dirtyBindingBits);
DVertexArrayGL.cpp867 const gl::VertexArray::DirtyAttribBits &dirtyAttribBits) in syncDirtyAttrib()
875 case VertexArray::DIRTY_ATTRIB_ENABLED: in syncDirtyAttrib()
879 case VertexArray::DIRTY_ATTRIB_POINTER_BUFFER: in syncDirtyAttrib()
880 case VertexArray::DIRTY_ATTRIB_POINTER: in syncDirtyAttrib()
884 case VertexArray::DIRTY_ATTRIB_FORMAT: in syncDirtyAttrib()
889 case VertexArray::DIRTY_ATTRIB_BINDING: in syncDirtyAttrib()
905 const gl::VertexArray::DirtyBindingBits &dirtyBindingBits) in syncDirtyBinding()
913 case VertexArray::DIRTY_BINDING_BUFFER: in syncDirtyBinding()
918 case VertexArray::DIRTY_BINDING_DIVISOR: in syncDirtyBinding()
931 case VertexArray::DIRTY_BIT_ATTRIB_0 + INDEX: \
[all …]

12345