Searched refs:outerThreshold (Results 1 - 8 of 8) sorted by relevance

/external/skia/src/effects/
H A DGrAlphaThresholdFragmentProcessor.h19 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 DGrAlphaThresholdFragmentProcessor.fp10 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 DGrAlphaThresholdFragmentProcessor.cpp15 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 DSkAlphaThresholdFilter.cpp31 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 DGrAlphaThresholdFragmentProcessor.h19 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 DGrAlphaThresholdFragmentProcessor.fp10 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 DGrAlphaThresholdFragmentProcessor.cpp15 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 DSkAlphaThresholdFilter.cpp31 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...]

Completed in 130 milliseconds