mpv/video/out/opengl
James Ross-Gowan 3d8ca93d23 vo_gpu: win: remove exclusive-fullscreen detection hack
This hack was part of a solution to VSync judder in desktop OpenGL on
Windows. Rather than using blocking-SwapBuffers(), mpv could use
DwmFlush() to wait for the image to be presented by the compositor.
Since this would only work while the compositor was running, and the
compositor was silently disabled when OpenGL entered exclusive
fullscreen mode, mpv needed a way to detect exclusive fullscreen mode.

The code that is being removed could detect exclusive fullscreen mode by
checking the state of an undocumented mutex using undocumented native
API functions, but because of how fragile it was, it was always meant to
be removed when a better solution for accurate VSync in OpenGL was
found. Since then, mpv got the dxinterop backend, which uses desktop
OpenGL but has accurate VSync. It also got a native Direct3D 11 backend,
which is a viable alternative to OpenGL on Windows.

For people who are still using desktop OpenGL with WGL, there shouldn't
be much of a difference, since mpv can use other API functions to detect
exclusive fullscreen.
2017-12-20 14:53:41 +11:00
..
angle_dynamic.c
angle_dynamic.h
common.c vo_gpu: ra_gl: fix minimum GLSL version to 120 2017-11-03 11:53:31 +01:00
common.h
context.c
context.h
context_android.c vo_gpu/context_android: Process surface resizes correctly 2017-11-14 20:46:18 +02:00
context_angle.c vo_gpu: move d3d11_screenshot to shared code 2017-11-07 20:27:13 +11:00
context_cocoa.c
context_drm_egl.c video: probe format of primary plane in drm/egl context 2017-12-03 17:30:17 +02:00
context_dxinterop.c
context_glx.c
context_mali_fbdev.c
context_rpi.c
context_vdpau.c
context_wayland.c wayland_common: implement output tracking, cleanups and bugfixes 2017-10-09 02:23:04 +01:00
context_win.c vo_gpu: win: remove exclusive-fullscreen detection hack 2017-12-20 14:53:41 +11:00
context_x11egl.c
cuda_dynamic.c
cuda_dynamic.h
egl_helpers.c
egl_helpers.h
formats.c
formats.h
gl_headers.h
hwdec_cuda.c hwdec: don't require setting legacy hwdec fields 2017-12-02 04:53:51 +01:00
hwdec_d3d11egl.c video: remove some more hwdec legacy stuff 2017-12-02 04:53:55 +01:00
hwdec_d3d11eglrgb.c video: remove some more hwdec legacy stuff 2017-12-02 04:53:55 +01:00
hwdec_drmprime_drm.c vo_gpu: hwdec_drmprime_drm: don't crash for non-GL contexts 2017-12-17 11:00:51 -08:00
hwdec_dxva2egl.c hwdec: don't require setting legacy hwdec fields 2017-12-02 04:53:51 +01:00
hwdec_dxva2gldx.c hwdec: don't require setting legacy hwdec fields 2017-12-02 04:53:51 +01:00
hwdec_ios.m hwdec: don't require setting legacy hwdec fields 2017-12-02 04:53:51 +01:00
hwdec_osx.c hwdec: don't require setting legacy hwdec fields 2017-12-02 04:53:51 +01:00
hwdec_rpi.c vo_gpu: hwdec: remove redundant fields 2017-12-01 05:57:41 +01:00
hwdec_vaegl.c Fix various typos in log messages 2017-12-03 21:24:18 +01:00
hwdec_vdpau.c vo_gpu: hwdec: remove redundant fields 2017-12-01 05:57:41 +01:00
ra_gl.c msg: reinterpret a bunch of message levels 2017-12-15 22:28:47 -08:00
ra_gl.h
utils.c vo_gpu: ra_gl: remove stride hack 2017-11-12 13:49:00 +01:00
utils.h