Index: include/gpu/effects/GrXfermodeFragmentProcessor.h |
diff --git a/include/gpu/effects/GrXfermodeFragmentProcessor.h b/include/gpu/effects/GrXfermodeFragmentProcessor.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d93b400b8bf29309cdfb98359d1c3156d221b1ad |
--- /dev/null |
+++ b/include/gpu/effects/GrXfermodeFragmentProcessor.h |
@@ -0,0 +1,21 @@ |
+/* |
+ * Copyright 2015 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef GrXfermodeFragmentProcessor_DEFINED |
+#define GrXfermodeFragmentProcessor_DEFINED |
+ |
+#include "SkXfermode.h" |
+ |
+class GrFragmentProcessor; |
+ |
+namespace GrXfermodeFragmentProcessor { |
+ const GrFragmentProcessor* CreateFromTwoProcessors(const GrFragmentProcessor* src, |
+ const GrFragmentProcessor* dst, |
+ SkXfermode::Mode mode); |
+}; |
+ |
+#endif |