Home
last modified time | relevance | path

Searched refs:fArena (Results 1 – 19 of 19) sorted by relevance

/external/skqp/src/atlastext/
DSkInternalAtlasTextContext.cpp63 fInlineUploads.append(&fArena, InlineUpload{std::move(upload), token}); in addInlineUpload()
69 fASAPUploads.append(&fArena, std::move(upload)); in addASAPUpload()
76 auto vertexData = fArena.makeArrayDefault<char>(vertexDataSize); in recordDraw()
86 fDraws.append(&fArena, in recordDraw()
127 fArena.reset(); in flush()
DSkInternalAtlasTextContext.h78 SkArenaAlloc fArena{1024 * 40};
/external/skia/src/gpu/tessellate/
DGrPathInnerTriangulateOp.cpp55 auto* shader = args.fArena->make<GrFillTriangleShader>(fViewMatrix, fColor); in pushFanFillProgram()
79 fFanTriangulator = args.fArena->make<GrInnerFanTriangulator>(fPath, args.fArena); in prePreparePrograms()
103 fTessellator = args.fArena->make<GrPathIndirectTessellator>(fViewMatrix, fPath, in prePreparePrograms()
207 auto* hullShader = args.fArena->make<GrFillCubicHullShader>(fViewMatrix, fColor); in prePreparePrograms()
DGrPathStencilFillOp.cpp63 fTessellator = args.fArena->make<GrPathIndirectTessellator>( in prePreparePrograms()
85 fTessellator = args.fArena->make<GrPathOuterCurveTessellator>(); in prePreparePrograms()
92 fTessellator = args.fArena->make<GrPathWedgeTessellator>(); in prePreparePrograms()
101 auto* bboxShader = args.fArena->make<GrFillBoundingBoxShader>(fViewMatrix, fColor, in prePreparePrograms()
DGrPathShader.h38 SkArenaAlloc* fArena; member
49 return args.fArena->make<GrProgramInfo>(args.fWriteView, pipeline, stencil, shader, in MakeProgram()
DGrStencilPathShader.h38 return args.fArena->make<GrPipeline>(pipelineArgs, in MakeStencilPassPipeline()
73 const auto* shader = args.fArena->make<ShaderType>(viewMatrix); in MakeStencilProgram()
DGrFillPathShader.h36 args.fCaps, args.fArena, args.fWriteView.swizzle(), std::move(appliedClip), in MakeFillPassPipeline()
DGrStrokeTessellateOp.cpp180 SkArenaAlloc* arena = args.fArena; in prePrepareTessellator()
/external/skia/bench/
DTriangulatorBench.cpp91 SkArenaAllocWithReset fArena{GrTriangulator::kArenaDefaultChunkSize}; member in TriangulatorBenchmark
117 GrInnerFanTriangulator(path, &fArena).pathToTriangles(this, &breadcrumbList, &isLinear); in doLoop()
119 fArena.reset(); in doLoop()
/external/skqp/src/gpu/
DGrOpFlushState.cpp67 fArena.reset(); in reset()
91 return fInlineUploads.append(&fArena, std::move(upload), fTokenTracker->nextDrawToken()) in addInlineUpload()
96 fASAPUploads.append(&fArena, std::move(upload)); in addASAPUpload()
107 auto& draw = fDraws.append(&fArena); in draw()
DGrOpFlushState.h116 SkArenaAlloc* pipelineArena() override { return &fArena; } in pipelineArena()
141 SkArenaAlloc fArena{sizeof(GrPipeline) * 100};
/external/skqp/src/pdf/
DSkPDFTag.cpp88 SkPDFTagTree::SkPDFTagTree() : fArena(4 * sizeof(SkPDFTagNode)) {} in SkPDFTagTree()
110 fRoot = fArena.make<SkPDFTagNode>(); in init()
111 copy(*node, fRoot, &fArena, &fNodeMap); in init()
116 fArena.reset(); in reset()
DSkPDFTag.h29 SkArenaAlloc fArena;
/external/skia/src/gpu/
DGrOpFlushState.cpp93 fArena.reset(); in reset()
136 return fInlineUploads.append(&fArena, std::move(upload), fTokenTracker->nextDrawToken()) in addInlineUpload()
141 fASAPUploads.append(&fArena, std::move(upload)); in addASAPUpload()
154 auto& draw = fDraws.append(&fArena); in recordDraw()
DGrProcessorUnitTest.h69 SkArenaAlloc* allocator() { return fArena.get(); } in allocator()
82 std::unique_ptr<SkArenaAlloc> fArena; variable
DGrOpFlushState.h191 SkArenaAlloc* allocator() override { return &fArena; } in allocator()
292 SkArenaAllocWithReset fArena{sizeof(GrPipeline) * 100};
DGrProcessorUnitTest.cpp33 fArena = std::make_unique<SkArenaAlloc>(1000); in GrProcessorTestData()
/external/skia/src/pdf/
DSkPDFTag.h53 SkArenaAlloc fArena; variable
DSkPDFTag.cpp212 SkPDFTagTree::SkPDFTagTree() : fArena(4 * sizeof(SkPDFTagNode)) {} in SkPDFTagTree()
245 fRoot = fArena.make<SkPDFTagNode>(); in init()
246 Copy(*node, fRoot, &fArena, &fNodeMap); in init()