Add new wayland_egl engine that does buffer age, double/triple

buffering, etc, and uses evas gl_common (so glview/simple tests in elm work).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-05-31 08:39:15 +01:00
parent 30bd7c27e0
commit b524b31256
2 changed files with 2272 additions and 39 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,17 @@
# define EVAS_ENGINE_H
# include "config.h"
/* NB: This already includes wayland-client.h */
# include <wayland-egl.h>
# ifdef GL_GLES
# include <EGL/egl.h>
/* NB: These are already included from gl_common */
/* # include <GLES2/gl2.h> */
/* # include <GLES2/gl2ext.h> */
# endif
# include "evas_common.h"
# include "evas_private.h"
# include "evas_gl_common.h"
@ -10,15 +21,6 @@
# define GL_GLEXT_PROTOTYPES
/* NB: This already includes wayland-client.h */
# include <wayland-egl.h>
# ifdef GL_GLES
# include <EGL/egl.h>
# include <GLES2/gl2.h>
# include <GLES2/gl2ext.h>
# endif
extern int _evas_engine_wl_egl_log_dom;
# ifdef ERR
@ -60,7 +62,7 @@ struct _Evas_GL_Wl_Window
struct
{
int drew : 1;
Eina_Bool drew : 1;
} draw;
#ifdef GL_GLES
@ -70,7 +72,7 @@ struct _Evas_GL_Wl_Window
EGLDisplay egl_disp;
#endif
int surf : 1;
Eina_Bool surf : 1;
};
Evas_GL_Wl_Window *eng_window_new(struct wl_display *disp, struct wl_surface *surface, int screen, int depth, int w, int h, int indirect, int alpha, int rot);