Home
last modified time | relevance | path

Searched refs:innerThreshold (Results 1 – 5 of 5) sorted by relevance

/third_party/flutter/skia/src/gpu/effects/generated/
DGrAlphaThresholdFragmentProcessor.h22 float innerThreshold, in Make() argument
26 mask, innerThreshold, outerThreshold, bounds)); in Make()
33 float innerThreshold; variable
37 GrAlphaThresholdFragmentProcessor(sk_sp<GrTextureProxy> mask, float innerThreshold, in GrAlphaThresholdFragmentProcessor() argument
44 , innerThreshold(innerThreshold) in GrAlphaThresholdFragmentProcessor()
DGrAlphaThresholdFragmentProcessor.cpp36 auto innerThreshold = _outer.innerThreshold; in emitCode() local
37 (void)innerThreshold; in emitCode()
69 pdman.set1f(innerThresholdVar, (_outer.innerThreshold)); in onSetData()
85 if (innerThreshold != that.innerThreshold) return false; in onIsEqual()
94 , innerThreshold(src.innerThreshold) in GrAlphaThresholdFragmentProcessor()
/third_party/flutter/skia/src/effects/imagefilters/
DSkAlphaThresholdFilter.cpp34 SkAlphaThresholdFilterImpl(const SkRegion& region, SkScalar innerThreshold, in SkAlphaThresholdFilterImpl() argument
39 , fInnerThreshold(innerThreshold) in SkAlphaThresholdFilterImpl()
66 sk_sp<SkImageFilter> SkAlphaThresholdFilter::Make(const SkRegion& region, SkScalar innerThreshold, in Make() argument
70 innerThreshold = SkScalarPin(innerThreshold, 0.f, 1.f); in Make()
72 if (!SkScalarIsFinite(innerThreshold) || !SkScalarIsFinite(outerThreshold)) { in Make()
76 region, innerThreshold, outerThreshold, std::move(input), cropRect)); in Make()
225 U8CPU innerThreshold = (U8CPU)(fInnerThreshold * 0xFF); in onFilterImage() local
239 if (SkColorGetA(source) < innerThreshold) { in onFilterImage()
244 float scale = (float)innerThreshold / alpha; in onFilterImage()
245 outputColor = SkColorSetARGB(innerThreshold, in onFilterImage()
/third_party/flutter/skia/src/gpu/effects/
DGrAlphaThresholdFragmentProcessor.fp9 in uniform half innerThreshold;
22 float innerThreshold,
26 mask, innerThreshold, outerThreshold, bounds));
55 } else if (color.a < innerThreshold) {
56 half scale = innerThreshold / max(0.001, color.a);
58 color.a = innerThreshold;
/third_party/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp35 SkAlphaThresholdImageFilter(const SkRegion& region, SkScalar innerThreshold, in SkAlphaThresholdImageFilter() argument
40 , fInnerThreshold(innerThreshold) in SkAlphaThresholdImageFilter()
140 float innerThreshold, in make_alpha_threshold_fp() argument
168 "innerThreshold", innerThreshold, in make_alpha_threshold_fp()
262 U8CPU innerThreshold = (U8CPU)(fInnerThreshold * 0xFF); in onFilterImage() local
276 if (SkColorGetA(source) < innerThreshold) { in onFilterImage()
281 float scale = (float)innerThreshold / alpha; in onFilterImage()
282 outputColor = SkColorSetARGB(innerThreshold, in onFilterImage()