forked from enlightenment/efl
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:
parent
30bd7c27e0
commit
b524b31256
File diff suppressed because it is too large
Load Diff
|
@ -2,6 +2,17 @@
|
||||||
# define EVAS_ENGINE_H
|
# define EVAS_ENGINE_H
|
||||||
|
|
||||||
# include "config.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_common.h"
|
||||||
# include "evas_private.h"
|
# include "evas_private.h"
|
||||||
# include "evas_gl_common.h"
|
# include "evas_gl_common.h"
|
||||||
|
@ -10,15 +21,6 @@
|
||||||
|
|
||||||
# define GL_GLEXT_PROTOTYPES
|
# 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;
|
extern int _evas_engine_wl_egl_log_dom;
|
||||||
|
|
||||||
# ifdef ERR
|
# ifdef ERR
|
||||||
|
@ -60,7 +62,7 @@ struct _Evas_GL_Wl_Window
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
int drew : 1;
|
Eina_Bool drew : 1;
|
||||||
} draw;
|
} draw;
|
||||||
|
|
||||||
#ifdef GL_GLES
|
#ifdef GL_GLES
|
||||||
|
@ -70,7 +72,7 @@ struct _Evas_GL_Wl_Window
|
||||||
EGLDisplay egl_disp;
|
EGLDisplay egl_disp;
|
||||||
#endif
|
#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);
|
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);
|
||||||
|
|
Loading…
Reference in New Issue