Home
last modified time | relevance | path

Searched refs:vertexAlloc (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/src/gpu/geometry/
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/
DPathStencilCoverOp.cpp239 GrEagerDynamicVertexAllocator vertexAlloc(flushState, &fFanBuffer, &fFanBaseVertex); in onPrepare() local
246 if (VertexWriter triangleVertexWriter = vertexAlloc.lock<SkPoint>(maxTrianglesInFans * 3)) { in onPrepare()
259 vertexAlloc.unlock(fFanVertexCount); in onPrepare()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp479 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
480 …const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffs… in iterate()
482 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
948 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
949 …st auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.g… in iterate()
951 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp479 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
480 …const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffs… in iterate()
482 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
948 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
949 …st auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.g… in iterate()
951 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
DvktRayQueryTraversalControlTests.cpp259 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon3253bc1a0111::GraphicsConfiguration
531vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryR… in initConfiguration()
532 …VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOff… in initConfiguration()
535 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration()
536 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
DvktRayQueryCullRayFlagsTests.cpp340 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon9215fe6e0111::GraphicsConfiguration
612vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryR… in initConfiguration()
613 …VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOff… in initConfiguration()
616 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration()
617 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
DvktRayQueryAccelerationStructuresTests.cpp355 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anond337f6730111::GraphicsConfiguration
625vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryR… in initConfiguration()
626 …VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOff… 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/ray_query/
DvktRayQueryTraversalControlTests.cpp259 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon8598e65a0111::GraphicsConfiguration
531vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryR… in initConfiguration()
532 …VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOff… in initConfiguration()
535 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration()
536 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
DvktRayQueryCullRayFlagsTests.cpp340 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anond6e008ae0111::GraphicsConfiguration
612vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryR… in initConfiguration()
613 …VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOff… in initConfiguration()
616 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration()
617 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
DvktRayQueryAccelerationStructuresTests.cpp355 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon12c3d0b30111::GraphicsConfiguration
625vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryR… in initConfiguration()
626 …VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOff… in initConfiguration()
629 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration()
630 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
/third_party/skia/tests/
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/renderpass/
DvktRenderPassFragmentDensityMapTests.cpp226 de::MovePtr<Allocation>& vertexAlloc) in createVertexBuffer() argument
241vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryR… in createVertexBuffer()
242 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOf… in createVertexBuffer()
245 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(T)); in createVertexBuffer()
246 flushAlloc(vk, vkDevice, *vertexAlloc); in createVertexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassFragmentDensityMapTests.cpp226 de::MovePtr<Allocation>& vertexAlloc) in createVertexBuffer() argument
241vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryR… in createVertexBuffer()
242 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOf… in createVertexBuffer()
245 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(T)); in createVertexBuffer()
246 flushAlloc(vk, vkDevice, *vertexAlloc); in createVertexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineSamplerTests.cpp1598 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
1599 …const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffs… in iterate()
1601 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
DvktPipelineMultisampleTests.cpp5032 auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
5034 deMemcpy(vertexAlloc.getHostPtr(), vertices.data(), vertexBufferSize); in iterate()
5035 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp1598 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
1599 …const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffs… in iterate()
1601 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
DvktPipelineMultisampleTests.cpp5032 auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
5034 deMemcpy(vertexAlloc.getHostPtr(), vertices.data(), vertexBufferSize); in iterate()
5035 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()