Simon Ser
297354f847
Remove unnecessary wl_display_dispatch calls
...
wl_display_roundtrip already takes care of dispatching the display.
4 years ago
Simon Ser
61d6408fdb
examples/dmabuf-capture: use getopt
...
This makes it a little bit less annoying to provide the right arguments.
All options have reasonable defaults.
5 years ago
Simon Ser
16e5e9541b
Add -Wmissing-prototypes
...
This requires functions without a prototype definition to be static.
This allows to detect dead code, export less symbols and put shared
functions in headers.
5 years ago
emersion
7309d8c9ac
Fix two issues found with Clang's static analyzer
6 years ago
emersion
2d0c5ec78e
Use _POSIX_C_SOURCE, use shm_open
6 years ago
Scott Anderson
7ca3bc1d6f
Fix libdrm includes
...
This removes any assumptions about how the libdrm headers are installed,
and uses the pkg-config include directories as we're "supposed to".
This only adds a partial dependency, since we don't actually need to
link against libdrm.
6 years ago
emersion
3df602a62d
export-dmabuf: disable hardware cursors if desired
...
Also make the frame resource inert when sending "ready".
6 years ago
Rostislav Pehlivanov
5707653e85
examples/dmabuf-capture: move encoding to a separate thread
...
Drop new frames if too slow. Speeds up encoding significantly, even with vaapi.
7 years ago
Rostislav Pehlivanov
ed7d5b0f53
Fix example
7 years ago
emersion
bd0c1b7949
export-dmabuf: update protocol
7 years ago
Rostislav Pehlivanov
9eddcbc376
Update example and protocol
7 years ago
emersion
70d324a0f9
examples/dmabuf-capture: simplify event loop and fix style
7 years ago
emersion
2198fd5eed
examples/dmabuf-capture: fix indentation
7 years ago
Rostislav Pehlivanov
f204a9127c
Command line parsing
7 years ago
Rostislav Pehlivanov
b9b397ef80
Add a demo client for dmabuf export
7 years ago