forked from enlightenment/efl
evas-wayland-egl: Add support for SWAP_MODE_QUADRUPLE and use
Eina_Bool for boolean values Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
7cf7ca213b
commit
e2c08ffec2
|
@ -11,7 +11,8 @@ typedef enum _Evas_Engine_Info_Wayland_Egl_Swap_Mode
|
|||
EVAS_ENGINE_WAYLAND_EGL_SWAP_MODE_FULL = 1,
|
||||
EVAS_ENGINE_WAYLAND_EGL_SWAP_MODE_COPY = 2,
|
||||
EVAS_ENGINE_WAYLAND_EGL_SWAP_MODE_DOUBLE = 3,
|
||||
EVAS_ENGINE_WAYLAND_EGL_SWAP_MODE_TRIPLE = 4
|
||||
EVAS_ENGINE_WAYLAND_EGL_SWAP_MODE_TRIPLE = 4,
|
||||
EVAS_ENGINE_WAYLAND_EGL_SWAP_MODE_QUADRUPLE = 5
|
||||
} Evas_Engine_Info_Wayland_Egl_Swap_Mode;
|
||||
|
||||
struct _Evas_Engine_Info_Wayland_Egl
|
||||
|
@ -25,6 +26,7 @@ struct _Evas_Engine_Info_Wayland_Egl
|
|||
{
|
||||
struct wl_display *display;
|
||||
struct wl_surface *surface;
|
||||
struct wl_egl_window *win;
|
||||
int depth, screen, rotation, edges;
|
||||
unsigned int destination_alpha : 1;
|
||||
} info;
|
||||
|
@ -39,8 +41,8 @@ struct _Evas_Engine_Info_Wayland_Egl
|
|||
/* non-blocking or blocking mode */
|
||||
Evas_Engine_Render_Mode render_mode;
|
||||
|
||||
unsigned char vsync : 1;
|
||||
unsigned char indirect : 1;
|
||||
Eina_Bool vsync : 1;
|
||||
Eina_Bool indirect : 1;
|
||||
unsigned char swap_mode : 4;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue