wayland-egl: Remove left-over headers and struct
[mesa.git] / src / egl / wayland / wayland-egl / wayland-egl-priv.h
1 #ifndef _WAYLAND_EGL_PRIV_H
2 #define _WAYLAND_EGL_PRIV_H
3
4 #ifdef __cplusplus
5 extern "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
17 struct wl_egl_window {
18 struct wl_surface *surface;
19 struct wl_visual *visual;
20
21 int width;
22 int height;
23 int dx;
24 int dy;
25
26 int attached_width;
27 int attached_height;
28 };
29
30 struct wl_egl_pixmap {
31 struct wl_visual *visual;
32 struct wl_buffer *buffer;
33
34 int width;
35 int height;
36
37 void (*destroy) (struct wl_egl_pixmap *egl_pixmap);
38
39 void *driver_private;
40 };
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif