mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
tests: Initial wlr_surface unit test
A small unit test of wlr_surface, currently testing surface and buffer damage with scaling, transform and viewport, including interaction with surface state locking.
This commit is contained in:
parent
334019f839
commit
541e046d72
3 changed files with 320 additions and 15 deletions
|
|
@ -1,8 +1,21 @@
|
|||
wayland_client = dependency('wayland-client', kwargs: wayland_kwargs)
|
||||
|
||||
test(
|
||||
'box',
|
||||
executable('test-box', 'test_box.c', dependencies: wlroots),
|
||||
)
|
||||
|
||||
test(
|
||||
'surface',
|
||||
executable('test-surface',
|
||||
[
|
||||
'test_surface.c',
|
||||
'../util/shm.c',
|
||||
protocols_code['viewporter'],
|
||||
],
|
||||
dependencies: [wlroots, wayland_client]),
|
||||
)
|
||||
|
||||
benchmark(
|
||||
'scene',
|
||||
executable('bench-scene', 'bench_scene.c', dependencies: wlroots),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue