Lines Matching defs:args
1161 const PathData& args = fPaths[i];
1162 quadCount += gather_lines_and_quads(args.fPath, args.fViewMatrix, args.fDevClipBounds,
1163 args.fCapLength, convertConicsToQuads, &lines, &quads,
1295 PathRenderer::CanDrawPath AAHairLinePathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const {
1296 if (GrAAType::kCoverage != args.fAAType) {
1300 if (!GrIsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr)) {
1305 if (args.fShape->style().pathEffect()) {
1309 if (SkPath::kLine_SegmentMask == args.fShape->segmentMask() ||
1310 args.fCaps->shaderCaps()->shaderDerivativeSupport()) {
1318 bool AAHairLinePathRenderer::onDrawPath(const DrawPathArgs& args) {
1319 GR_AUDIT_TRAIL_AUTO_FRAME(args.fContext->priv().auditTrail(),
1321 SkASSERT(args.fSurfaceDrawContext->numSamples() <= 1);
1324 args.fShape->asPath(&path);
1326 AAHairlineOp::Make(args.fContext, std::move(args.fPaint), *args.fViewMatrix, path,
1327 args.fShape->style(), *args.fClipConservativeBounds,
1328 args.fUserStencilSettings);
1329 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op));