/external/skia/src/gpu/ganesh/effects/ |
D | GrConvexPolyEffect.cpp | 19 GrFPResult GrConvexPolyEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument 22 return GrFPFailure(std::move(inputFP)); in Make() 32 GrFragmentProcessor::ModulateRGBA(std::move(inputFP), SK_PMColor4fWHITE)); in Make() 39 GrFragmentProcessor::ModulateRGBA(std::move(inputFP), SK_PMColor4fTRANSPARENT)); in Make() 59 return GrFPFailure(std::move(inputFP)); in Make() 78 return GrFPFailure(std::move(inputFP)); in Make() 85 return GrConvexPolyEffect::Make(std::move(inputFP), type, n, edges); in Make() 149 GrConvexPolyEffect::GrConvexPolyEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in GrConvexPolyEffect() argument 154 ProcessorOptimizationFlags(inputFP.get()) & in GrConvexPolyEffect() 167 this->registerChild(std::move(inputFP)); in GrConvexPolyEffect() [all …]
|
D | GrRRectEffect.cpp | 61 CircularRRectEffect(std::unique_ptr<GrFragmentProcessor> inputFP, 81 GrFPResult CircularRRectEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument 85 return GrFPFailure(std::move(inputFP)); in Make() 88 new CircularRRectEffect(std::move(inputFP), edgeType, circularCornerFlags, rrect))); in Make() 91 CircularRRectEffect::CircularRRectEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in CircularRRectEffect() argument 96 ProcessorOptimizationFlags(inputFP.get()) & in CircularRRectEffect() 101 this->registerChild(std::move(inputFP)); in CircularRRectEffect() 131 std::unique_ptr<GrFragmentProcessor> fp = d->inputFP(); in GR_DEFINE_FRAGMENT_PROCESSOR_TEST() 418 GrFPResult EllipticalRRectEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument 422 return GrFPFailure(std::move(inputFP)); in Make() [all …]
|
D | GrConvexPolyEffect.h | 40 static GrFPResult Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument 45 return GrFPFailure(std::move(inputFP)); in Make() 49 new GrConvexPolyEffect(std::move(inputFP), edgeType, n, edges))); in Make() 64 GrConvexPolyEffect(std::unique_ptr<GrFragmentProcessor> inputFP,
|
D | GrOvalEffect.cpp | 12 GrFPResult GrOvalEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, GrClipEdgeType edgeType, in Make() argument 18 return GrFragmentProcessor::Circle(std::move(inputFP), edgeType, in Make() 23 return GrFragmentProcessor::Ellipse(std::move(inputFP), edgeType, in Make()
|
D | GrModulateAtlasCoverageEffect.cpp | 16 std::unique_ptr<GrFragmentProcessor> inputFP, in GrModulateAtlasCoverageEffect() argument 24 this->registerChild(std::move(inputFP));
|
D | GrSkSLFP.h | 108 std::unique_ptr<GrFragmentProcessor> inputFP, 144 std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument 163 if (inputFP) { in Make() 164 fp->setInput(std::move(inputFP)); in Make()
|
D | GrModulateAtlasCoverageEffect.h | 26 GrModulateAtlasCoverageEffect(Flags flags, std::unique_ptr<GrFragmentProcessor> inputFP,
|
D | GrSkSLFP.cpp | 269 std::unique_ptr<GrFragmentProcessor> inputFP, in MakeWithData() argument 284 if (inputFP) { in MakeWithData() 285 fp->setInput(std::move(inputFP)); in MakeWithData()
|
/external/skia/src/effects/ |
D | SkTableColorFilter.cpp | 92 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, 164 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> inputFP, 186 ColorTableEffect(std::unique_ptr<GrFragmentProcessor> inputFP, GrSurfaceProxyView view); 195 ColorTableEffect::ColorTableEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in ColorTableEffect() argument 201 this->registerChild(std::move(inputFP)); in ColorTableEffect() 229 std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument 242 return std::unique_ptr<GrFragmentProcessor>(new ColorTableEffect(std::move(inputFP), in Make() 277 d->inputFP(), d->context(), in GR_DEFINE_FRAGMENT_PROCESSOR_TEST() 285 GrFPResult SkTable_ColorFilter::asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument 289 auto cte = ColorTableEffect::Make(std::move(inputFP), context, fBitmap); in asFragmentProcessor()
|
/external/skia/src/core/ |
D | SkModeColorFilter.cpp | 47 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, 144 GrFPResult SkModeColorFilter::asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument 151 return GrFPSuccess(std::move(inputFP)); in asFragmentProcessor() 154 SkDEBUGCODE(const bool fpHasConstIO = !inputFP || inputFP->hasConstantOutputForConstantInput();) in asFragmentProcessor() 159 auto xferFP = GrBlendFragmentProcessor::Make(std::move(colorFP), std::move(inputFP), fMode); in asFragmentProcessor()
|
D | SkColorFilter.cpp | 68 GrFPResult SkColorFilterBase::asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument 73 return GrFPFailure(std::move(inputFP)); in asFragmentProcessor() 184 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument 190 auto inputClone = inputFP ? inputFP->clone() : nullptr; in asFragmentProcessor() 193 fInner->asFragmentProcessor(std::move(inputFP), context, dstColorInfo, props); in asFragmentProcessor() 277 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument 284 std::move(inputFP), fSrc.get(), alphaType, fDst.get(), alphaType)); in asFragmentProcessor() 408 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument 422 GrColorSpaceXformEffect::Make(std::move(inputFP), dst,working), context, working, in asFragmentProcessor()
|
D | SkColorFilterBase.h | 58 virtual GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP,
|
D | SkRuntimeEffect.cpp | 990 std::unique_ptr<GrFragmentProcessor> inputFP, in make_effect_fp() argument 1003 return GrFPFailure(std::move(inputFP)); in make_effect_fp() 1014 return GrFPFailure(std::move(inputFP)); in make_effect_fp() 1024 return GrFPFailure(std::move(inputFP)); in make_effect_fp() 1035 std::move(inputFP), in make_effect_fp() 1175 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument 1189 std::move(inputFP), in asFragmentProcessor()
|
D | SkColorFilter_Matrix.cpp | 47 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP,
|
/external/skia/src/gpu/ganesh/ops/ |
D | AtlasPathRenderer.cpp | 331 std::unique_ptr<GrFragmentProcessor> inputFP, in makeAtlasClipEffect() argument 336 return GrFPFailure(std::move(inputFP)); in makeAtlasClipEffect() 344 return path.isInverseFillType() ? GrFPNullableSuccess(std::move(inputFP)) in makeAtlasClipEffect() 345 : GrFPFailure(std::move(inputFP)); in makeAtlasClipEffect() 352 return GrFPFailure(std::move(inputFP)); in makeAtlasClipEffect() 360 auto drawRefsAtlasCallback = [opBeingClipped, &inputFP](const GrSurfaceProxy* atlasProxy) { in makeAtlasClipEffect() 362 refs_atlas(inputFP.get(), atlasProxy); in makeAtlasClipEffect() 368 return GrFPFailure(std::move(inputFP)); in makeAtlasClipEffect() 392 return GrFPSuccess(std::make_unique<GrModulateAtlasCoverageEffect>(flags, std::move(inputFP), in makeAtlasClipEffect()
|
D | AtlasPathRenderer.h | 47 std::unique_ptr<GrFragmentProcessor> inputFP,
|
/external/skia/src/utils/ |
D | SkGaussianColorFilter.cpp | 60 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, 103 GrFPResult SkGaussianColorFilter::asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument 115 return GrFPSuccess(GrSkSLFP::Make(effect, "gaussian_fp", std::move(inputFP), in asFragmentProcessor()
|
/external/skia/src/gpu/ganesh/ |
D | GrFragmentProcessor.cpp | 228 std::unique_ptr<GrFragmentProcessor> inputFP, const SkPMColor4f& color) { in ModulateRGBA() argument 231 std::move(inputFP)); in ModulateRGBA() 604 std::unique_ptr<GrFragmentProcessor> inputFP, GrClipEdgeType edgeType, SkRect rect) { in Rect() argument 643 std::move(inputFP)); in Rect() 646 GrFPResult GrFragmentProcessor::Circle(std::unique_ptr<GrFragmentProcessor> inputFP, in Circle() argument 653 return GrFPFailure(std::move(inputFP)); in Circle() 693 return GrFPSuccess(GrBlendFragmentProcessor::Make<SkBlendMode::kModulate>(std::move(inputFP), in Circle() 697 GrFPResult GrFragmentProcessor::Ellipse(std::unique_ptr<GrFragmentProcessor> inputFP, in Ellipse() argument 706 return GrFPFailure(std::move(inputFP)); in Ellipse() 710 return GrFPFailure(std::move(inputFP)); in Ellipse() [all …]
|
D | GrProcessorUnitTest.cpp | 28 std::unique_ptr<GrFragmentProcessor> inputFP) in GrProcessorTestData() argument 32 , fInputFP(std::move(inputFP)) { in GrProcessorTestData() 43 std::unique_ptr<GrFragmentProcessor> GrProcessorTestData::inputFP() { in inputFP() function in GrProcessorTestData
|
D | SkGr.cpp | 368 std::unique_ptr<GrFragmentProcessor> inputFP, in make_dither_effect() argument 371 if (range == 0 || inputFP == nullptr) { in make_dither_effect() 372 return inputFP; in make_dither_effect() 376 return inputFP; in make_dither_effect() 402 return inputFP; in make_dither_effect() 423 "inputFP", std::move(inputFP), in make_dither_effect()
|
D | GrProcessorUnitTest.h | 56 std::unique_ptr<GrFragmentProcessor> inputFP); 64 std::unique_ptr<GrFragmentProcessor> inputFP();
|
D | ClipStack.cpp | 247 std::unique_ptr<GrFragmentProcessor> inputFP) { in clip_atlas_fp() argument 249 return GrFPFailure(std::move(inputFP)); in clip_atlas_fp() 258 return atlasPathRenderer->makeAtlasClipEffect(sdc, opBeingClipped, std::move(inputFP), in clip_atlas_fp()
|
/external/skia/src/effects/imagefilters/ |
D | SkMorphologyImageFilter.cpp | 220 std::unique_ptr<GrFragmentProcessor> inputFP, GrSurfaceProxyView view, in Make() argument 223 new GrMorphologyEffect(std::move(inputFP), std::move(view), srcAlphaType, dir, in Make() 228 std::unique_ptr<GrFragmentProcessor> inputFP, GrSurfaceProxyView view, in Make() argument 232 std::move(inputFP), std::move(view), srcAlphaType, dir, radius, type, range)); in Make() 253 GrMorphologyEffect(std::unique_ptr<GrFragmentProcessor> inputFP, GrSurfaceProxyView, 339 GrMorphologyEffect::GrMorphologyEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in GrMorphologyEffect() argument 352 this->registerChild(std::move(inputFP)); in GrMorphologyEffect() 393 return GrMorphologyEffect::Make(d->inputFP(), std::move(view), at, dir, radius, type); in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
|
D | SkMagnifierImageFilter.cpp | 208 auto inputFP = GrTextureEffect::Make(std::move(inputView), kPremul_SkAlphaType); in onFilterImage() local 210 auto fp = make_magnifier_fp(std::move(inputFP), in onFilterImage()
|
D | SkAlphaThresholdImageFilter.cpp | 161 std::unique_ptr<GrFragmentProcessor> inputFP, in make_alpha_threshold_fp() argument 193 "inputFP", std::move(inputFP), in make_alpha_threshold_fp()
|