Lines Matching defs:args
169 const PathData& args = fPaths[i];
172 maxVertices += GrPathUtils::worstCasePointCount(args.fPath, &contourCount,
173 args.fTolerance);
231 const PathData& args = fPaths[i];
241 args.fPath,
242 args.fTolerance,
577 bool GrDefaultPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const {
579 return GrAAType::kCoverage != args.fAAType &&
580 (args.fShape->style().isSimpleFill() ||
581 IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr));
584 bool GrDefaultPathRenderer::onDrawPath(const DrawPathArgs& args) {
585 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(),
587 return this->internalDrawPath(args.fRenderTargetContext,
588 std::move(args.fPaint),
589 args.fAAType,
590 *args.fUserStencilSettings,
591 *args.fClip,
592 *args.fViewMatrix,
593 *args.fShape,
597 void GrDefaultPathRenderer::onStencilPath(const StencilPathArgs& args) {
598 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(),
600 SkASSERT(!args.fShape->inverseFilled());
605 this->internalDrawPath(args.fRenderTargetContext, std::move(paint), args.fAAType,
606 GrUserStencilSettings::kUnused, *args.fClip, *args.fViewMatrix,
607 *args.fShape, true);