aboutsummaryrefslogtreecommitdiff
path: root/examples/dmabuf-capture.c
AgeCommit message (Collapse)Author
2020-05-01examples/dmabuf-capture: use getoptSimon Ser
This makes it a little bit less annoying to provide the right arguments. All options have reasonable defaults.
2019-11-20Add -Wmissing-prototypesSimon Ser
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.
2019-01-29Fix two issues found with Clang's static analyzeremersion
2018-11-06Use _POSIX_C_SOURCE, use shm_openemersion
2018-10-15Fix libdrm includesScott Anderson
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.
2018-09-18export-dmabuf: disable hardware cursors if desiredemersion
Also make the frame resource inert when sending "ready".
2018-06-25examples/dmabuf-capture: move encoding to a separate threadRostislav Pehlivanov
Drop new frames if too slow. Speeds up encoding significantly, even with vaapi.
2018-06-17Fix exampleRostislav Pehlivanov
2018-06-17export-dmabuf: update protocolemersion
2018-06-17Update example and protocolRostislav Pehlivanov
2018-05-29examples/dmabuf-capture: simplify event loop and fix styleemersion
2018-05-29examples/dmabuf-capture: fix indentationemersion
2018-05-29Command line parsingRostislav Pehlivanov
2018-05-29Add a demo client for dmabuf exportRostislav Pehlivanov