summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-05-31 11:13:57 +0200
committerKristian Høgsberg <[email protected]>2011-05-31 15:13:36 -0400
commit5bf6cc95c1e3dc01dde2bd91fc0bd4eb02cddd40 (patch)
tree7757ba966917a3b240d3d26ffa2b38b9f746e11e /src/egl/wayland
parentf04765922c02f2b522b0de17c7c7ce67beca1efe (diff)
wayland-egl: Remove left-over headers and struct
Diffstat (limited to 'src/egl/wayland')
-rw-r--r--src/egl/wayland/wayland-egl/wayland-egl-priv.h15
-rw-r--r--src/egl/wayland/wayland-egl/wayland-egl.c13
2 files changed, 1 insertions, 27 deletions
diff --git a/src/egl/wayland/wayland-egl/wayland-egl-priv.h b/src/egl/wayland/wayland-egl/wayland-egl-priv.h
index 7bb436a78ab..179f5cf199b 100644
--- a/src/egl/wayland/wayland-egl/wayland-egl-priv.h
+++ b/src/egl/wayland/wayland-egl/wayland-egl-priv.h
@@ -12,20 +12,8 @@ extern "C" {
#define WL_EGL_EXPORT
#endif
-#include <stdbool.h>
#include <wayland-client.h>
-struct wl_egl_display {
- struct wl_display *display;
-
- struct wl_drm *drm;
- int fd;
- char *device_name;
- bool authenticated;
-
- void (*glFlush)(void);
-};
-
struct wl_egl_window {
struct wl_surface *surface;
struct wl_visual *visual;
@@ -40,8 +28,7 @@ struct wl_egl_window {
};
struct wl_egl_pixmap {
- struct wl_egl_display *display;
- struct wl_visual *visual;
+ struct wl_visual *visual;
struct wl_buffer *buffer;
int width;
diff --git a/src/egl/wayland/wayland-egl/wayland-egl.c b/src/egl/wayland/wayland-egl/wayland-egl.c
index 3e1a9c45bdc..c8f73ea8a3a 100644
--- a/src/egl/wayland/wayland-egl/wayland-egl.c
+++ b/src/egl/wayland/wayland-egl/wayland-egl.c
@@ -1,21 +1,8 @@
-#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
-#include <stdbool.h>
-#include <errno.h>
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
-
-#include <dlfcn.h>
#include <wayland-client.h>
#include "wayland-egl.h"
#include "wayland-egl-priv.h"
-#include "wayland-drm-client-protocol.h"
-#include <xf86drm.h>
WL_EGL_EXPORT void
wl_egl_window_resize(struct wl_egl_window *egl_window,