mpv/video/out
Philip Langdale b030cfe05f vo_gpu: vulkan: open DRM render fd when using VK_KHR_display
While the basic Vulkan Display context can theoretically drive the
display without the involvement of any non-Vulkan code, that prevents
us from using VAAPI acceleration. When initialising VAAPI without a
window system, we need to provide it with an opened DRM render fd
corresponding to the device to use.

In the context of using VK_KHR_display, that means we need to identify
which DRM device matches the selected Vulkan device, and then open its
render fd and set the necessary state that VAAPI expects to find.

With that done, the normal VAAPI<->Vulkan interop can kick in and we
get working acceleration
2021-11-15 21:07:21 -08:00
..
cocoa cocoa_common: remove deprecated VOCTRLs/VO_EVENTs 2019-12-12 19:56:03 +01:00
d3d11 options: Make validation and help possible for all option types 2021-03-28 19:46:27 +03:00
gpu osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
hwdec vo_gpu: libplacebo: drop conditional code paths for old versions 2021-10-04 12:09:58 +02:00
mac mac: add support for display-width/display-height property 2021-05-06 17:36:55 +00:00
opengl egl_helpers: remove EGL_OPENGL_ES3_BIT 2021-11-11 16:51:51 +00:00
placebo vo_gpu_next: fix slight performance regression 2021-11-10 10:38:58 +01:00
vulkan vo_gpu: vulkan: open DRM render fd when using VK_KHR_display 2021-11-15 21:07:21 -08:00
win32 vo_gpu: win: remove exclusive-fullscreen detection hack 2017-12-20 14:53:41 +11:00
android_common.c options: simplify --android-surface-size handling 2020-09-20 12:04:25 +02:00
android_common.h context_android: move common code to a separate file 2019-09-27 00:05:06 +03:00
aspect.c options: add --video-scale-x/y 2020-06-03 17:26:44 +02:00
aspect.h
bitmap_packer.c video/out/bitmap_packer: Avoid empty initializer list 2019-11-18 16:50:21 +01:00
bitmap_packer.h
cocoa_cb_common.swift mac: fix traditional fullscreen on macOS 11 2021-02-27 13:12:46 +01:00
cocoa_common.h
cocoa_common.m build: change filenames of generated files 2020-06-04 16:59:05 +02:00
dither.c
dither.h
dr_helper.c client API: fix potential deadlock problems by throwing more shit at it 2019-09-26 14:14:49 +02:00
dr_helper.h client API: fix potential deadlock problems by throwing more shit at it 2019-09-26 14:14:49 +02:00
drm_atomic.c vo_drm: fix typo in error message 2021-08-26 20:35:13 +03:00
drm_atomic.h drm: rename plane options to better, invariant, names 2018-12-01 15:42:20 +02:00
drm_common.c context_drm_egl: add support for BGR surface formats 2021-11-10 09:57:58 -08:00
drm_common.h context_drm_egl: add support for BGR surface formats 2021-11-10 09:57:58 -08:00
drm_prime.c drm_prime: fallback to drmModeAddFB2 2020-05-08 21:26:25 +02:00
drm_prime.h drm_prime: double free bug 2020-03-05 18:12:57 +01:00
filter_kernels.c filter_kernels: fix quadric window 2021-05-04 13:18:43 +02:00
filter_kernels.h vo_opengl: refactor scaler LUT weight packing/loading 2017-09-04 13:53:14 +02:00
libmpv.h client API: add software rendering API 2020-07-08 22:42:05 +02:00
libmpv_sw.c client API: add software rendering API 2020-07-08 22:42:05 +02:00
vo.c options: remove always true m_obj_list::allow_unknown_entries 2021-11-15 14:02:08 +00:00
vo.h command: add display-width/display-height property 2021-05-06 17:36:55 +00:00
vo_caca.c vo_caca: Implement VOCTRL_UPDATE_WINDOW_TITLE 2019-10-29 17:07:41 +01:00
vo_direct3d.c vo_direct3d: dumb down OSD rendering 2020-05-13 23:16:32 +02:00
vo_drm.c drm_common: enable specific device selection by means of path 2021-10-25 20:37:03 +02:00
vo_gpu.c vo_gpu: lift ra_ctx_* opts to a global struct 2021-11-03 14:09:27 +01:00
vo_gpu_next.c vo_gpu_next: Initialize `pl_frame_mix` 2021-11-09 02:14:30 +01:00
vo_image.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
vo_lavc.c encode: get rid of the output packet queue 2018-05-03 01:08:44 +03:00
vo_libmpv.c client API: add software rendering API 2020-07-08 22:42:05 +02:00
vo_mediacodec_embed.c vo_mediacodec_embed: fix forgotten VO_CAP_NOREDRAW→VO_CAP_NORETAIN 2018-02-20 01:59:20 +02:00
vo_null.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
vo_rpi.c vo_rpi: fix DISPMANX_UPDATE_HANDLE_T leak 2021-09-28 16:46:52 +00:00
vo_sdl.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
vo_sixel.c vo_sixel: don't divide by zero on small terminal 2020-12-02 17:06:11 +02:00
vo_tct.c vo_tct: add resize capability 2021-08-26 11:29:07 -07:00
vo_vaapi.c draw_bmp: use command line options for any used scalers 2020-05-13 20:07:59 +02:00
vo_vdpau.c vo_vdpau: Don't treat preemption as an error when reconfiguring 2021-08-12 11:14:37 -07:00
vo_wlshm.c vo_wlshm: remove empty options struct 2021-08-09 16:39:08 -05:00
vo_x11.c vo_x11: partially restore operation on bad endian systems 2020-06-17 19:44:50 +02:00
vo_xv.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
w32_common.c win32: initial position: center with borders 2021-09-06 10:16:10 +03:00
w32_common.h
wayland_common.c wayland: remove bogus scale_change variable 2021-11-08 09:49:49 -06:00
wayland_common.h wayland: remove bogus scale_change variable 2021-11-08 09:49:49 -06:00
win_state.c win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
win_state.h win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
x11_common.c player: fix autofit/geometry related segfault 2021-11-03 00:32:27 +00:00
x11_common.h x11: update geometry/autofit opts on runtime 2020-12-14 22:44:05 +00:00