Home
last modified time | relevance | path

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

1234

/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;
DBuffer.h75 VertexArray *vertexArray = nullptr;
189 void addContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex);
190 void removeContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex);
206 size_t getContentsObserverIndex(VertexArray *vertexArray, uint32_t bufferIndex) const;
DContext.h83 class VertexArray; variable
338 using VertexArrayMap = ResourceMap<VertexArray, VertexArrayID>;
400 VertexArray *getVertexArray(VertexArrayID handle) const;
507 bool isCurrentVertexArray(const VertexArray *va) const in isCurrentVertexArray()
652 VertexArray *checkVertexArrayAllocation(VertexArrayID vertexArrayHandle);
DBuffer.cpp401 size_t Buffer::getContentsObserverIndex(VertexArray *vertexArray, uint32_t bufferIndex) const in getContentsObserverIndex()
415 void Buffer::addContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex) in addContentsObserver()
423 void Buffer::removeContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex) in removeContentsObserver()
/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();
DCMakeLists.txt64 VertexArray.cpp
65 VertexArray.h
/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/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/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 …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DBindingPerf.cpp27 VertexArray, enumerator
70 if (testMode == TestMode::VertexArray) in story()
204 if (params.testMode == TestMode::VertexArray) in drawBenchmark()
259 VulkanParams(AT_INITIALIZATION, TestMode::VertexArray));
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVertexArrayVk.h31 const gl::VertexArray::DirtyBits &dirtyBits,
32 gl::VertexArray::DirtyAttribBitsArray *attribBits,
33 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
DVertexArrayVk.cpp458 const gl::VertexArray::DirtyBits &dirtyBits, in syncState()
459 gl::VertexArray::DirtyAttribBitsArray *attribBits, in syncState()
460 gl::VertexArray::DirtyBindingBitsArray *bindingBits) in syncState()
474 case gl::VertexArray::DIRTY_BIT_ELEMENT_ARRAY_BUFFER: in syncState()
475 case gl::VertexArray::DIRTY_BIT_ELEMENT_ARRAY_BUFFER_DATA: in syncState()
500 case gl::VertexArray::DIRTY_BIT_ATTRIB_0 + INDEX: \ in syncState()
504 angle::Bit<unsigned long>(gl::VertexArray::DIRTY_ATTRIB_POINTER_BUFFER); \ in syncState()
514 case gl::VertexArray::DIRTY_BIT_BINDING_0 + INDEX: \ in syncState()
526 case gl::VertexArray::DIRTY_BIT_BUFFER_DATA_0 + INDEX: \ in syncState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DVertexArrayMtl.h33 const gl::VertexArray::DirtyBits &dirtyBits,
34 gl::VertexArray::DirtyAttribBitsArray *attribBits,
35 gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceContext.hpp407 class VertexArray : public NamedObject class
437 VertexArray (deUint32 name, int maxVertexAttribs);
438 ~VertexArray (void) {} in ~VertexArray()
781 void deleteVertexArray (rc::VertexArray* vertexArray);
877 rc::VertexArray m_clientVertexArray;
885 rc::ObjectManager<rc::VertexArray> m_vertexArrays;
908 rc::VertexArray* m_vertexArrayBinding;
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.hpp253 class VertexArray class
258 VertexArray(const glw::Functions& gl);
259 ~VertexArray();

1234