Index: src/core/SkSpanProcs.h |
diff --git a/src/core/SkSpanProcs.h b/src/core/SkSpanProcs.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..891f4e2d82216739f12b0e785ccca43fd3826499 |
--- /dev/null |
+++ b/src/core/SkSpanProcs.h |
@@ -0,0 +1,24 @@ |
+/* |
+ * Copyright 2016 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef SkSpanProcs_DEFINED |
+#define SkSpanProcs_DEFINED |
+ |
+#include "SkPM4f.h" |
+ |
+struct SkImageInfo; |
+class SkPaint; |
+class SkPixmap; |
+struct SkPM4f; |
+ |
+typedef void (*SkLoadSpanProc)(const SkPixmap&, int x, int y, SkPM4f span[], int count); |
+typedef void (*SkFilterSpanProc)(const SkPaint& paint, SkPM4f span[], int count); |
+ |
+SkLoadSpanProc SkLoadSpanProc_Choose(const SkImageInfo&); |
+SkFilterSpanProc SkFilterSpanProc_Choose(const SkPaint&); |
+ |
+#endif |