mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -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
f053f77dca
commit
fc22a423ed
2 changed files with 307 additions and 0 deletions
|
|
@ -1,8 +1,22 @@
|
|||
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'],
|
||||
protocols_client_header['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