| Index: src/effects/SkTableColorFilter.cpp
|
| diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp
|
| index e4daf20b006e11d92a59a681bd15409b8365c0a3..ac12327ed6347c344e07f460c46a6c15d7e7ec3c 100644
|
| --- a/src/effects/SkTableColorFilter.cpp
|
| +++ b/src/effects/SkTableColorFilter.cpp
|
| @@ -276,6 +276,7 @@ bool SkTable_ColorFilter::asComponentTable(SkBitmap* table) const {
|
| #if SK_SUPPORT_GPU
|
|
|
| #include "GrFragmentProcessor.h"
|
| +#include "GrInvariantOutput.h"
|
| #include "GrTBackendProcessorFactory.h"
|
| #include "SkGr.h"
|
| #include "effects/GrTextureStripAtlas.h"
|
| @@ -302,7 +303,7 @@ public:
|
| 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;
|
|
|
| ColorTableEffect(GrTexture* texture, GrTextureStripAtlas* atlas, int row, unsigned flags);
|
|
|
| @@ -469,7 +470,7 @@ bool ColorTableEffect::onIsEqual(const GrFragmentProcessor& other) const {
|
| return fRow == that.fRow;
|
| }
|
|
|
| -void ColorTableEffect::onComputeInvariantOutput(InvariantOutput* inout) const {
|
| +void ColorTableEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const {
|
| // If we kept the table in the effect then we could actually run known inputs through the
|
| // table.
|
| uint8_t invalidateFlags = 0;
|
| @@ -485,7 +486,7 @@ void ColorTableEffect::onComputeInvariantOutput(InvariantOutput* inout) const {
|
| if (fFlags & SkTable_ColorFilter::kA_Flag) {
|
| invalidateFlags |= kA_GrColorComponentFlag;
|
| }
|
| - inout->invalidateComponents(invalidateFlags, InvariantOutput::kWill_ReadInput);
|
| + inout->invalidateComponents(invalidateFlags, GrInvariantOutput::kWill_ReadInput);
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|