Add e_shader

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-06-10 07:50:42 +01:00
parent 4d003429c6
commit d93921bc23
1 changed files with 30 additions and 0 deletions

View File

@ -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