summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-11-03 12:25:07 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-11-03 12:25:07 +0100
commit66973a3fc55538cf1aca755c4d9ed28dfbca332b (patch)
tree3814dfd3386a424d879732cc3a90760a7451df4d
parente742dcc9ed4b22eb5191f7e8d2b7cd8011ed5893 (diff)
protocol: Add wl_surface::frame_fd requestframefd
The frame_fd request is used to achieve out of band frame synchronization. Needed to avoid dispatching events in eglSwapBuffers, which is needed since eglSwapBuffers may be called from different threads.
-rw-r--r--protocol/wayland.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 48ba68a..8c13e5c 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -410,6 +410,13 @@
<arg name="callback" type="new_id" interface="wl_callback"/>
</request>
+ <!-- Same semantics as for "frame", but notification is signaled
+ by writing the uint32_t time value to the supplied write end
+ of a pipe. The fd is closed when triggered. -->
+ <request name="frame_fd">
+ <arg name="fd" type="fd"/>
+ </request>
+
</interface>