/external/skia/src/gpu/effects/generated/ |
D | GrAlphaThresholdFragmentProcessor.cpp | 28 auto innerThreshold = _outer.innerThreshold; in emitCode() local 29 (void)innerThreshold; in emitCode() 71 pdman.set1f(innerThresholdVar, (_outer.innerThreshold)); in onSetData() 87 if (innerThreshold != that.innerThreshold) return false; in onIsEqual() 94 , innerThreshold(src.innerThreshold) in GrAlphaThresholdFragmentProcessor() 103 return SkStringPrintf("(innerThreshold=%f, outerThreshold=%f)", innerThreshold, outerThreshold); in onDumpInfo()
|
D | GrAlphaThresholdFragmentProcessor.h | 23 float innerThreshold, in Make() argument 26 std::move(inputFP), std::move(maskFP), innerThreshold, outerThreshold)); in Make() 31 float innerThreshold; variable 37 float innerThreshold, in GrAlphaThresholdFragmentProcessor() argument 43 , innerThreshold(innerThreshold) in GrAlphaThresholdFragmentProcessor()
|
/external/skqp/src/gpu/effects/ |
D | GrAlphaThresholdFragmentProcessor.h | 19 float innerThreshold() const { return fInnerThreshold; } in innerThreshold() function 23 float innerThreshold, in Make() argument 27 mask, innerThreshold, outerThreshold, bounds)); in Make() 34 GrAlphaThresholdFragmentProcessor(sk_sp<GrTextureProxy> mask, float innerThreshold, in GrAlphaThresholdFragmentProcessor() argument 38 , fInnerThreshold(innerThreshold) in GrAlphaThresholdFragmentProcessor()
|
D | GrAlphaThresholdFragmentProcessor.fp | 9 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;
|
D | GrAlphaThresholdFragmentProcessor.cpp | 36 auto innerThreshold = _outer.innerThreshold(); in emitCode() local 37 (void)innerThreshold; in emitCode() 69 pdman.set1f(fInnerThresholdVar, (_outer.innerThreshold())); in onSetData()
|
/external/skqp/src/effects/imagefilters/ |
D | SkAlphaThresholdFilter.cpp | 30 SkAlphaThresholdFilterImpl(const SkRegion& region, SkScalar innerThreshold, 68 SkScalar innerThreshold, in Make() argument 72 innerThreshold = pin_0_1(innerThreshold); in Make() 74 if (!SkScalarIsFinite(innerThreshold) || !SkScalarIsFinite(outerThreshold)) { in Make() 77 return sk_sp<SkImageFilter>(new SkAlphaThresholdFilterImpl(region, innerThreshold, in Make() 94 SkScalar innerThreshold, in SkAlphaThresholdFilterImpl() argument 100 , fInnerThreshold(innerThreshold) in SkAlphaThresholdFilterImpl() 234 U8CPU innerThreshold = (U8CPU)(fInnerThreshold * 0xFF); in onFilterImage() local 248 if (SkColorGetA(source) < innerThreshold) { in onFilterImage() 253 float scale = (float)innerThreshold / alpha; in onFilterImage() [all …]
|
/external/skia/src/gpu/effects/ |
D | GrAlphaThresholdFragmentProcessor.fp | 10 in uniform half innerThreshold; 27 } else if (color.a < innerThreshold) { 28 half scale = innerThreshold / max(0.001, color.a); 30 color.a = innerThreshold;
|
/external/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdImageFilter.cpp | 32 SkAlphaThresholdImageFilter(const SkRegion& region, SkScalar innerThreshold, in SkAlphaThresholdImageFilter() argument 37 , fInnerThreshold(innerThreshold) in SkAlphaThresholdImageFilter() 218 U8CPU innerThreshold = (U8CPU)(fInnerThreshold * 0xFF); in onFilterImage() local 232 if (SkColorGetA(source) < innerThreshold) { in onFilterImage() 237 float scale = (float)innerThreshold / alpha; in onFilterImage() 238 outputColor = SkColorSetARGB(innerThreshold, in onFilterImage()
|