weston/protocol
Pekka Paalanen 0de22a38e6 protocol: add Presentation feedback flags
Add the missing feedback flags to the Presentation extension protocol
specification.

These flags are slightly different from the previous RFCv3.1 definition:
http://lists.freedesktop.org/archives/wayland-devel/2014-March/013598.html

Now, all compositors are safe to use 0 as the flags if they don't bother
setting them properly. 0 is the "worst case" with the least guarantees.

The meaning of ZERO_COPY is not exactly the opposite of the old COPY
flag. ZERO_COPY is more strict, but applies only to that one surface.
Therefore it can be used to verify a zero-copy video playback pipeline,
also to a hardware overlay.

There is no longer a flag to clearly indicate if the final presentation
was done by a copy or a page flip. ZERO_COPY forbids the copy, but VSYNC
alone does allow copy in case it cannot tear.  It is possible to have
first a compositing pass, and then another copy into the frontbuffer,
and still set VSYNC if it cannot tear.  Usually "cannot tear" is too
hard to guarantee with a copy, so it often implies a page flip.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Tested-by: Mario Kleiner <mario.kleiner.de@gmail.com>
2015-01-20 17:12:56 -08:00
..
desktop-shell.xml desktop-shell: add set_panel_position to help place views onscreen 2014-08-20 17:06:19 +03:00
fullscreen-shell.xml protocol: Fix some typos in protocol files 2014-11-19 13:55:00 +02:00
input-method.xml text: Fix some typos 2014-12-15 17:26:16 +02:00
ivi-application.xml protocol: add interface ivi_application extension 2014-12-04 17:13:41 +02:00
ivi-hmi-controller.xml protocol: ivi hmi controller protocol to set up IVI style UI 2014-12-04 17:13:41 +02:00
presentation_timing.xml protocol: add Presentation feedback flags 2015-01-20 17:12:56 -08:00
scaler.xml protocol: fix a wrong word in wl_viewport.set_source 2014-08-27 15:46:22 +03:00
screenshooter.xml screenshooter: Grab pixel data directly before buffer swap 2012-04-20 16:13:27 -04:00
text-cursor-position.xml Convert text cursor position protocol to use fixed types. 2012-06-04 11:07:50 -04:00
text.xml protocol: Fix some typos in protocol files 2014-11-19 13:55:00 +02:00
wayland-test.xml tests: Test whether a simple EGL main loop uses too many buffers 2013-12-07 22:26:23 -08:00
workspaces.xml shell: Introduce workspace manager interface 2012-08-31 19:51:49 -04:00
xdg-shell.xml protocol: add role error code to xdg_shell 2014-10-08 13:15:45 +03:00