Add e_shader
authorChris Michael <cp.michael@samsung.com>
Mon, 10 Jun 2013 06:50:42 +0000 (07:50 +0100)
committerChris Michael <cp.michael@samsung.com>
Mon, 10 Jun 2013 06:50:42 +0000 (07:50 +0100)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_wayland/e_shader.h [new file with mode: 0644]

diff --git a/src/bin/e_wayland/e_shader.h b/src/bin/e_wayland/e_shader.h
new file mode 100644 (file)
index 0000000..f229bbe
--- /dev/null
@@ -0,0 +1,30 @@
+#ifdef E_TYPEDEFS
+
+typedef struct _E_Shader E_Shader;
+
+#else
+# ifndef E_SHADER_H
+#  define E_SHADER_H
+
+struct _E_Shader
+{
+#  ifdef HAVE_WAYLAND_EGL
+   GLuint program;
+   struct
+     {
+        GLuint vertext, fragment;
+     } shader;
+   struct 
+     {
+        GLint proj, tex[3];
+        GLint alpha, color;
+     } uniform;
+   struct 
+     {
+        const char *vertext, *fragment;
+     } source;
+#  endif
+};
+
+# endif
+#endif