Searched refs:outerThreshold (Results 1 – 5 of 5) sorted by relevance
/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrAlphaThresholdFragmentProcessor.h | 19 inline OptimizationFlags optFlags(float outerThreshold); 23 float outerThreshold, in Make() argument 26 mask, innerThreshold, outerThreshold, bounds)); in Make() 34 float outerThreshold; variable 38 float outerThreshold, const SkIRect& bounds) in GrAlphaThresholdFragmentProcessor() argument 45 , outerThreshold(outerThreshold) { in GrAlphaThresholdFragmentProcessor()
|
D | GrAlphaThresholdFragmentProcessor.cpp | 14 float outerThreshold) { in optFlags() argument 15 if (outerThreshold >= 1.0) { in optFlags() 38 auto outerThreshold = _outer.outerThreshold; in emitCode() local 39 (void)outerThreshold; in emitCode() 70 pdman.set1f(outerThresholdVar, (_outer.outerThreshold)); in onSetData() 86 if (outerThreshold != that.outerThreshold) return false; in onIsEqual() 95 , outerThreshold(src.outerThreshold) { in GrAlphaThresholdFragmentProcessor()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrAlphaThresholdFragmentProcessor.fp | 10 in uniform half outerThreshold; 13 inline OptimizationFlags optFlags(float outerThreshold); 23 float outerThreshold, 26 mask, innerThreshold, outerThreshold, bounds)); 36 float outerThreshold) { 37 if (outerThreshold >= 1.0) { 50 if (color.a > outerThreshold) { 51 half scale = outerThreshold / color.a; 53 color.a = outerThreshold;
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdFilter.cpp | 35 SkScalar outerThreshold, sk_sp<SkImageFilter> input, in SkAlphaThresholdFilterImpl() argument 40 , fOuterThreshold(outerThreshold) {} in SkAlphaThresholdFilterImpl() 67 SkScalar outerThreshold, in Make() argument 71 outerThreshold = SkScalarPin(outerThreshold, 0.f, 1.f); in Make() 72 if (!SkScalarIsFinite(innerThreshold) || !SkScalarIsFinite(outerThreshold)) { in Make() 76 region, innerThreshold, outerThreshold, std::move(input), cropRect)); in Make() 226 U8CPU outerThreshold = (U8CPU)(fOuterThreshold * 0xFF); in onFilterImage() local 251 if (SkColorGetA(source) > outerThreshold) { in onFilterImage() 252 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImage() 253 outputColor = SkColorSetARGB(outerThreshold, in onFilterImage()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdImageFilter.cpp | 36 SkScalar outerThreshold, sk_sp<SkImageFilter> input, in SkAlphaThresholdImageFilter() argument 41 , fOuterThreshold(outerThreshold) {} in SkAlphaThresholdImageFilter() 141 float outerThreshold) { in make_alpha_threshold_fp() argument 165 (outerThreshold >= 1.0f) ? GrSkSLFP::OptFlags::kPreservesOpaqueInput in make_alpha_threshold_fp() 169 "outerThreshold", outerThreshold); in make_alpha_threshold_fp() 263 U8CPU outerThreshold = (U8CPU)(fOuterThreshold * 0xFF); in onFilterImage() local 288 if (SkColorGetA(source) > outerThreshold) { in onFilterImage() 289 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImage() 290 outputColor = SkColorSetARGB(outerThreshold, in onFilterImage()
|