Lines Matching refs:args
501 const PathData& args = fPaths[i];
502 pathGeoBuilder.addPath(args.fPath, args.fTolerance);
773 PathRenderer::CanDrawPath DefaultPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const {
775 args.fShape->style(), *args.fViewMatrix, nullptr);
777 if (!(single_pass_shape(*args.fShape) || isHairline) &&
778 !args.fProxy->canUseStencil(*args.fCaps)) {
782 if (GrAAType::kNone != args.fAAType && GrAAType::kMSAA != args.fAAType) {
786 if (!args.fShape->style().isSimpleFill() && !isHairline) {
793 bool DefaultPathRenderer::onDrawPath(const DrawPathArgs& args) {
794 GR_AUDIT_TRAIL_AUTO_FRAME(args.fContext->priv().auditTrail(),
796 GrAAType aaType = (GrAAType::kNone != args.fAAType) ? GrAAType::kMSAA : GrAAType::kNone;
799 args.fSurfaceDrawContext, std::move(args.fPaint), aaType, *args.fUserStencilSettings,
800 args.fClip, *args.fViewMatrix, *args.fShape, false);
803 void DefaultPathRenderer::onStencilPath(const StencilPathArgs& args) {
804 GR_AUDIT_TRAIL_AUTO_FRAME(args.fContext->priv().auditTrail(),
806 SkASSERT(!args.fShape->inverseFilled());
811 auto aaType = (GrAA::kYes == args.fDoStencilMSAA) ? GrAAType::kMSAA : GrAAType::kNone;
814 args.fSurfaceDrawContext, std::move(paint), aaType, GrUserStencilSettings::kUnused,
815 args.fClip, *args.fViewMatrix, *args.fShape, true);