Index: src/gpu/glsl/GrGLSLPLSPathRendering.h |
diff --git a/src/gpu/glsl/GrGLSLPLSPathRendering.h b/src/gpu/glsl/GrGLSLPLSPathRendering.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8edf04f37d1b41b64caa0e4d36da1d10067e3f2f |
--- /dev/null |
+++ b/src/gpu/glsl/GrGLSLPLSPathRendering.h |
@@ -0,0 +1,13 @@ |
+/* |
+ * Copyright 2016 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#define PLS_DSTCOLOR_NAME "pls.dstColor" |
bsalomon
2016/01/21 21:54:08
Let's prefix these with GR_GL_ since they aren't l
|
+#define PLS_PATH_DATA_DECL "__pixel_localEXT PLSData {\n"\ |
+ " layout(rgba8i) ivec4 windings;\n"\ |
+ " layout(rgba8) vec4 dstColor;\n"\ |
+ "} pls;\n" |
+ |