| Index: src/gpu/GrDefaultGeoProcFactory.cpp
|
| diff --git a/src/gpu/GrDefaultGeoProcFactory.cpp b/src/gpu/GrDefaultGeoProcFactory.cpp
|
| index dca6c1c017a4d8b14aa8021f4c2d7b0e20aa8e2a..7756f6a1fc15a69b4173a357fd333d31dc9b065f 100644
|
| --- a/src/gpu/GrDefaultGeoProcFactory.cpp
|
| +++ b/src/gpu/GrDefaultGeoProcFactory.cpp
|
| @@ -128,11 +128,12 @@ private:
|
| return gp.fFlags == this->fFlags;
|
| }
|
|
|
| - virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE {
|
| + virtual void onGetOutputCoverage(GrInitInvariantOutput* out) const SK_OVERRIDE {
|
| if (fInCoverage) {
|
| - inout->mulByUnknownAlpha();
|
| + out->setUnknownSingleComponent();
|
| } else {
|
| - inout->mulByKnownAlpha(255);
|
| + // uniform coverage
|
| + out->setKnownSingleComponent(this->coverage());
|
| }
|
| }
|
|
|
|
|