weston/tests
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
button-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
event-test.c tests: add test for buffer release event 2013-02-08 13:38:17 -05:00
keyboard-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
Makefile.am protocol: add sub-surfaces 2013-05-10 14:05:59 -04:00
matrix-test.c Move matrix.[ch] to shared 2012-12-06 15:53:03 -05:00
setbacklight.c tests/setbacklight: Close filedescriptor on return paths 2013-01-10 16:07:08 -05:00
surface-global-test.c Pass argc and argv to modules 2013-02-20 15:37:49 -05:00
surface-test.c Pass argc and argv to modules 2013-02-20 15:37:49 -05:00
text-test.c text: Rename text_input to wl_text_input 2013-05-02 17:06:27 -04:00
weston-test-client-helper.c tests: attach the surface's buffer when moving it 2013-03-04 12:28:42 -05:00
weston-test-client-helper.h tests: export create_shm_buffer() helper 2013-02-08 13:38:14 -05:00
weston-test-runner.c tests: make signal other than ABRT a hard failure 2013-01-24 16:24:22 -05:00
weston-test-runner.h tests: Convert keyboard-test to new test extension 2012-12-11 15:30:25 -05:00
weston-test.c input: Merge wl_seat into weston_seat 2013-05-07 09:07:43 -04:00
weston-tests-env tests: Use&Fix parallel tests 2013-02-22 08:35:22 -05:00
xwayland-test.c tests: Add XWayland test 2013-02-08 12:18:05 -05:00