diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-04-15 14:53:39 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-04-15 14:53:39 +0200 |
commit | 68dfb059a56a11e579cd985cc37b6e4470128b81 (patch) | |
tree | 35b01ce144154765321404d22c324bdf050039c9 | |
parent | a0010d8f8260387e9edd27a9f3d466ac784c12de (diff) |
wayland-egl: Add USE_SCANOUT flag (new parameter in window_create)use_flags
-rw-r--r-- | wayland/wayland-egl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wayland/wayland-egl.h b/wayland/wayland-egl.h index d3de87c..765c3f3 100644 --- a/wayland/wayland-egl.h +++ b/wayland/wayland-egl.h @@ -32,6 +32,10 @@ extern "C" { #define WL_EGL_PLATFORM 1 +enum wl_egl_flags { + WL_EGL_USE_SCANOUT = (1 << 0), +}; + struct wl_egl_display; struct wl_egl_window; struct wl_egl_pixmap; @@ -46,7 +50,7 @@ struct wl_egl_window * wl_egl_window_create(struct wl_egl_display *egl_display, struct wl_surface *surface, int width, int height, - struct wl_visual *visual); + struct wl_visual *visual, uint32_t flags); void wl_egl_window_destroy(struct wl_egl_window *egl_window); |