1 #ifndef _WAYLAND_EGL_PRIV_H
2 #define _WAYLAND_EGL_PRIV_H
9 #if defined(__GNUC__) && __GNUC__ >= 4
10 #define WL_EGL_EXPORT __attribute__ ((visibility("default")))
16 #include <wayland-client.h>
18 struct wl_egl_display
{
19 struct wl_display
*display
;
26 void (*glFlush
)(void);
29 struct wl_egl_window
{
30 struct wl_surface
*surface
;
31 struct wl_visual
*visual
;
42 struct wl_egl_pixmap
{
43 struct wl_egl_display
*display
;
44 struct wl_visual
*visual
;
51 void (*destroy
) (struct wl_egl_pixmap
*egl_pixmap
);