Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/gpu/effects/GrConstColorProcessor.h

Issue 1313573005: Revert of Change SkShader;asFragmentProcessor signature to no longer take skpaint\grcolor* (Closed) Base URL: https://skia.googlesource.com/skia.git@things
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/GrProcessorUnitTest.h ('k') | include/gpu/effects/GrExtractAlphaFragmentProcessor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/effects/GrConstColorProcessor.h
diff --git a/include/gpu/effects/GrConstColorProcessor.h b/include/gpu/effects/GrConstColorProcessor.h
index f5fdb7e35cfbc8dc3a292736a00ba032e9c9d2b7..ccd28684a5675c5d33e7bb5ef087f968d86807fe 100644
--- a/include/gpu/effects/GrConstColorProcessor.h
+++ b/include/gpu/effects/GrConstColorProcessor.h
@@ -9,6 +9,8 @@
#define GrColorProcessor_DEFINED
#include "GrFragmentProcessor.h"
+
+class GrInvariantOutput;
/**
* This is a simple GrFragmentProcessor that outputs a constant color. It may do one of the
@@ -29,6 +31,8 @@
static GrFragmentProcessor* Create(GrColor color, InputMode mode) {
return new GrConstColorProcessor(color, mode);
}
+
+ ~GrConstColorProcessor() override {}
const char* name() const override { return "Color"; }
« no previous file with comments | « include/gpu/GrProcessorUnitTest.h ('k') | include/gpu/effects/GrExtractAlphaFragmentProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698