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