/external/skia/src/gpu/effects/generated/ |
D | GrAlphaThresholdFragmentProcessor.h | 24 float outerThreshold) { in Make() argument 26 std::move(inputFP), std::move(maskFP), innerThreshold, outerThreshold)); in Make() 32 float outerThreshold; variable 38 float outerThreshold) in GrAlphaThresholdFragmentProcessor() argument 41 ((outerThreshold >= 1.0) ? kPreservesOpaqueInput_OptimizationFlag in GrAlphaThresholdFragmentProcessor() 44 , outerThreshold(outerThreshold) { in GrAlphaThresholdFragmentProcessor()
|
D | GrAlphaThresholdFragmentProcessor.cpp | 30 auto outerThreshold = _outer.outerThreshold; in emitCode() local 31 (void)outerThreshold; in emitCode() 72 pdman.set1f(outerThresholdVar, (_outer.outerThreshold)); in onSetData() 88 if (outerThreshold != that.outerThreshold) return false; in onIsEqual() 95 , outerThreshold(src.outerThreshold) { in GrAlphaThresholdFragmentProcessor() 103 return SkStringPrintf("(innerThreshold=%f, outerThreshold=%f)", innerThreshold, outerThreshold); in onDumpInfo()
|
/external/skqp/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;
|
D | GrAlphaThresholdFragmentProcessor.h | 18 inline OptimizationFlags optFlags(float outerThreshold); 20 float outerThreshold() const { return fOuterThreshold; } in outerThreshold() function 24 float outerThreshold, in Make() argument 27 mask, innerThreshold, outerThreshold, bounds)); in Make() 35 float outerThreshold, const SkIRect& bounds) in GrAlphaThresholdFragmentProcessor() argument 39 , fOuterThreshold(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(fOuterThresholdVar, (_outer.outerThreshold())); in onSetData()
|
/external/skqp/src/effects/imagefilters/ |
D | SkAlphaThresholdFilter.cpp | 31 SkScalar outerThreshold, sk_sp<SkImageFilter> input, 69 SkScalar outerThreshold, in Make() argument 73 outerThreshold = pin_0_1(outerThreshold); in Make() 74 if (!SkScalarIsFinite(innerThreshold) || !SkScalarIsFinite(outerThreshold)) { in Make() 78 outerThreshold, in Make() 95 SkScalar outerThreshold, in SkAlphaThresholdFilterImpl() argument 101 , fOuterThreshold(outerThreshold) { in SkAlphaThresholdFilterImpl() 235 U8CPU outerThreshold = (U8CPU)(fOuterThreshold * 0xFF); in onFilterImage() local 260 if (SkColorGetA(source) > outerThreshold) { in onFilterImage() 261 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImage() [all …]
|
/external/skia/src/gpu/effects/ |
D | GrAlphaThresholdFragmentProcessor.fp | 11 in uniform half outerThreshold; 15 ((outerThreshold >= 1.0) ? kPreservesOpaqueInput_OptimizationFlag : kNone_OptimizationFlags) 22 if (color.a > outerThreshold) { 23 half scale = outerThreshold / color.a; 25 color.a = outerThreshold;
|
/external/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdImageFilter.cpp | 33 SkScalar outerThreshold, sk_sp<SkImageFilter> input, in SkAlphaThresholdImageFilter() argument 38 , fOuterThreshold(outerThreshold) {} in SkAlphaThresholdImageFilter() 219 U8CPU outerThreshold = (U8CPU)(fOuterThreshold * 0xFF); in onFilterImage() local 244 if (SkColorGetA(source) > outerThreshold) { in onFilterImage() 245 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImage() 246 outputColor = SkColorSetARGB(outerThreshold, in onFilterImage()
|