/external/skia/src/effects/ |
H A D | GrAlphaThresholdFragmentProcessor.h | 19 inline OptimizationFlags optFlags(float outerThreshold); 21 float outerThreshold() const { return fOuterThreshold; } function in class:GrAlphaThresholdFragmentProcessor 25 float outerThreshold, 28 mask, innerThreshold, outerThreshold, bounds)); 36 float outerThreshold, const SkIRect& bounds) 40 , fOuterThreshold(outerThreshold) 23 Make(sk_sp<GrTextureProxy> mask, float innerThreshold, float outerThreshold, const SkIRect& bounds) argument 35 GrAlphaThresholdFragmentProcessor(sk_sp<GrTextureProxy> mask, float innerThreshold, float outerThreshold, const SkIRect& bounds) argument
|
H A 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;
|
H A D | GrAlphaThresholdFragmentProcessor.cpp | 15 float outerThreshold) { 16 if (outerThreshold >= 1.0) { 39 auto outerThreshold = _outer.outerThreshold(); variable 40 (void)outerThreshold; variable 44 kFragment_GrShaderFlag, kHalf_GrSLType, kDefault_GrSLPrecision, "outerThreshold"); 71 pdman.set1f(fOuterThresholdVar, _outer.outerThreshold()); 14 optFlags( float outerThreshold) argument
|
H A D | SkAlphaThresholdFilter.cpp | 31 SkScalar outerThreshold, sk_sp<SkImageFilter> input, 69 SkScalar outerThreshold, 73 outerThreshold = pin_0_1(outerThreshold); 74 if (!SkScalarIsFinite(innerThreshold) || !SkScalarIsFinite(outerThreshold)) { 78 outerThreshold, 95 SkScalar outerThreshold, 101 , fOuterThreshold(outerThreshold) { 229 U8CPU outerThreshold = (U8CPU)(fOuterThreshold * 0xFF); local 254 if (SkColorGetA(source) > outerThreshold) { 67 Make(const SkRegion& region, SkScalar innerThreshold, SkScalar outerThreshold, sk_sp<SkImageFilter> input, const SkImageFilter::CropRect* cropRect) argument 93 SkAlphaThresholdFilterImpl(const SkRegion& region, SkScalar innerThreshold, SkScalar outerThreshold, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument [all...] |
/external/skqp/src/effects/ |
H A D | GrAlphaThresholdFragmentProcessor.h | 19 inline OptimizationFlags optFlags(float outerThreshold); 21 float outerThreshold() const { return fOuterThreshold; } function in class:GrAlphaThresholdFragmentProcessor 25 float outerThreshold, 28 mask, innerThreshold, outerThreshold, bounds)); 36 float outerThreshold, const SkIRect& bounds) 40 , fOuterThreshold(outerThreshold) 23 Make(sk_sp<GrTextureProxy> mask, float innerThreshold, float outerThreshold, const SkIRect& bounds) argument 35 GrAlphaThresholdFragmentProcessor(sk_sp<GrTextureProxy> mask, float innerThreshold, float outerThreshold, const SkIRect& bounds) argument
|
H A 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;
|
H A D | GrAlphaThresholdFragmentProcessor.cpp | 15 float outerThreshold) { 16 if (outerThreshold >= 1.0) { 39 auto outerThreshold = _outer.outerThreshold(); variable 40 (void)outerThreshold; variable 44 kFragment_GrShaderFlag, kHalf_GrSLType, kDefault_GrSLPrecision, "outerThreshold"); 71 pdman.set1f(fOuterThresholdVar, _outer.outerThreshold()); 14 optFlags( float outerThreshold) argument
|
H A D | SkAlphaThresholdFilter.cpp | 31 SkScalar outerThreshold, sk_sp<SkImageFilter> input, 69 SkScalar outerThreshold, 73 outerThreshold = pin_0_1(outerThreshold); 74 if (!SkScalarIsFinite(innerThreshold) || !SkScalarIsFinite(outerThreshold)) { 78 outerThreshold, 95 SkScalar outerThreshold, 101 , fOuterThreshold(outerThreshold) { 229 U8CPU outerThreshold = (U8CPU)(fOuterThreshold * 0xFF); local 254 if (SkColorGetA(source) > outerThreshold) { 67 Make(const SkRegion& region, SkScalar innerThreshold, SkScalar outerThreshold, sk_sp<SkImageFilter> input, const SkImageFilter::CropRect* cropRect) argument 93 SkAlphaThresholdFilterImpl(const SkRegion& region, SkScalar innerThreshold, SkScalar outerThreshold, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument [all...] |