weston/clients
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
..
.gitignore protocol: add sub-surfaces 2013-05-10 14:05:59 -04:00
calibrator.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
clickdot.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
cliptest.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
desktop-shell.c desktop-shell: better error logging 2013-04-15 20:57:55 -04:00
dnd.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
editor.c editor: Removed unused utf8_characters() function 2013-05-10 12:51:08 -04:00
eventdemo.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
flower.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
gears.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
glmatrix.c Add signedness warning flag and fix fallout 2012-03-30 11:52:39 -04:00
image.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
keyboard.c keyboard: Fix offsets when deleting text 2013-05-06 20:26:20 -04:00
Makefile.am protocol: add sub-surfaces 2013-05-10 14:05:59 -04:00
matrix3.xpm clients: import glmatrix.c and matrix3.xpm 2011-11-18 14:45:04 +02:00
resizor.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
screenshot.c screenshot: Print warning if we're not launched from weston 2013-02-13 13:41:07 -05:00
simple-egl.c simple-egl: Add support for EGL_EXT_swap_buffer_with_damage 2013-05-08 11:39:59 -04:00
simple-shm.c compositor: Only send release event in response to wl_surface.attach 2013-03-05 15:35:47 -05:00
simple-touch.c clients: add global_remove handler stubs 2013-01-24 16:42:38 -05:00
smoke.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
tablet-shell.c clients: tablet-shell: Wait for set_homescreen hits the server 2013-04-09 15:05:32 -04:00
terminal.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
transformed.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
view.c view: g_type_init() is deprecated in glib >= 2.35 2013-05-02 16:22:27 -04:00
weston-info.c clients: add global_remove handler stubs 2013-01-24 16:42:38 -05:00
weston-simple-im.c text: Rename input_method to wl_input_method 2013-05-02 17:18:46 -04:00
window.c window: Add a log handler for window.c clients 2013-04-16 20:46:59 -04:00
window.h protocol: add sub-surfaces 2013-05-10 14:05:59 -04:00
wscreensaver-glue.c screensaver: fix decoding of transparency in xpm files 2012-09-06 21:08:12 -04:00
wscreensaver-glue.h Never include wayland-util.h directly 2011-11-22 09:35:14 -05:00
wscreensaver.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
wscreensaver.h Add signedness warning flag and fix fallout 2012-03-30 11:52:39 -04:00