mutter/src/tests/wayland-test-clients
Robert Mader 11fc5b6c6c tests/wayland: Add more requests to test driver protocol
Add `sync_effects_completed()` and `verify_view()` in
order to allow Wayland test clients to trigger verifications
and add convenience functions to use them to client-utils.

Notes:
- `sync_effects_completed()` works in two stages in order
  to ensure it doesn't race with window effects. By the time
  `sync_effects_completed()` is processed, an effect could
  already have ended or not yet been scheduled. Thus we
  defer a check for pending effects to the next paint cycle,
  assuming that by then they should have been scheduled.
- `meta_ref_test_verify_view()` internally triggers the
  `paint` signal for the stage which is why it can not be run
  in the after-paint signal handler.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1055>
2022-06-03 09:03:10 +00:00
..
buffer-transform.c tests/wayland: Add more requests to test driver protocol 2022-06-03 09:03:10 +00:00
dma-buf-scanout.c tests/kms/render: Add direct scanout test case 2022-06-02 08:59:13 +00:00
invalid-subsurfaces.c tests/wayland: Make display helper a GObject 2022-05-17 08:03:29 +00:00
invalid-xdg-shell-actions.c tests/wayland: Draw surface with shared helper 2022-05-17 08:03:29 +00:00
meson.build tests/kms/render: Add direct scanout test case 2022-06-02 08:59:13 +00:00
subsurface-parent-unmapped.c tests/wayland: Draw surface with shared helper 2022-05-17 08:03:29 +00:00
subsurface-remap-toplevel.c tests/wayland: Draw surface with shared helper 2022-05-17 08:03:29 +00:00
subsurface-reparenting.c tests/wayland: Draw surface with shared helper 2022-05-17 08:03:29 +00:00
test-driver.xml tests/wayland: Add more requests to test driver protocol 2022-06-03 09:03:10 +00:00
wayland-test-client-utils.c tests/wayland: Add more requests to test driver protocol 2022-06-03 09:03:10 +00:00
wayland-test-client-utils.h tests/wayland: Add more requests to test driver protocol 2022-06-03 09:03:10 +00:00
xdg-activation.c tests/wayland: Draw surface with shared helper 2022-05-17 08:03:29 +00:00
xdg-apply-limits.c tests/wayland: Draw surface with shared helper 2022-05-17 08:03:29 +00:00
xdg-toplevel-bounds.c tests/wayland: Draw surface with shared helper 2022-05-17 08:03:29 +00:00