summaryrefslogtreecommitdiff
path: root/clients/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'clients/window.h')
-rw-r--r--clients/window.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/clients/window.h b/clients/window.h
index c1c5212e..538ff07e 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 @@ display_get_shell(struct display *display);
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 @@ window_move(struct window *window, struct input *input, uint32_t time);
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);