Home
last modified time | relevance | path

Searched refs:inputFP (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/src/gpu/effects/
DGrConvexPolyEffect.cpp17 GrFPResult GrConvexPolyEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument
20 return GrFPFailure(std::move(inputFP)); in Make()
30 GrFragmentProcessor::ModulateRGBA(std::move(inputFP), SK_PMColor4fWHITE)); in Make()
37 GrFragmentProcessor::ModulateRGBA(std::move(inputFP), SK_PMColor4fTRANSPARENT)); in Make()
57 return GrFPFailure(std::move(inputFP)); in Make()
76 return GrFPFailure(std::move(inputFP)); in Make()
83 return GrConvexPolyEffect::Make(std::move(inputFP), type, n, edges); in Make()
145 GrConvexPolyEffect::GrConvexPolyEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in GrConvexPolyEffect() argument
150 ProcessorOptimizationFlags(inputFP.get()) & in GrConvexPolyEffect()
163 this->registerChild(std::move(inputFP)); in GrConvexPolyEffect()
[all …]
DGrRRectEffect.cpp59 CircularRRectEffect(std::unique_ptr<GrFragmentProcessor> inputFP,
79 GrFPResult CircularRRectEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument
83 return GrFPFailure(std::move(inputFP)); in Make()
86 new CircularRRectEffect(std::move(inputFP), edgeType, circularCornerFlags, rrect))); in Make()
89 CircularRRectEffect::CircularRRectEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in CircularRRectEffect() argument
94 ProcessorOptimizationFlags(inputFP.get()) & in CircularRRectEffect()
99 this->registerChild(std::move(inputFP)); in CircularRRectEffect()
129 std::unique_ptr<GrFragmentProcessor> fp = d->inputFP(); in TestCreate()
416 GrFPResult EllipticalRRectEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument
420 return GrFPFailure(std::move(inputFP)); in Make()
[all …]
DGrConvexPolyEffect.h39 static GrFPResult Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument
44 return GrFPFailure(std::move(inputFP)); in Make()
48 new GrConvexPolyEffect(std::move(inputFP), edgeType, n, edges))); in Make()
63 GrConvexPolyEffect(std::unique_ptr<GrFragmentProcessor> inputFP,
DGrOvalEffect.cpp12 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()
DGrModulateAtlasCoverageEffect.cpp15 std::unique_ptr<GrFragmentProcessor> inputFP, in GrModulateAtlasCoverageEffect() argument
23 this->registerChild(std::move(inputFP));
DGrSkSLFP.h105 std::unique_ptr<GrFragmentProcessor> inputFP,
141 std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument
156 if (inputFP) { in Make()
157 fp->setInput(std::move(inputFP)); in Make()
DGrModulateAtlasCoverageEffect.h24 GrModulateAtlasCoverageEffect(Flags flags, std::unique_ptr<GrFragmentProcessor> inputFP,
DGrSkSLFP.cpp268 std::unique_ptr<GrFragmentProcessor> inputFP, in MakeWithData() argument
283 if (inputFP) { in MakeWithData()
284 fp->setInput(std::move(inputFP)); in MakeWithData()
/third_party/skia/src/effects/
DSkTableColorFilter.cpp40 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP,
115 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> inputFP,
137 ColorTableEffect(std::unique_ptr<GrFragmentProcessor> inputFP, GrSurfaceProxyView view);
146 ColorTableEffect::ColorTableEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in ColorTableEffect() argument
152 this->registerChild(std::move(inputFP)); in ColorTableEffect()
180 std::unique_ptr<GrFragmentProcessor> inputFP, in Make() argument
190 return std::unique_ptr<GrFragmentProcessor>(new ColorTableEffect(std::move(inputFP), in Make()
224 d->inputFP(), d->context(), in TestCreate()
231 GrFPResult SkTable_ColorFilter::asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument
234 auto cte = ColorTableEffect::Make(std::move(inputFP), context, fBitmap); in asFragmentProcessor()
/third_party/skia/src/core/
DSkModeColorFilter.cpp91 GrFPResult SkModeColorFilter::asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument
97 return GrFPSuccess(std::move(inputFP)); in asFragmentProcessor()
100 SkDEBUGCODE(const bool fpHasConstIO = !inputFP || inputFP->hasConstantOutputForConstantInput();) in asFragmentProcessor()
103 auto xferFP = GrBlendFragmentProcessor::Make(std::move(colorFP), std::move(inputFP), fMode); in asFragmentProcessor()
DSkColorFilter.cpp62 GrFPResult SkColorFilterBase::asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument
66 return GrFPFailure(std::move(inputFP)); in asFragmentProcessor()
169 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument
172 GrFragmentProcessor* originalInputFP = inputFP.get(); in asFragmentProcessor()
175 fInner->asFragmentProcessor(std::move(inputFP), context, dstColorInfo); in asFragmentProcessor()
249 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument
257 std::move(inputFP), in asFragmentProcessor()
262 std::move(inputFP), in asFragmentProcessor()
354 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor()
367 GrColorSpaceXformEffect::Make(std::move(inputFP), dst,working), context, working); in asFragmentProcessor()
DSkColorFilter_Matrix.h22 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP,
DSkModeColorFilter.h22 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP,
DSkColorFilterBase.h47 virtual GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP,
DSkRuntimeEffect.cpp772 std::unique_ptr<GrFragmentProcessor> inputFP, in make_effect_fp() argument
783 return GrFPFailure(std::move(inputFP)); in make_effect_fp()
793 return GrFPFailure(std::move(inputFP)); in make_effect_fp()
802 return GrFPFailure(std::move(inputFP)); in make_effect_fp()
812 std::move(inputFP), in make_effect_fp()
831 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument
842 std::move(inputFP), in asFragmentProcessor()
/third_party/skia/src/gpu/ops/
DAtlasPathRenderer.cpp326 std::unique_ptr<GrFragmentProcessor> inputFP, in makeAtlasClipEffect() argument
331 return GrFPFailure(std::move(inputFP)); in makeAtlasClipEffect()
337 return path.isInverseFillType() ? GrFPSuccess(std::move(inputFP)) in makeAtlasClipEffect()
338 : GrFPFailure(std::move(inputFP)); in makeAtlasClipEffect()
345 return GrFPFailure(std::move(inputFP)); in makeAtlasClipEffect()
353 auto drawRefsAtlasCallback = [opBeingClipped, &inputFP](const GrSurfaceProxy* atlasProxy) { in makeAtlasClipEffect()
355 refs_atlas(inputFP.get(), atlasProxy); in makeAtlasClipEffect()
361 return GrFPFailure(std::move(inputFP)); in makeAtlasClipEffect()
385 return GrFPSuccess(std::make_unique<GrModulateAtlasCoverageEffect>(flags, std::move(inputFP), in makeAtlasClipEffect()
DAtlasPathRenderer.h47 std::unique_ptr<GrFragmentProcessor> inputFP,
/third_party/skia/src/gpu/
DGrFragmentProcessor.cpp227 std::unique_ptr<GrFragmentProcessor> inputFP, const SkPMColor4f& color) { in ModulateRGBA() argument
230 std::move(inputFP), in ModulateRGBA()
606 std::unique_ptr<GrFragmentProcessor> inputFP, GrClipEdgeType edgeType, SkRect rect) { in Rect() argument
639 return GrSkSLFP::Make(effect, "Rect", std::move(inputFP), in Rect()
645 GrFPResult GrFragmentProcessor::Circle(std::unique_ptr<GrFragmentProcessor> inputFP, in Circle() argument
652 return GrFPFailure(std::move(inputFP)); in Circle()
689 return GrFPSuccess(GrSkSLFP::Make(effect, "Circle", std::move(inputFP), in Circle()
695 GrFPResult GrFragmentProcessor::Ellipse(std::unique_ptr<GrFragmentProcessor> inputFP, in Ellipse() argument
704 return GrFPFailure(std::move(inputFP)); in Ellipse()
708 return GrFPFailure(std::move(inputFP)); in Ellipse()
[all …]
DGrProcessorUnitTest.cpp28 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
DSkGr.cpp354 std::unique_ptr<GrFragmentProcessor> inputFP, in make_dither_effect() argument
357 if (range == 0 || inputFP == nullptr) { in make_dither_effect()
358 return inputFP; in make_dither_effect()
362 return inputFP; in make_dither_effect()
387 return inputFP; in make_dither_effect()
405 std::move(inputFP), in make_dither_effect()
DGrProcessorUnitTest.h55 std::unique_ptr<GrFragmentProcessor> inputFP);
63 std::unique_ptr<GrFragmentProcessor> inputFP();
/third_party/skia/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp180 std::unique_ptr<GrFragmentProcessor> inputFP, GrSurfaceProxyView view, in Make() argument
183 new GrMorphologyEffect(std::move(inputFP), std::move(view), srcAlphaType, dir, in Make()
188 std::unique_ptr<GrFragmentProcessor> inputFP, GrSurfaceProxyView view, in Make() argument
192 std::move(inputFP), std::move(view), srcAlphaType, dir, radius, type, range)); in Make()
213 GrMorphologyEffect(std::unique_ptr<GrFragmentProcessor> inputFP, GrSurfaceProxyView,
299 GrMorphologyEffect::GrMorphologyEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in GrMorphologyEffect() argument
312 this->registerChild(std::move(inputFP)); in GrMorphologyEffect()
353 return GrMorphologyEffect::Make(d->inputFP(), std::move(view), at, dir, radius, type); in TestCreate()
DSkMagnifierImageFilter.cpp189 auto inputFP = GrTextureEffect::Make(std::move(inputView), kPremul_SkAlphaType); in onFilterImage() local
191 auto fp = make_magnifier_fp(std::move(inputFP), in onFilterImage()
DSkAlphaThresholdImageFilter.cpp138 std::unique_ptr<GrFragmentProcessor> inputFP, in make_alpha_threshold_fp() argument
164 return GrSkSLFP::Make(effect, "AlphaThreshold", std::move(inputFP), in make_alpha_threshold_fp()
/third_party/skia/src/utils/
DSkShadowUtils.cpp51 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP,
88 GrFPResult SkGaussianColorFilter::asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() argument
100 GrSkSLFP::Make(effect, "gaussian_fp", std::move(inputFP), GrSkSLFP::OptFlags::kNone)); in asFragmentProcessor()

12