gears: Use wayland egl surface instead of images
diff --git a/clients/window.h b/clients/window.h
index c1c5212..538ff07 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -26,6 +26,7 @@
#include <X11/extensions/XKBcommon.h>
#include <glib.h>
#include <wayland-client.h>
+#include <cairo.h>
struct window;
@@ -55,6 +56,16 @@
EGLDisplay
display_get_egl_display(struct display *d);
+EGLConfig
+display_get_egl_config(struct display *d);
+
+void
+display_acquire_window_surface(struct display *display,
+ struct window *window,
+ EGLContext ctx);
+void
+display_release(struct display *display);
+
#ifdef HAVE_CAIRO_EGL
EGLImageKHR
display_get_image_for_egl_image_surface(struct display *display,
@@ -142,6 +153,11 @@
void
window_draw(struct window *window);
+
+void
+window_get_allocation(struct window *window,
+ struct rectangle *allocation);
+
void
window_get_child_allocation(struct window *window,
struct rectangle *allocation);