Home
last modified time | relevance | path

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

/external/skia/src/gpu/tessellate/
DGrPathTessellator.cpp69 GrEagerDynamicVertexAllocator vertexAlloc(target, &fInstanceBuffer, &fBaseInstance); in prepare() local
70 SkPoint* instanceData = static_cast<SkPoint*>(vertexAlloc.lock(sizeof(SkPoint) * 4, in prepare()
105 vertexAlloc.unlock(0); in prepare()
117 vertexAlloc.unlock(0); in prepare()
221 vertexAlloc.unlock(fTotalInstanceCount); in prepare()
248 GrEagerDynamicVertexAllocator vertexAlloc(target, &fPatchBuffer, &fBasePatchVertex); in prepare() local
249 auto* vertexData = vertexAlloc.lock<SkPoint>(vertexLockCount); in prepare()
274 vertexAlloc.unlock(fPatchVertexCount); in prepare()
289 GrEagerDynamicVertexAllocator vertexAlloc(target, &fPatchBuffer, &fBasePatchVertex); in prepare() local
290 auto* vertexData = vertexAlloc.lock<SkPoint>(maxVertices); in prepare()
[all …]
DGrPathStencilFillOp.cpp144 GrEagerDynamicVertexAllocator vertexAlloc(flushState, &fFanBuffer, &fFanBaseVertex); in onPrepare() local
146 auto* triangleVertexData = vertexAlloc.lock<SkPoint>(maxFanTriangles * 3); in onPrepare()
150 vertexAlloc.unlock(fFanVertexCount); in onPrepare()
/external/skia/src/gpu/
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()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp476 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
477 …const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffs… in iterate()
479 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
944 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
945 …st auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.g… in iterate()
947 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
/external/deqp/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()
/external/skia/tests/
DTriangulatingPathRendererTests.cpp861 SimpleVertexAllocator vertexAlloc; in verify_simple_inner_polygons() local
866 vertexCount = triangulator.pathToTriangles(&vertexAlloc, &breadcrumbs, &isLinear); in verify_simple_inner_polygons()
872 add_tri_edges(r, trianglePlusBreadcrumbEdges, vertexAlloc.fPoints.data() + i); in verify_simple_inner_polygons()
/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryTraversalControlTests.cpp259 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon96deed750111::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::__anonaa40ba490111::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.cpp354 de::MovePtr<Allocation> vertexAlloc; member in vkt::RayQuery::__anon7697800e0111::GraphicsConfiguration
624vertexAlloc = allocator.allocate(getBufferMemoryRequirements(vkd, device, *vertexBuffer), MemoryR… in initConfiguration()
625 …VK_CHECK(vkd.bindBufferMemory(device, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOff… in initConfiguration()
628 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration()
629 flushAlloc(vkd, device, *vertexAlloc); in initConfiguration()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp1520 const auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
1521 …const auto vertexDataPtr = reinterpret_cast<char*>(vertexAlloc.getHostPtr()) + vertexAlloc.getOffs… in iterate()
1523 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
DvktPipelineMultisampleTests.cpp4097 auto& vertexAlloc = vertexBuffer.getAllocation(); in iterate() local
4099 deMemcpy(vertexAlloc.getHostPtr(), vertices.data(), vertexBufferSize); in iterate()
4100 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()