mpv/video/out/opengl
Philip Langdale 73a06ffae6 drm: context_drm_egl: add support for enabling VRR
Variable Refresh Rate (VRR), aka Freesync or Adaptive Sync can be used
with DRM by setting the VRR_ENABLED property on a crtc if the
connector reports that it is VRR_CAPABLE. This is a useful feature
for us as it is common to play 24/25/50 fps content on displays that
are nominally locked to 60Hz. VRR can allow this content to play at
native framerates.

This is a simple change as we just need to check the capability
and set the enabled property if requested by the user. I've defaulted
it to disabled for now, but it might make sense to default to auto
in the long term.
2022-04-05 20:56:36 -07:00
..
angle_dynamic.c angle_dynamic: silence warnings during compilation 2016-11-25 09:49:49 +01:00
angle_dynamic.h vo_opengl: angle: rewrite with custom swap chain 2017-02-07 22:45:07 +11:00
common.c {player,video}: remove references to obsolete opengl-cb API 2021-12-15 12:29:10 +01:00
common.h {player,video}: remove references to obsolete opengl-cb API 2021-12-15 12:29:10 +01:00
context.c vo_gpu: opengl: try and create context at version 440 again 2021-12-07 15:37:29 -08:00
context.h video: opengl: rework and remove ra_gl_ctx_test_version() 2021-10-16 20:33:53 +00:00
context_android.c context_android: move common code to a separate file 2019-09-27 00:05:06 +03:00
context_angle.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
context_cocoa.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
context_drm_egl.c drm: context_drm_egl: add support for enabling VRR 2022-04-05 20:56:36 -07:00
context_dxinterop.c video: opengl: use gl_check_extension() instead of strstr() 2021-11-17 22:38:34 +01:00
context_glx.c context_glx: fix check for wrong GLX extension 2021-11-17 22:38:34 +01:00
context_rpi.c rpi: destroy fullscreen change handling 2019-12-11 18:50:37 +01:00
context_wayland.c wayland: ensure read and draw buffers are assigned 2021-12-04 03:04:17 +00:00
context_win.c video: opengl: use gl_check_extension() instead of strstr() 2021-11-17 22:38:34 +01:00
context_x11egl.c context_{wayland,x11egl}: use mpegl_create_window_surface() too 2021-11-17 22:38:34 +01:00
egl_helpers.c egl_helpers: introduce wrapper around eglCreatePlatformWindowSurface 2021-11-17 22:38:34 +01:00
egl_helpers.h egl_helpers: introduce wrapper around eglCreatePlatformWindowSurface 2021-11-17 22:38:34 +01:00
formats.c vo_opengl: remove some dead code 2017-08-11 21:29:35 +02:00
formats.h vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
gl_headers.h vo_gpu: stop hard-coding max compute group threads 2021-12-19 01:51:54 +01:00
hwdec_d3d11egl.c video: opengl: use gl_check_extension() instead of strstr() 2021-11-17 22:38:34 +01:00
hwdec_drmprime_drm.c drm_prime: double free bug 2020-03-05 18:12:57 +01:00
hwdec_dxva2egl.c video: opengl: use gl_check_extension() instead of strstr() 2021-11-17 22:38:34 +01:00
hwdec_dxva2gldx.c client API: add a new way to pass X11 Display etc. to render API 2018-03-26 19:47:08 +02:00
hwdec_ios.m hwdec_ios: fix crash after mapper_init failure 2018-04-17 01:06:29 +03:00
hwdec_osx.c hwdec: don't require setting legacy hwdec fields 2017-12-02 04:53:51 +01:00
hwdec_rpi.c client API: add a new way to pass X11 Display etc. to render API 2018-03-26 19:47:08 +02:00
hwdec_vdpau.c vo_gpu: hwdec_vdpau: remove direct_mode 2019-12-28 14:31:06 -08:00
libmpv_gl.c {player,video}: remove references to obsolete opengl-cb API 2021-12-15 12:29:10 +01:00
oml_sync.c oml_sync: fix typo in comment 2019-09-20 00:32:29 +02:00
oml_sync.h vo_gpu: glx: move OML sync code to an independent file 2019-09-08 23:23:43 +10:00
ra_gl.c vo_gpu: stop hard-coding max compute group threads 2021-12-19 01:51:54 +01:00
ra_gl.h vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
utils.c vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00
utils.h vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00