- updated to 1.7.6.1
[packages/evas.git] / evas-wayland.patch
CommitLineData
c845ba09
JB
1--- evas-1.2.0/src/modules/engines/wayland_egl/evas_engine.h.orig 2012-01-12 14:07:46.000000000 +0100
2+++ evas-1.2.0/src/modules/engines/wayland_egl/evas_engine.h 2012-05-27 17:32:54.658986859 +0200
3@@ -1,6 +1,10 @@
4 #ifndef EVAS_ENGINE_H
5 #define EVAS_ENGINE_H
6
7+#ifndef GLES_WAYLAND
8+#define GLES_WAYLAND 1
9+#endif
10+
11 #include "config.h"
12 #include "evas_common.h"
13 #include "evas_private.h"
14--- evas-1.2.0/src/modules/engines/gl_common/evas_gl_common.h.orig 2012-04-20 15:36:16.000000000 +0200
15+++ evas-1.2.0/src/modules/engines/gl_common/evas_gl_common.h 2012-05-27 17:32:34.405654373 +0200
16@@ -26,10 +26,10 @@
17 # include <SDL/SDL_opengl.h>
18 # endif
19 # else
20-# if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
21+# if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) || defined (GLES_WAYLAND)
22 # if defined(GLES_VARIETY_S3C6410)
23 # include <GLES2/gl2.h>
24-# elif defined(GLES_VARIETY_SGX)
25+# elif defined(GLES_VARIETY_SGX) || defined (GLES_WAYLAND)
26 # include <GLES2/gl2.h>
27 # include <GLES2/gl2ext.h>
28 # endif
c845ba09
JB
29@@ -633,7 +633,7 @@
30 extern void (*glsym_glProgramParameteri) (GLuint a, GLuint b, GLint d);
31 extern void (*glsym_glReleaseShaderCompiler)(void);
32
33-#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
34+#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) || defined (GLES_WAYLAND)
35 extern void *(*secsym_eglCreateImage) (void *a, void *b, GLenum c, void *d, const int *e);
36 extern unsigned int (*secsym_eglDestroyImage) (void *a, void *b);
37 extern void (*secsym_glEGLImageTargetTexture2DOES) (int a, void *b);
This page took 0.103078 seconds and 4 git commands to generate.