diff options
author | egdaniel <egdaniel@google.com> | 2014-11-12 08:35:25 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-12 08:35:25 -0800 |
commit | 605dd0fbce9dbb2a0d3313e13e161f2bd54870d7 (patch) | |
tree | ee19a010a90d3b29baebbf50f5b1221923d3371b /src/gpu/effects/GrBicubicEffect.cpp | |
parent | e4bf793120d3bfc9b003d11880a3fb73ff2b89e9 (diff) |
Move GrInvariantOutput out of GrProcessor and into its own class.
This will help with the ability to subclass, add to, etc. GrInvariantOutput. Also it was simply
getting a little too big to be a "supporting" subclass
BUG=skia:
Review URL: https://codereview.chromium.org/699943003
Diffstat (limited to 'src/gpu/effects/GrBicubicEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrBicubicEffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp index 5ed8ece0b5..ce7810dc5a 100644 --- a/src/gpu/effects/GrBicubicEffect.cpp +++ b/src/gpu/effects/GrBicubicEffect.cpp @@ -7,7 +7,7 @@ #include "gl/builders/GrGLProgramBuilder.h" #include "GrBicubicEffect.h" - +#include "GrInvariantOutput.h" #define DS(x) SkDoubleToScalar(x) @@ -168,7 +168,7 @@ bool GrBicubicEffect::onIsEqual(const GrFragmentProcessor& sBase) const { fDomain == s.fDomain; } -void GrBicubicEffect::onComputeInvariantOutput(InvariantOutput* inout) const { +void GrBicubicEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { // FIXME: Perhaps we can do better. inout->mulByUnknownAlpha(); } |