Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index c3ad87a3b8a23bb91f8b1db54d1e26c98441abc2..bff877280c5689e1bd4371a3d502c856d141b196 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -49,6 +49,7 @@ SkImageFilter* SkAlphaThresholdFilter::Create(const SkRegion& region, |
#include "GrContext.h" |
#include "GrCoordTransform.h" |
#include "GrFragmentProcessor.h" |
+#include "GrInvariantOutput.h" |
#include "gl/GrGLProcessor.h" |
#include "gl/builders/GrGLProgramBuilder.h" |
#include "GrTBackendProcessorFactory.h" |
@@ -102,7 +103,7 @@ private: |
virtual bool onIsEqual(const GrFragmentProcessor&) const SK_OVERRIDE; |
- virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE; |
+ virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE; |
GR_DECLARE_FRAGMENT_PROCESSOR_TEST; |
@@ -227,7 +228,7 @@ bool AlphaThresholdEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |
this->fOuterThreshold == s.fOuterThreshold); |
} |
-void AlphaThresholdEffect::onComputeInvariantOutput(InvariantOutput* inout) const { |
+void AlphaThresholdEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { |
if (GrPixelConfigIsOpaque(this->texture(0)->config()) && fOuterThreshold >= 1.f) { |
inout->mulByUnknownOpaqueColor(); |
} else { |