weston/protocol
Pekka Paalanen 2396aec684 protocol: add sub-surfaces
Add protocol for sub-surfaces, wl_subcompositor as the global interface,
and wl_subsurface as the per-surface interface extension.

This patch is meant to be reverted, once sub-surfaces are moved into
Wayland core.

Changes in v2:

- Rewrite wl_subcompositor.get_subsurface description, and move mapping
  and commit details into wl_subsurface description. Check the wording
  in wl_subsurface.set_position description.

- Add wl_subsurface.set_commit_mode request, and document it, with the
  commit_mode enum. Add bad_value error code for wl_subsurface.

- Moved the protocol into Weston repository so we can land it upstream
  sooner for public exposure. It is to be moved into Wayland core later.

- Add destroy requests to both wl_subcompositor and wl_subsurface, and
  document them. Experience has showed, that interfaces should always
  have a destructor unless there is a good and future-proof reason to not
  have it.

Changes in v3:

- Specify, that wl_subsurface will become inert, if the corresponding
  wl_surface is destroyed, instead of requiring a certain destruction
  order.

- Replaced wl_subsurface.set_commit_mode with wl_subsurface.set_sync and
  wl_subsurface.set_desync. Parent-cached commit mode is now called
  synchronized, and independent mode is desynchronized. Removed
  commit_mode enum, and bad_value error.

- Added support for nested sub-surfaces.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2013-05-10 14:05:59 -04:00
..
desktop-shell.xml text: Move input_panel interface to input-method 2013-02-15 17:05:04 -05:00
input-method.xml text: Rename input_method to wl_input_method 2013-05-02 17:18:46 -04:00
Makefile.am tests: Define and implement a test protocol extension. 2012-12-11 15:29:52 -05:00
screenshooter.xml screenshooter: Grab pixel data directly before buffer swap 2012-04-20 16:13:27 -04:00
subsurface.xml protocol: add sub-surfaces 2013-05-10 14:05:59 -04:00
tablet-shell.xml De-brand the tablet shell 2011-11-14 15:57:59 -05:00
text-cursor-position.xml Convert text cursor position protocol to use fixed types. 2012-06-04 11:07:50 -04:00
text.xml text: Improve protocol documentation. 2013-05-02 17:12:21 -04:00
wayland-test.xml tests: Define and implement a test protocol extension. 2012-12-11 15:29:52 -05:00
workspaces.xml shell: Introduce workspace manager interface 2012-08-31 19:51:49 -04:00
xserver.xml compositor: Add a simple WM to the xserver launcher 2011-07-01 10:46:40 -04:00