Index: src/gpu/effects/GrIndex8toRGBEffect.h |
diff --git a/src/gpu/effects/GrIndex8toRGBEffect.h b/src/gpu/effects/GrIndex8toRGBEffect.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..675054ed4fefad91d946761532f28eba733397f9 |
--- /dev/null |
+++ b/src/gpu/effects/GrIndex8toRGBEffect.h |
@@ -0,0 +1,27 @@ |
+/* |
+ * 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 GrIndex8toRGBEffect_DEFINED |
+#define GrIndex8toRGBEffect_DEFINED |
+ |
+#include "SkImageInfo.h" |
+#include "GrCoordTransform.h" |
+#include "SkMatrix.h" |
+ |
+ |
+// class GrFragmentProcessor; |
+class GrTexture; |
+ |
+namespace GrIndex8toRGBEffect { |
+ /** |
+ * Creates an effect that performs color conversion from Index8 to RGB. |
+ */ |
+ GrFragmentProcessor* Create(GrTexture* tex, GrTexture* colorMapTexture, |
+ const SkMatrix& matrix, GrCoordSet coordSet = kLocal_GrCoordSet); |
+}; |
+ |
+#endif |