wayland-egl-priv.h revision 2a81037439afb04d4170f674646cdae59619707d
1#ifndef _WAYLAND_EGL_PRIV_H
2#define _WAYLAND_EGL_PRIV_H
3
4#ifdef  __cplusplus
5extern "C" {
6#endif
7
8/* GCC visibility */
9#if defined(__GNUC__) && __GNUC__ >= 4
10#define WL_EGL_EXPORT __attribute__ ((visibility("default")))
11#else
12#define WL_EGL_EXPORT
13#endif
14
15#include <wayland-client.h>
16
17struct 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
29#ifdef  __cplusplus
30}
31#endif
32
33#endif
34