Lines Matching refs:args

224             const PathData& args = fPaths[i];
225 GrAAConvexTessellator tess(args.fStyle, args.fStrokeWidth,
226 args.fJoin, args.fMiterLimit);
228 if (!tess.tessellate(args.fViewMatrix, args.fPath)) {
263 if (!args.fViewMatrix.invert(&ivm)) {
270 GrVertexColor(args.fColor, fWideColor), vertexCount,
345 AALinearizingConvexPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const {
346 if (GrAAType::kCoverage != args.fAAType) {
349 if (!args.fShape->knownToBeConvex()) {
352 if (args.fShape->style().pathEffect()) {
355 if (args.fShape->inverseFilled()) {
358 if (args.fShape->bounds().width() <= 0 && args.fShape->bounds().height() <= 0) {
362 const SkStrokeRec& stroke = args.fShape->style().strokeRec();
366 if (!args.fViewMatrix->isSimilarity()) {
369 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth();
374 !args.fShape->knownToBeClosed() ||
386 if (args.fViewMatrix->hasPerspective()) {
392 bool AALinearizingConvexPathRenderer::onDrawPath(const DrawPathArgs& args) {
393 GR_AUDIT_TRAIL_AUTO_FRAME(args.fContext->priv().auditTrail(),
395 SkASSERT(args.fSurfaceDrawContext->numSamples() <= 1);
396 SkASSERT(!args.fShape->isEmpty());
397 SkASSERT(!args.fShape->style().pathEffect());
400 args.fShape->asPath(&path);
401 bool fill = args.fShape->style().isSimpleFill();
402 const SkStrokeRec& stroke = args.fShape->style().strokeRec();
408 args.fContext, std::move(args.fPaint), *args.fViewMatrix, path, strokeWidth,
409 stroke.getStyle(), join, miterLimit, args.fUserStencilSettings);
410 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op));