| Index: src/gpu/effects/GrConvexPolyEffect.cpp
|
| diff --git a/src/gpu/effects/GrConvexPolyEffect.cpp b/src/gpu/effects/GrConvexPolyEffect.cpp
|
| index c84b54085000843877f3eb1a329a51a925ae32f2..ff08eae2d0ffd1326644fadc085e1ad3acb41c32 100644
|
| --- a/src/gpu/effects/GrConvexPolyEffect.cpp
|
| +++ b/src/gpu/effects/GrConvexPolyEffect.cpp
|
| @@ -7,7 +7,7 @@
|
|
|
| #include "gl/builders/GrGLProgramBuilder.h"
|
| #include "GrConvexPolyEffect.h"
|
| -
|
| +#include "GrInvariantOutput.h"
|
| #include "gl/GrGLProcessor.h"
|
| #include "gl/GrGLSL.h"
|
| #include "GrTBackendProcessorFactory.h"
|
| @@ -43,7 +43,7 @@ private:
|
| return fRect == aare.fRect;
|
| }
|
|
|
| - virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE {
|
| + virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE {
|
| if (fRect.isEmpty()) {
|
| // An empty rect will have no coverage anywhere.
|
| inout->mulByKnownAlpha(0);
|
| @@ -326,7 +326,7 @@ GrFragmentProcessor* GrConvexPolyEffect::Create(GrPrimitiveEdgeType edgeType, co
|
|
|
| GrConvexPolyEffect::~GrConvexPolyEffect() {}
|
|
|
| -void GrConvexPolyEffect::onComputeInvariantOutput(InvariantOutput* inout) const {
|
| +void GrConvexPolyEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const {
|
| inout->mulByUnknownAlpha();
|
| }
|
|
|
|
|