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..81ea799201af3c7c4ad83e1631850882f7186f4a |
--- /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* CreateFrom2Procs(const GrFragmentProcessor* src, |
bsalomon
2015/09/08 15:10:57
Not crazy about "Procs". AFAIK it isn't a standard
|
+ const GrFragmentProcessor* dst, |
+ SkXfermode::Mode mode); |
+}; |
+ |
+#endif |