Lines Matching refs:args
47 bool PathRenderer::drawPath(const DrawPathArgs& args) {
49 args.validate();
51 canArgs.fCaps = args.fContext->priv().caps();
52 canArgs.fProxy = args.fSurfaceDrawContext->asRenderTargetProxy();
53 canArgs.fClipConservativeBounds = args.fClipConservativeBounds;
54 canArgs.fViewMatrix = args.fViewMatrix;
55 canArgs.fShape = args.fShape;
56 canArgs.fPaint = &args.fPaint;
57 canArgs.fSurfaceProps = &args.fSurfaceDrawContext->surfaceProps();
58 canArgs.fAAType = args.fAAType;
61 canArgs.fHasUserStencilSettings = !args.fUserStencilSettings->isUnused();
63 if (!args.fUserStencilSettings->isUnused()) {
65 args.fShape->asPath(&path);
66 SkASSERT(args.fShape->style().isSimpleFill());
67 SkASSERT(kNoRestriction_StencilSupport == this->getStencilSupport(*args.fShape));
70 return this->onDrawPath(args);
85 void PathRenderer::onStencilPath(const StencilPathArgs& args) {
97 DrawPathArgs drawArgs{args.fContext,
100 args.fSurfaceDrawContext,
102 args.fClipConservativeBounds,
103 args.fViewMatrix,
104 args.fShape,
105 (GrAA::kYes == args.fDoStencilMSAA) ? GrAAType::kMSAA : GrAAType::kNone,