Home
last modified time | relevance | path

Searched refs:vertexAlloc (Results 1 – 10 of 10) 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/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp477 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
478 …const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffs… in iterate()
480 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
945 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
946 …st auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.g… in iterate()
948 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryTraversalControlTests.cpp259 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon0159e24e0111::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::__anon27b92aa20111::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::__anon1696f3a70111::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/renderpass/
DvktRenderPassFragmentDensityMapTests.cpp224 de::MovePtr<Allocation>& vertexAlloc) in createVertexBuffer() argument
239vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryR… in createVertexBuffer()
240 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOf… in createVertexBuffer()
243 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(T)); in createVertexBuffer()
244 flushAlloc(vk, vkDevice, *vertexAlloc); in createVertexBuffer()
/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/pipeline/
DvktPipelineSamplerTests.cpp1527 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
1528 …const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffs… in iterate()
1530 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
DvktPipelineMultisampleTests.cpp4972 auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
4974 deMemcpy(vertexAlloc.getHostPtr(), vertices.data(), vertexBufferSize); in iterate()
4975 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()