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