mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
5707653e85
Drop new frames if too slow. Speeds up encoding significantly, even with vaapi.
53 lines
1.5 KiB
Meson
53 lines
1.5 KiB
Meson
threads = dependency('threads')
|
|
wayland_cursor = dependency('wayland-cursor')
|
|
|
|
libavutil = dependency('libavutil', required: false)
|
|
libavcodec = dependency('libavcodec', required: false)
|
|
libavformat = dependency('libavformat', required: false)
|
|
|
|
executable('simple', 'simple.c', dependencies: wlroots)
|
|
executable('pointer', 'pointer.c', dependencies: wlroots)
|
|
executable('touch', 'touch.c', 'cat.c', dependencies: wlroots)
|
|
executable('tablet', 'tablet.c', dependencies: wlroots)
|
|
executable('rotation', 'rotation.c', 'cat.c', dependencies: wlroots)
|
|
executable('multi-pointer', 'multi-pointer.c', dependencies: wlroots)
|
|
executable('output-layout', 'output-layout.c', 'cat.c', dependencies: wlroots)
|
|
|
|
executable(
|
|
'screenshot',
|
|
'screenshot.c',
|
|
dependencies: [wayland_client, wlr_protos, wlroots]
|
|
)
|
|
|
|
executable(
|
|
'idle',
|
|
'idle.c',
|
|
dependencies: [wayland_client, wlr_protos, wlroots, threads]
|
|
)
|
|
|
|
executable(
|
|
'idle-inhibit',
|
|
'idle-inhibit.c',
|
|
dependencies: [wayland_client, wlr_protos, wlroots, threads]
|
|
)
|
|
|
|
executable(
|
|
'layer-shell',
|
|
'layer-shell.c',
|
|
dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
|
|
)
|
|
|
|
executable(
|
|
'input-inhibitor',
|
|
'input-inhibitor.c',
|
|
dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
|
|
)
|
|
|
|
if libavutil.found() and libavcodec.found() and libavformat.found()
|
|
executable(
|
|
'dmabuf-capture',
|
|
'dmabuf-capture.c',
|
|
dependencies: [wayland_client, wlr_protos, libavutil, libavcodec,
|
|
libavformat, wlroots, threads ]
|
|
)
|
|
endif
|