| Index: src/gpu/effects/GrDistanceFieldTextureEffect.cpp
|
| diff --git a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp
|
| index f408d2dfec51800d3c664fbf96e716ee444ed428..3a2209a4f74a41baaf8e0b6b8b0bd5e3f89a08e1 100755
|
| --- a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp
|
| +++ b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp
|
| @@ -206,8 +206,8 @@ bool GrDistanceFieldTextureEffect::onIsEqual(const GrGeometryProcessor& other) c
|
| fFlags == cte.fFlags;
|
| }
|
|
|
| -void GrDistanceFieldTextureEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const {
|
| - inout->mulByUnknownAlpha();
|
| +void GrDistanceFieldTextureEffect::onGetOutputCoverage(GrInitInvariantOutput* out) const {
|
| + out->setUnknownSingleComponent();
|
| }
|
|
|
| void GrDistanceFieldTextureEffect::getGLProcessorKey(const GrBatchTracker& bt,
|
| @@ -407,8 +407,8 @@ bool GrDistanceFieldNoGammaTextureEffect::onIsEqual(const GrGeometryProcessor& o
|
| return fFlags == cte.fFlags;
|
| }
|
|
|
| -void GrDistanceFieldNoGammaTextureEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const {
|
| - inout->mulByUnknownAlpha();
|
| +void GrDistanceFieldNoGammaTextureEffect::onGetOutputCoverage(GrInitInvariantOutput* out) const{
|
| + out->setUnknownSingleComponent();
|
| }
|
|
|
| void GrDistanceFieldNoGammaTextureEffect::getGLProcessorKey(const GrBatchTracker& bt,
|
| @@ -665,9 +665,9 @@ bool GrDistanceFieldLCDTextureEffect::onIsEqual(const GrGeometryProcessor& other
|
| fFlags == cte.fFlags);
|
| }
|
|
|
| -void GrDistanceFieldLCDTextureEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const {
|
| - inout->mulByUnknownColor();
|
| - inout->setUsingLCDCoverage();
|
| +void GrDistanceFieldLCDTextureEffect::onGetOutputCoverage(GrInitInvariantOutput* out) const {
|
| + out->setUnknownFourComponents();
|
| + out->setUsingLCDCoverage();
|
| }
|
|
|
| void GrDistanceFieldLCDTextureEffect::getGLProcessorKey(const GrBatchTracker& bt,
|
|
|