Home
last modified time | relevance | path

Searched refs:vertexAlloc (Results 1 - 18 of 18) sorted by relevance

/third_party/skia/src/gpu/geometry/
H A DGrInnerFanTriangulator.h26 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 DPathStencilCoverOp.cpp240 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 DvktBindingDescriptorUpdateTests.cpp479 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 DvktBindingDescriptorUpdateTests.cpp479 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 DvktRasterizationDepthBiasControlTests.cpp404 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 DvktRayQueryCullRayFlagsTests.cpp340 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 DvktRayQueryTraversalControlTests.cpp259 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 DvktRayQueryAccelerationStructuresTests.cpp361 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 DvktRayQueryCullRayFlagsTests.cpp340 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 DvktRayQueryTraversalControlTests.cpp259 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 DvktRayQueryAccelerationStructuresTests.cpp355 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 DvktRenderPassFragmentDensityMapTests.cpp230 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 DvktRenderPassFragmentDensityMapTests.cpp226 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 DTriangulatingPathRendererTests.cpp864 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 DvktPipelineSamplerTests.cpp1617 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 DvktPipelineMultisampleTests.cpp5305 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 DvktPipelineSamplerTests.cpp1598 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 DvktPipelineMultisampleTests.cpp5032 auto& vertexAlloc = vertexBuffer.getAllocation();
5034 deMemcpy(vertexAlloc.getHostPtr(), vertices.data(), vertexBufferSize);
5035 vk::flushAlloc(vkd, device, vertexAlloc);

Completed in 64 milliseconds