Lines Matching refs:args
226 const Entry& args = fShapes[i];
232 const SkRect& bounds = args.fShape.bounds();
233 if (args.fViewMatrix.hasPerspective()) {
236 args.fViewMatrix.mapRect(&xformedBounds, bounds);
240 maxScale = SkScalarAbs(args.fViewMatrix.getMaxScale());
279 shapeData = atlasMgr->findOrCreate(args.fShape, ceilDesiredDimension);
287 args.fShape,
296 shapeData = atlasMgr->findOrCreate(args.fShape, args.fViewMatrix);
302 args.fShape,
303 args.fViewMatrix)) {
313 this->writePathVertices(vertices, GrVertexColor(args.fColor, fWideColor),
314 args.fViewMatrix, shapeData);
662 PathRenderer::CanDrawPath SmallPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const {
663 if (!args.fCaps->shaderCaps()->shaderDerivativeSupport()) {
667 if (!args.fShape->hasUnstyledKey()) {
672 if (!args.fShape->style().isSimpleFill()) {
676 if (GrAAType::kCoverage != args.fAAType) {
680 if (args.fShape->inverseFilled()) {
686 if (!args.fViewMatrix->hasPerspective() && !args.fViewMatrix->getMinMaxScales(scaleFactors)) {
696 SkRect bounds = args.fShape->styledBounds();
708 bool SmallPathRenderer::onDrawPath(const DrawPathArgs& args) {
709 GR_AUDIT_TRAIL_AUTO_FRAME(args.fContext->priv().auditTrail(),
713 SkASSERT(!args.fShape->isEmpty());
714 SkASSERT(args.fShape->hasUnstyledKey());
717 args.fContext, std::move(args.fPaint), *args.fShape, *args.fViewMatrix,
718 args.fGammaCorrect, args.fUserStencilSettings);
719 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op));