/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | VertexArrayPerfTest.cpp | 126 for (GLuint vertexArray : mVertexArrays) in initializeBenchmark() local 128 rebindVertexArray(vertexArray, mBuffers[0]); in initializeBenchmark() 179 for (GLuint vertexArray : mVertexArrays) in drawBenchmark() local 182 updateBufferData(vertexArray, mBuffers[0], params.bufferSize[bufferSizeIndex]); in drawBenchmark() 188 for (GLuint vertexArray : mVertexArrays) in drawBenchmark() local 191 rebindVertexArray(vertexArray, mBuffers[bufferIndex]); in drawBenchmark()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Buffer.h | 75 VertexArray *vertexArray = nullptr; member 81 return lhs.vertexArray == rhs.vertexArray && lhs.bufferIndex == rhs.bufferIndex; 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;
|
D | Buffer.cpp | 401 size_t Buffer::getContentsObserverIndex(VertexArray *vertexArray, uint32_t bufferIndex) const in getContentsObserverIndex() argument 406 if (observer.vertexArray == vertexArray && observer.bufferIndex == bufferIndex) in getContentsObserverIndex() 415 void Buffer::addContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex) in addContentsObserver() argument 417 if (getContentsObserverIndex(vertexArray, bufferIndex) == kInvalidContentsObserverIndex) in addContentsObserver() 419 mContentsObservers.push_back({vertexArray, bufferIndex}); in addContentsObserver() 423 void Buffer::removeContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex) in removeContentsObserver() argument 425 size_t foundObserver = getContentsObserverIndex(vertexArray, bufferIndex); in removeContentsObserver() 441 observer.vertexArray->onBufferContentsChange(observer.bufferIndex); in onContentsChange()
|
D | VertexArray.cpp | 29 VertexArrayState::VertexArrayState(VertexArray *vertexArray, in VertexArrayState() argument 32 : mElementArrayBuffer(vertexArray, kElementArrayBufferIndex) in VertexArrayState() 778 VertexArrayBufferContentsObservers::VertexArrayBufferContentsObservers(VertexArray *vertexArray) in VertexArrayBufferContentsObservers() argument 779 : mVertexArray(vertexArray) in VertexArrayBufferContentsObservers()
|
D | VertexArray.h | 40 VertexArrayState(VertexArray *vertexArray, size_t maxAttribs, size_t maxBindings); 115 VertexArrayBufferContentsObservers(VertexArray *vertexArray);
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DrawElementsTest.cpp | 41 for (GLuint vertexArray : mVertexArrays) in ~DrawElementsTest() local 43 if (vertexArray != 0) in ~DrawElementsTest() 45 glDeleteVertexArrays(1, &vertexArray); in ~DrawElementsTest() 125 GLuint vertexArray; in TEST_P() local 126 glGenVertexArrays(1, &vertexArray); in TEST_P() 127 glBindVertexArray(vertexArray); in TEST_P() 144 glDeleteVertexArrays(1, &vertexArray); in TEST_P() 325 GLVertexArray vertexArray; in TEST_P() local 326 glBindVertexArray(vertexArray); in TEST_P()
|
D | LineLoopTest.cpp | 514 GLVertexArray vertexArray; in runTest() local 530 glBindVertexArray(vertexArray); in runTest()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLPreRotationTest.cpp | 337 GLVertexArray vertexArray; in TEST_P() local 340 glBindVertexArray(vertexArray); in TEST_P() 426 GLVertexArray vertexArray; in TEST_P() local 429 glBindVertexArray(vertexArray); in TEST_P() 546 GLVertexArray vertexArray; in TEST_P() local 549 glBindVertexArray(vertexArray); in TEST_P() 690 GLVertexArray vertexArray; in TEST_P() local 693 glBindVertexArray(vertexArray); in TEST_P() 764 GLVertexArray *vertexArray, in initializeGeometry() argument 773 glBindVertexArray(*vertexArray); in initializeGeometry() [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluDrawUtil.cpp | 389 …c inline VertexAttributeDescriptor getUserPointerDescriptor (const VertexArrayBinding& vertexArray) in getUserPointerDescriptor() argument 391 DE_ASSERT(vertexArray.binding.type == BindingPoint::BPTYPE_LOCATION); in getUserPointerDescriptor() 393 return VertexAttributeDescriptor(vertexArray.binding.location, in getUserPointerDescriptor() 394 vertexArray.pointer.componentType, in getUserPointerDescriptor() 395 vertexArray.pointer.convert, in getUserPointerDescriptor() 396 vertexArray.pointer.numComponents, in getUserPointerDescriptor() 397 vertexArray.pointer.numElements, in getUserPointerDescriptor() 398 vertexArray.pointer.stride, in getUserPointerDescriptor() 399 vertexArray.pointer.data); in getUserPointerDescriptor()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fFboNoAttachmentTests.cpp | 122 GLuint vertexArray = 0; in checkFramebufferSize() local 126 gl.genVertexArrays(1, &vertexArray); in checkFramebufferSize() 127 gl.bindVertexArray(vertexArray); in checkFramebufferSize() 164 gl.deleteVertexArrays(1, &vertexArray); in checkFramebufferSize() 222 GLuint vertexArray = 0; in checkFramebufferRenderable() local 226 gl.genVertexArrays(1, &vertexArray); in checkFramebufferRenderable() 227 gl.bindVertexArray(vertexArray); in checkFramebufferRenderable() 244 gl.deleteVertexArrays(1, &vertexArray); in checkFramebufferRenderable()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DrawElementsTest.cpp | 39 for (GLuint vertexArray : mVertexArrays) in ~DrawElementsTest() local 41 if (vertexArray != 0) in ~DrawElementsTest() 43 glDeleteVertexArrays(1, &vertexArray); in ~DrawElementsTest()
|
D | FramebufferTest.cpp | 874 GLuint vertexArray = 0; in TEST_P() local 880 glGenVertexArrays(1, &vertexArray); in TEST_P() 881 glBindVertexArray(vertexArray); in TEST_P() 924 glDeleteVertexArrays(1, &vertexArray); in TEST_P()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/ |
D | vktImagelessFramebufferTests.cpp | 1028 const std::vector<float> vertexArray (getFullQuadVertices()); in readOneSampleFromMultisampleImage() local 1029 const deUint32 vertexCount (static_cast<deUint32>(vertexArray.size() / 4u)); in readOneSampleFromMultisampleImage() 1030 const VkDeviceSize vertexArraySize (vertexArray.size() * sizeof(vertexArray[0])); in readOneSampleFromMultisampleImage() 1035 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in readOneSampleFromMultisampleImage() 1221 const std::vector<float> vertexArray (getVertices()); in iterate() local 1222 const deUint32 vertexCount (static_cast<deUint32>(vertexArray.size() / 4u)); in iterate() 1223 const VkDeviceSize vertexArraySize (vertexArray.size() * sizeof(vertexArray[0])); in iterate() 1228 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in iterate() 1455 const std::vector<float> vertexArray (getVertices()); in iterate() local 1456 const deUint32 vertexCount (static_cast<deUint32>(vertexArray.size() / 4u)); in iterate() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cShadingLanguage420PackTests.hpp | 345 struct vertexArray struct in gl4cts::GLSL420Pack::Utils 347 vertexArray(deqp::Context& Context); 348 ~vertexArray(); 532 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao); 703 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao); 1187 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao); 1255 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao); 1464 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao); 2628 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageTranscodingSupportTests.cpp | 340 const std::vector<tcu::Vec4> vertexArray = createFullscreenQuad(); in transcode() local 341 const deUint32 vertexCount = static_cast<deUint32>(vertexArray.size()); in transcode() 342 const size_t vertexBufferSizeInBytes = vertexCount * sizeof(vertexArray[0]); in transcode() 393 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode() 590 const std::vector<tcu::Vec4> vertexArray = createFullscreenQuad(); in transcode() local 591 const deUint32 vertexCount = static_cast<deUint32>(vertexArray.size()); in transcode() 592 const size_t vertexBufferSizeInBytes = vertexCount * sizeof(vertexArray[0]); in transcode() 650 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Context.h | 394 bool isVertexArrayGenerated(GLuint vertexArray); 395 bool isTransformFeedbackGenerated(GLuint vertexArray); 597 void detachVertexArray(GLuint vertexArray);
|
D | State.cpp | 1380 void State::setVertexArrayBinding(const Context *context, VertexArray *vertexArray) in setVertexArrayBinding() argument 1382 if (mVertexArray == vertexArray) in setVertexArrayBinding() 1386 mVertexArray = vertexArray; in setVertexArrayBinding() 1387 if (vertexArray) in setVertexArrayBinding() 1388 vertexArray->onBindingChanged(context, 1); in setVertexArrayBinding() 1397 bool State::removeVertexArrayBinding(const Context *context, GLuint vertexArray) in removeVertexArrayBinding() argument 1399 if (mVertexArray && mVertexArray->id() == vertexArray) in removeVertexArrayBinding()
|
D | Context.cpp | 567 for (auto vertexArray : mVertexArrayMap) in onDestroy() local 569 if (vertexArray.second) in onDestroy() 571 vertexArray.second->onDestroy(this); in onDestroy() 1118 VertexArray *vertexArray = checkVertexArrayAllocation(vertexArrayHandle); in bindVertexArray() local 1119 mState.setVertexArrayBinding(this, vertexArray); in bindVertexArray() 1120 mVertexArrayObserverBinding.bind(vertexArray); in bindVertexArray() 2736 VertexArray *vertexArray = getVertexArray(vertexArrayHandle); in checkVertexArrayAllocation() local 2737 if (!vertexArray) in checkVertexArrayAllocation() 2739 vertexArray = in checkVertexArrayAllocation() 2742 vertexArray->setBufferAccessValidationEnabled(mBufferAccessValidationEnabled); in checkVertexArrayAllocation() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderExecUtil.cpp | 1378 deUint32 vertexArray; in execute() local 1379 gl.genVertexArrays(1, &vertexArray); in execute() 1380 gl.bindVertexArray(vertexArray); in execute() 1387 gl.deleteVertexArrays(1, &vertexArray); in execute() 1503 deUint32 vertexArray; in execute() local 1504 gl.genVertexArrays(1, &vertexArray); in execute() 1505 gl.bindVertexArray(vertexArray); in execute() 1512 gl.deleteVertexArrays(1, &vertexArray); in execute()
|
D | glsStateChangePerfTestCases.cpp | 472 GLuint vertexArray; in requireVertexArrays() local 473 gl.genVertexArrays(1, &vertexArray); in requireVertexArrays() 475 m_vertexArrays.push_back(vertexArray); in requireVertexArrays()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | VertexDataManager.cpp | 252 const gl::VertexArray *vertexArray = state.getVertexArray(); in prepareVertexData() local 253 const auto &vertexAttributes = vertexArray->getVertexAttributes(); in prepareVertexData() 254 const auto &vertexBindings = vertexArray->getVertexBindings(); in prepareVertexData()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcViewportArrayTests.hpp | 206 struct vertexArray struct in glcts::ViewportArray::Utils 208 vertexArray(deqp::Context& Context); 209 ~vertexArray();
|
D | glcSeparableProgramsTransformFeedbackTests.cpp | 262 Utils::vertexArray vao(m_context); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | VertexDataManager.cpp | 251 const gl::VertexArray *vertexArray = state.getVertexArray(); in prepareVertexData() local 252 const auto &vertexAttributes = vertexArray->getVertexAttributes(); in prepareVertexData() 253 const auto &vertexBindings = vertexArray->getVertexBindings(); in prepareVertexData()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
D | frame_capture_utils.cpp | 1323 void SerializeVertexArray(JsonSerializer *json, gl::VertexArray *vertexArray) in SerializeVertexArray() argument 1325 GroupScope group(json, "VertexArray", vertexArray->id().value); in SerializeVertexArray() 1326 SerializeVertexArrayState(json, vertexArray->getState()); in SerializeVertexArray() 1328 vertexArray->isBufferAccessValidationEnabled()); in SerializeVertexArray() 1416 for (const auto &vertexArray : vertexArrayMap) in SerializeContextToString() local 1418 gl::VertexArray *vertexArrayPtr = vertexArray.second; in SerializeContextToString()
|