mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 22:58:11 +02:00
clients: add client to test the dma-buf feedback implementation
Simple client to test the dma-buf feedback implementation. This does not replace the need to implement a dma-buf feedback test that can be run in the CI. But as we still don't know exactly how to do this, this client can be helpful to run tests manually. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
5429302e78
commit
18d9ad98b1
3 changed files with 1408 additions and 1 deletions
|
|
@ -50,6 +50,26 @@ simple_clients = [
|
|||
],
|
||||
'dep_objs': [ dep_wayland_client, dep_libshared ]
|
||||
},
|
||||
{
|
||||
'name': 'dmabuf-feedback',
|
||||
'sources': [
|
||||
'simple-dmabuf-feedback.c',
|
||||
'../libweston/pixel-formats.c',
|
||||
linux_dmabuf_unstable_v1_client_protocol_h,
|
||||
linux_dmabuf_unstable_v1_protocol_c,
|
||||
xdg_shell_client_protocol_h,
|
||||
xdg_shell_protocol_c,
|
||||
],
|
||||
'dep_objs': [
|
||||
dep_wayland_client,
|
||||
dep_libshared,
|
||||
dep_pixman,
|
||||
dep_libdrm,
|
||||
dependency('libudev', version: '>= 136'),
|
||||
],
|
||||
'deps': [ 'egl', 'glesv2', 'gbm' ],
|
||||
'options': [ 'renderer-gl' ]
|
||||
},
|
||||
{
|
||||
'name': 'dmabuf-egl',
|
||||
'sources': [
|
||||
|
|
|
|||
1387
clients/simple-dmabuf-feedback.c
Normal file
1387
clients/simple-dmabuf-feedback.c
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -200,7 +200,7 @@ option(
|
|||
option(
|
||||
'simple-clients',
|
||||
type: 'array',
|
||||
choices: [ 'all', 'damage', 'im', 'egl', 'shm', 'touch', 'dmabuf-v4l', 'dmabuf-egl' ],
|
||||
choices: [ 'all', 'damage', 'im', 'egl', 'shm', 'touch', 'dmabuf-feedback', 'dmabuf-v4l', 'dmabuf-egl' ],
|
||||
value: [ 'all' ],
|
||||
description: 'Sample clients: simple test programs'
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue