summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vaapi_wayland.c
Commit message (Collapse)AuthorAgeFilesLines
* vo: move allocate_memfd method to wayland_commonAaron Boxer2022-05-301-20/+1
|
* vo_vaapi_wayland/wayland_common: code style fixesDudemanguy2022-05-301-75/+113
| | | | | | | | A bad person (AKA me) merged this stuff without paying close enough attention to the code style. Reformat this to be in-line with the rest of the wayland code and general mpv style (braces for functions on the next line, horizontally aligning arguments, some cosmetic cleanups for wayland_common.h, etc.).
* wayland: use mp_tag_str not drm_format_stringDudemanguy2022-05-301-3/+2
| | | | | | | | | | | So it turns out that mpv already has an mp_tag_str which makes a readable string out of fourccs (drm formats are these). drm_format_string, on the other hand, has a ton of baggage with having to check different libdrm versions for certain headers, adding compile-time defines (because there are no version defines in the libdrm headers), etc. It's a lot simpler to just use what mpv already has and it returns what you actually care about: i.e. is this format supported or not. Fixes https://github.com/mpv-player/mpv-build/issues/184
* vo: add new vaapi-wayland driverAaron Boxer2022-05-241-0/+401
This driver makes use of dmabuffer and viewporter interfaces to enable efficient display of vaapi surfaces, avoiding any unnecessary colour space conversion, and avoiding scaling or colour conversion using GPU shader resources.