Home | History | Annotate | Download | only in ops

Lines Matching defs:args

89 bool GrSmallPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const {
90 if (!args.fShaderCaps->shaderDerivativeSupport()) {
94 if (!args.fShape->hasUnstyledKey()) {
99 if (!args.fShape->style().isSimpleFill()) {
103 if (GrAAType::kCoverage != args.fAAType) {
107 if (args.fShape->inverseFilled()) {
111 if (args.fViewMatrix->hasPerspective()) {
119 if (!args.fViewMatrix->getMinMaxScales(scaleFactors)) {
122 SkRect bounds = args.fShape->styledBounds();
282 const Entry& args = fShapes[i];
289 const SkRect& bounds = args.fShape.bounds();
323 ShapeData::Key key(args.fShape, SkScalarCeilToInt(desiredDimension));
339 args.fShape,
349 ShapeData::Key key(args.fShape, this->viewMatrix());
364 args.fShape,
379 args.fColor,
382 args.fTranslate,
744 bool GrSmallPathRenderer::onDrawPath(const DrawPathArgs& args) {
745 GR_AUDIT_TRAIL_AUTO_FRAME(args.fRenderTargetContext->auditTrail(),
749 SkASSERT(!args.fShape->isEmpty());
750 SkASSERT(args.fShape->hasUnstyledKey());
752 fAtlas = GrDrawOpAtlas::Make(args.fContext,
764 args.fPaint.getColor(), *args.fShape, *args.fViewMatrix, fAtlas.get(), &fShapeCache,
765 &fShapeList, args.fGammaCorrect);
766 GrPipelineBuilder pipelineBuilder(std::move(args.fPaint), args.fAAType);
767 pipelineBuilder.setUserStencil(args.fUserStencilSettings);
769 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, std::move(op));