[PATCH] Extend wl_surface protocol

Axel Davy axel.davy at ens.fr
Sat Nov 2 16:39:57 PDT 2013


Here is another proposition to extend the protocol
to allow video players to control better the time at 
which frames hit the screen.

Contrary to the original proposition:
http://lists.freedesktop.org/archives/wayland-devel/2013-October/011496.html

I do not separate the new request in another interface.

The first request: presentation_time is only an indication to the compositor,
and the hit request is a similar feedback to the frame request, but the 
notification is when the frame hit the screen. That's why I don't think it 
should be difficult for some compositors to implement it, and don't feel the 
need to separate it in another interface.

The requests were designed to help implement the Present extension for
XWayland. However the Present extension use Microseconds times, instead
of Milliseconds.

Any feedback is appreciated.

I'm not English native, so if you feel some sentence are incorrect,
please help me to correct them.

Axel Davy (1):
  Add presentation_time and hit requests to wl_surface.

 protocol/wayland.xml | 70 +++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 67 insertions(+), 3 deletions(-)

-- 
1.8.1.2



More information about the wayland-devel mailing list