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

Unified Diff: src/gpu/effects/GrIndex8toRGBEffect.h

Issue 1495693003: Index8 GPU and CPU raster support. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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
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

Powered by Google App Engine
This is Rietveld 408576698