Home | History | Annotate | Download | only in wayland-egl
      1 #ifndef _WAYLAND_EGL_PRIV_H
      2 #define _WAYLAND_EGL_PRIV_H
      3 
      4 /* GCC visibility */
      5 #if defined(__GNUC__)
      6 #define WL_EGL_EXPORT __attribute__ ((visibility("default")))
      7 #else
      8 #define WL_EGL_EXPORT
      9 #endif
     10 
     11 #include <wayland-client.h>
     12 
     13 #ifdef  __cplusplus
     14 extern "C" {
     15 #endif
     16 
     17 struct wl_egl_window {
     18 	struct wl_surface *surface;
     19 
     20 	int width;
     21 	int height;
     22 	int dx;
     23 	int dy;
     24 
     25 	int attached_width;
     26 	int attached_height;
     27 
     28 	void *private;
     29 	void (*resize_callback)(struct wl_egl_window *, void *);
     30 	void (*destroy_window_callback)(void *);
     31 };
     32 
     33 #ifdef  __cplusplus
     34 }
     35 #endif
     36 
     37 #endif
     38