Index: src/gpu/effects/GrBitmapTextGeoProc.cpp |
diff --git a/src/gpu/effects/GrBitmapTextGeoProc.cpp b/src/gpu/effects/GrBitmapTextGeoProc.cpp |
index 9c5e82e8ffda7c3b3270ae6db4566a0fa44cb90f..1578fd8fe4f35794337efff1c9719ce624ff0e03 100644 |
--- a/src/gpu/effects/GrBitmapTextGeoProc.cpp |
+++ b/src/gpu/effects/GrBitmapTextGeoProc.cpp |
@@ -84,15 +84,15 @@ |
return SkToBool(this->inColor()) == SkToBool(gp.inColor()); |
} |
-void GrBitmapTextGeoProc::onGetInvariantOutputCoverage(GrInitInvariantOutput* out) const { |
+void GrBitmapTextGeoProc::onComputeInvariantOutput(GrInvariantOutput* inout) const { |
if (GrPixelConfigIsAlphaOnly(this->texture(0)->config())) { |
- out->setUnknownSingleComponent(); |
+ inout->mulByUnknownAlpha(); |
} else if (GrPixelConfigIsOpaque(this->texture(0)->config())) { |
- out->setUnknownOpaqueFourComponents(); |
- out->setUsingLCDCoverage(); |
+ inout->mulByUnknownOpaqueColor(); |
+ inout->setUsingLCDCoverage(); |
} else { |
- out->setUnknownFourComponents(); |
- out->setUsingLCDCoverage(); |
+ inout->mulByUnknownColor(); |
+ inout->setUsingLCDCoverage(); |
} |
} |