34 fChain.push_back(sk_make_sp<ganesh::DashLinePathRenderer>());
37 fChain.push_back(sk_make_sp<AAConvexPathRenderer>());
40 fChain.push_back(sk_make_sp<AAHairLinePathRenderer>());
43 fChain.push_back(sk_make_sp<AALinearizingConvexPathRenderer>());
47 fAtlasPathRenderer = atlasPathRenderer.get();
49 fChain.push_back(std::move(atlasPathRenderer));
52#if !defined(SK_ENABLE_OPTIMIZE_SIZE)
54 fChain.push_back(sk_make_sp<SmallPathRenderer>());
57 fChain.push_back(sk_make_sp<TriangulatingPathRenderer>());
62 auto tess = sk_make_sp<TessellationPathRenderer>();
63 fTessellationPathRenderer =
tess.get();
64 fChain.push_back(std::move(
tess));
69 fChain.push_back(sk_make_sp<DefaultPathRenderer>());
89 if (!
args.fShape->style().isSimpleFill()) {
98 support = pr->getStencilSupport(*
args.fShape);
99 if (support < minStencilSupport) {
110 if (stencilSupport) {
111 *stencilSupport = support;
113 bestPathRenderer = pr.get();
118 return bestPathRenderer;
const GrCaps * caps() const
void addOnFlushCallbackObject(GrOnFlushCallbackObject *)
GrRecordingContextPriv priv()
static sk_sp< AtlasPathRenderer > Make(GrRecordingContext *rContext)
PathRenderer * getPathRenderer(const PathRenderer::CanDrawPathArgs &, DrawType, PathRenderer::StencilSupport *)
PathRendererChain(GrRecordingContext *, const Options &)
@ kNoRestriction_StencilSupport
@ kNoSupport_StencilSupport
@ kStencilOnly_StencilSupport
static bool IsSupported(const GrCaps &)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
static TessellatorLibtess tess