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 /tests/GLProgramsTest.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 'tests/GLProgramsTest.cpp')
| -rw-r--r-- | tests/GLProgramsTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index 9be082a47b..dd731e0773 100644 --- a/tests/GLProgramsTest.cpp +++ b/tests/GLProgramsTest.cpp @@ -13,6 +13,7 @@ #if SK_SUPPORT_GPU && SK_ALLOW_STATIC_GLOBAL_INITIALIZERS #include "GrContextFactory.h" +#include "GrInvariantOutput.h" #include "GrOptDrawState.h" #include "GrTBackendProcessorFactory.h" #include "GrTest.h" @@ -50,7 +51,7 @@ public: private: BigKeyProcessor() { } virtual bool onIsEqual(const GrFragmentProcessor&) const SK_OVERRIDE { return true; } - virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { } + virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE { } GR_DECLARE_FRAGMENT_PROCESSOR_TEST; |
