Index: src/gpu/effects/GrYUVtoRGBEffect.h |
diff --git a/src/gpu/effects/GrYUVtoRGBEffect.h b/src/gpu/effects/GrYUVtoRGBEffect.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cc86af766252f2878e81d34ac9acfb036dfa101d |
--- /dev/null |
+++ b/src/gpu/effects/GrYUVtoRGBEffect.h |
@@ -0,0 +1,21 @@ |
+/* |
+ * Copyright 2014 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef GrYUVtoRGBEffect_DEFINED |
+#define GrYUVtoRGBEffect_DEFINED |
+ |
+class GrEffectRef; |
+class GrTexture; |
+ |
+namespace GrYUVtoRGBEffect { |
+ /** |
+ * Creates an effect that performs color conversion from YUV to RGB |
+ */ |
+ GrEffectRef* Create(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTexture); |
+}; |
+ |
+#endif |