[RFC wayland 1/4] wayland-egl: Add functions to replace eglSwapBuffers.

John Kåre Alsaker john.kare.alsaker at gmail.com
Sat Mar 2 17:26:11 PST 2013


---
 src/wayland-egl.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/wayland-egl.h b/src/wayland-egl.h
index 8255151..49bd9f7 100644
--- a/src/wayland-egl.h
+++ b/src/wayland-egl.h
@@ -30,7 +30,7 @@ extern "C" {
 
 #include <wayland-client.h>
 
-#define WL_EGL_PLATFORM 1
+#define WL_EGL_PLATFORM 2
 
 struct wl_egl_window;
 
@@ -50,6 +50,12 @@ void
 wl_egl_window_get_attached_size(struct wl_egl_window *egl_window,
 				int *width, int *height);
 
+struct wl_buffer *
+wl_egl_window_take_buffer(struct wl_egl_window *egl_window);
+
+int
+wl_egl_window_commit(struct wl_egl_window *egl_window);
+
 #ifdef  __cplusplus
 }
 #endif
-- 
1.8.1.4



More information about the wayland-devel mailing list