| Index: src/gpu/effects/GrConvexPolyEffect.cpp
|
| diff --git a/src/gpu/effects/GrConvexPolyEffect.cpp b/src/gpu/effects/GrConvexPolyEffect.cpp
|
| index 14307165e3b3415a5747c7de96818d42db64a0a0..248cd1735352a27dc4ac7b5a33ef33a81e1b3f6d 100644
|
| --- a/src/gpu/effects/GrConvexPolyEffect.cpp
|
| +++ b/src/gpu/effects/GrConvexPolyEffect.cpp
|
| @@ -44,9 +44,9 @@
|
| virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE {
|
| if (fRect.isEmpty()) {
|
| // An empty rect will have no coverage anywhere.
|
| - inout->mulByKnownSingleComponent(0);
|
| + inout->mulByKnownAlpha(0);
|
| } else {
|
| - inout->mulByUnknownSingleComponent();
|
| + inout->mulByUnknownAlpha();
|
| }
|
| }
|
|
|
| @@ -323,7 +323,7 @@
|
| GrConvexPolyEffect::~GrConvexPolyEffect() {}
|
|
|
| void GrConvexPolyEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const {
|
| - inout->mulByUnknownSingleComponent();
|
| + inout->mulByUnknownAlpha();
|
| }
|
|
|
| void GrConvexPolyEffect::getGLProcessorKey(const GrGLCaps& caps,
|
|
|