Home
last modified time | relevance | path

Searched refs:fTessellator (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/gpu/ops/
DPathTessellateOp.cpp72 SkASSERT(!fTessellator); in prepareTessellator()
76 fTessellator = PathWedgeTessellator::Make(args.fArena, in prepareTessellator()
84 fTessellator->patchAttribs(), in prepareTessellator()
105 if (!fTessellator) { in onPrepare()
110 SkASSERT(fTessellator); in onPrepare()
113 fTessellator->prepare(flushState, in onPrepare()
122 SkASSERT(fTessellator); in onExecute()
127 fTessellator->draw(flushState, fTessellationProgram->geomProc().willUseTessellationShaders()); in onExecute()
DPathInnerTriangulateOp.cpp215 SkASSERT(!fTessellator); in prePreparePrograms()
253 fTessellator = PathCurveTessellator::Make(args.fArena, in prePreparePrograms()
260 fTessellator->patchAttribs(), in prePreparePrograms()
368 SkASSERT(fTessellator); in prePreparePrograms()
420 if (fTessellator) { in onPrepare()
422 fTessellator->patchPreallocCount(fPath.countVerbs()); in onPrepare()
425 PatchWriter patchWriter(flushState, fTessellator, patchPreallocCount); in onPrepare()
449 fTessellator->writePatches(patchWriter, in onPrepare()
455 fTessellator->prepareFixedCountBuffers(flushState); in onPrepare()
478 SkASSERT(fTessellator); in onExecute()
[all …]
DPathStencilCoverOp.cpp133 SkASSERT(!fTessellator); in prePreparePrograms()
160 fTessellator = PathCurveTessellator::Make(args.fArena, in prePreparePrograms()
163 fTessellator = PathWedgeTessellator::Make(args.fArena, in prePreparePrograms()
171 fTessellator->patchAttribs(), in prePreparePrograms()
226 if (!fTessellator) { in onPrepare()
231 if (!fTessellator) { in onPrepare()
263 fTessellator->prepare(flushState, in onPrepare()
317 if (!fTessellator) { in onExecute()
339 fTessellator->draw(flushState, fStencilPathProgram->geomProc().willUseTessellationShaders()); in onExecute()
DStrokeTessellateOp.cpp178 SkASSERT(!fTessellator); in prePrepareTessellator()
196 fTessellator = arena->make<StrokeHardwareTessellator>(fPatchAttribs); in prePrepareTessellator()
202 fTessellator = arena->make<StrokeFixedCountTessellator>(fPatchAttribs); in prePrepareTessellator()
247 if (!fTessellator) { in onPrepare()
253 SkASSERT(fTessellator); in onPrepare()
258 int fixedEdgeCount = fTessellator->prepare(flushState, in onPrepare()
272 fTessellator->draw(flushState); in onExecute()
277 fTessellator->draw(flushState); in onExecute()
DStrokeTessellateOp.h76 StrokeTessellator* fTessellator = nullptr; variable
DPathInnerTriangulateOp.h85 PathCurveTessellator* fTessellator = nullptr; variable
DPathTessellateOp.h74 PathTessellator* fTessellator = nullptr; variable
DPathStencilCoverOp.h99 PathTessellator* fTessellator = nullptr;
/third_party/skia/samplecode/
DSamplePathTessellators.cpp95 fTessellator = PathWedgeTessellator::Make(alloc, shaderCaps.infinitySupport()); in onPrepare()
100 fTessellator = PathCurveTessellator::Make(alloc, in onPrepare()
106 fTessellator = PathWedgeTessellator::Make(alloc, shaderCaps.infinitySupport()); in onPrepare()
111 fTessellator = PathCurveTessellator::Make(alloc, in onPrepare()
122 fTessellator->patchAttribs(), in onPrepare()
134 int patchPreallocCount = fTessellator->patchPreallocCount(fPath.countVerbs()); in onPrepare()
138 PatchWriter patchWriter(flushState, fTessellator, patchPreallocCount); in onPrepare()
151 fTessellator->writePatches(patchWriter, in onPrepare()
157 fTessellator->prepareFixedCountBuffers(flushState); in onPrepare()
163 fTessellator->draw(flushState, fProgram->geomProc().willUseTessellationShaders()); in onExecute()
[all …]
/third_party/skia/bench/
DTessellateBench.cpp354 fTessellator = fMakeTessellatorFn(fPatchAttribs); in onDelayedSetup()
359 fTessellator->prepare(fTarget.get(), in onDraw()
375 std::unique_ptr<StrokeTessellator> fTessellator; member in skgpu::TessPrepareBench