/third_party/skia/src/gpu/geometry/ |
H A D | GrInnerFanTriangulator.h | 26 int pathToTriangles(GrEagerVertexAllocator* vertexAlloc, BreadcrumbTriangleList* breadcrumbList, in pathToTriangles() argument 29 return this->polysToTriangles(polys, vertexAlloc, breadcrumbList); in pathToTriangles() 38 int polysToTriangles(Poly* polys, GrEagerVertexAllocator* vertexAlloc, in polysToTriangles() argument 40 int vertexCount = this->GrTriangulator::polysToTriangles(polys, vertexAlloc); in polysToTriangles()
|
/third_party/skia/src/gpu/ops/ |
H A D | PathStencilCoverOp.cpp | 240 GrEagerDynamicVertexAllocator vertexAlloc(flushState, &fFanBuffer, &fFanBaseVertex); in onPrepare() 247 if (VertexWriter triangleVertexWriter = vertexAlloc.lock<SkPoint>(maxTrianglesInFans * 3)) { in onPrepare() 260 vertexAlloc.unlock(fFanVertexCount); in onPrepare()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
H A D | vktBindingDescriptorUpdateTests.cpp | 479 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local 480 const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffset(); in iterate() 482 vk::flushAlloc(vkd, device, vertexAlloc); in iterate() 948 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local 949 const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffset(); in iterate() 951 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/ |
H A D | vktBindingDescriptorUpdateTests.cpp | 479 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local 480 const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffset(); in iterate() 482 vk::flushAlloc(vkd, device, vertexAlloc); in iterate() 948 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local 949 const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffset(); in iterate() 951 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktRasterizationDepthBiasControlTests.cpp | 404 auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local 407 deMemcpy(vertexAlloc.getHostPtr(), de::dataOrNull(vertices), de::dataSize(vertices)); in iterate() 408 flushAlloc(ctx.vkd, ctx.device, vertexAlloc); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
H A D | vktRayQueryCullRayFlagsTests.cpp | 340 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon28406::GraphicsConfiguration 612 vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryRequirement::HostVisible); in initConfiguration() 613 VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in initConfiguration() 616 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration() 617 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
|
H A D | vktRayQueryTraversalControlTests.cpp | 259 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon28422::GraphicsConfiguration 531 vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryRequirement::HostVisible); in initConfiguration() 532 VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in initConfiguration() 535 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration() 536 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
|
H A D | vktRayQueryAccelerationStructuresTests.cpp | 361 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon28379::GraphicsConfiguration 632 vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryRequirement::HostVisible); in initConfiguration() 633 VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in initConfiguration() 636 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration() 637 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
H A D | vktRayQueryCullRayFlagsTests.cpp | 340 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon29606::GraphicsConfiguration 612 vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryRequirement::HostVisible); in initConfiguration() 613 VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in initConfiguration() 616 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration() 617 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
|
H A D | vktRayQueryTraversalControlTests.cpp | 259 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon29619::GraphicsConfiguration 531 vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryRequirement::HostVisible); in initConfiguration() 532 VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in initConfiguration() 535 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration() 536 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
|
H A D | vktRayQueryAccelerationStructuresTests.cpp | 355 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon29581::GraphicsConfiguration 625 vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryRequirement::HostVisible); in initConfiguration() 626 VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in initConfiguration() 629 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration() 630 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassFragmentDensityMapTests.cpp | 230 de::MovePtr<Allocation>& vertexAlloc) in createVertexBuffer() 245 vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); in createVertexBuffer() 246 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in createVertexBuffer() 249 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(T)); in createVertexBuffer() 250 flushAlloc(vk, vkDevice, *vertexAlloc); in createVertexBuffer() 224 createVertexBuffer(const DeviceInterface& vk, VkDevice vkDevice, const deUint32& queueFamilyIndex, SimpleAllocator& memAlloc, const std::vector<T>& vertices, Move<VkBuffer>& vertexBuffer, de::MovePtr<Allocation>& vertexAlloc) createVertexBuffer() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassFragmentDensityMapTests.cpp | 226 de::MovePtr<Allocation>& vertexAlloc) in createVertexBuffer() 241 vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); in createVertexBuffer() 242 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in createVertexBuffer() 245 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(T)); in createVertexBuffer() 246 flushAlloc(vk, vkDevice, *vertexAlloc); in createVertexBuffer() 220 createVertexBuffer(const DeviceInterface& vk, VkDevice vkDevice, const deUint32& queueFamilyIndex, SimpleAllocator& memAlloc, const std::vector<T>& vertices, Move<VkBuffer>& vertexBuffer, de::MovePtr<Allocation>& vertexAlloc) createVertexBuffer() argument
|
/third_party/skia/tests/ |
H A D | TriangulatingPathRendererTests.cpp | 864 SimpleVertexAllocator vertexAlloc; in verify_simple_inner_polygons() local 869 vertexCount = triangulator.pathToTriangles(&vertexAlloc, &breadcrumbs, &isLinear); in verify_simple_inner_polygons() 875 add_tri_edges(r, trianglePlusBreadcrumbEdges, vertexAlloc.fPoints.data() + i); in verify_simple_inner_polygons()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineSamplerTests.cpp | 1617 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local 1618 const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffset(); in iterate() 1620 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
|
H A D | vktPipelineMultisampleTests.cpp | 5305 auto& vertexAlloc = vertexBuffer.getAllocation(); 5307 deMemcpy(vertexAlloc.getHostPtr(), vertices.data(), vertexBufferSize); 5308 vk::flushAlloc(vkd, device, vertexAlloc);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineSamplerTests.cpp | 1598 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local 1599 const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffset(); in iterate() 1601 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
|
H A D | vktPipelineMultisampleTests.cpp | 5032 auto& vertexAlloc = vertexBuffer.getAllocation(); 5034 deMemcpy(vertexAlloc.getHostPtr(), vertices.data(), vertexBufferSize); 5035 vk::flushAlloc(vkd, device, vertexAlloc);
|