1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-18 22:06:59 +00:00
mpv/video/out/opengl
Rostislav Pehlivanov 4c7c8daf9c wayland_common: implement output tracking, cleanups and bugfixes
This commit:
    - Implements output tracking (e.g. monitor plug/unplug)
    - Creates the surface during registry (no other dependencies)
    - Queues the callback immediately after surface creation
    - Cleaner and better event handling (functions return directly)
    - Better reconfigure handling (resizes reduced to 1 during init)
    - Don't unnecessarily resize  (if dimensions match)

Apart from that fixes 2 potential memory leaks (mime type and window
title), 2 string ownership issues (output name and make need to be
dup'd), fixes some style issues (switches were indented) and finally
adds messages when disabling/enabling idle inhibition.

The callback setter function was removed in preparation for the commit
which will use the frame event cb because it was unnecessary.
2017-10-09 02:23:04 +01: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 vo_gpu: gl: implement proper extension string search 2017-10-02 17:30:27 +02:00
common.h vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
context_angle.c vo_gpu: angle: fix misleading struct name 2017-09-23 18:33:33 +10:00
context_cocoa.c Revert "cocoa: re-enable double buffering" 2017-09-22 23:08:46 +10:00
context_drm_egl.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
context_dxinterop.c vo_gpu: convert windows/osx hwdecs/contexts to new API 2017-09-21 15:01:17 +02:00
context_glx.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
context_mali_fbdev.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
context_rpi.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
context_vdpau.c vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
context_wayland.c wayland_common: implement output tracking, cleanups and bugfixes 2017-10-09 02:23:04 +01:00
context_win.c vo_gpu: convert windows/osx hwdecs/contexts to new API 2017-09-21 15:01:17 +02:00
context_x11egl.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
context.c vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
context.h vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
cuda_dynamic.c vo_opengl: hwdec_cuda: Prefix cuda symbols to avoid collisions 2016-11-24 20:15:57 +01:00
cuda_dynamic.h vo_opengl: hwdec_cuda: Support separate decode and display devices 2017-06-03 16:41:03 +02:00
d3d11_helpers.c vo_opengl: extract non-ANGLE specific D3D11 code 2017-08-17 00:28:38 +10:00
d3d11_helpers.h vo_opengl: extract non-ANGLE specific D3D11 code 2017-08-17 00:28:38 +10:00
egl_helpers.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
egl_helpers.h vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02: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_opengl: handle probing GL texture formats better 2017-08-11 21:29:35 +02:00
hwdec_cuda.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
hwdec_d3d11egl.c video: drop old D3D11/DXVA2 support 2017-09-26 18:58:45 +02:00
hwdec_d3d11eglrgb.c vo_gpu: convert windows/osx hwdecs/contexts to new API 2017-09-21 15:01:17 +02:00
hwdec_dxva2egl.c vo_gpu: convert windows/osx hwdecs/contexts to new API 2017-09-21 15:01:17 +02:00
hwdec_dxva2gldx.c vo_gpu: convert windows/osx hwdecs/contexts to new API 2017-09-21 15:01:17 +02:00
hwdec_ios.m video: remove old videotoolbox support 2017-09-26 19:13:26 +02:00
hwdec_osx.c video: remove old videotoolbox support 2017-09-26 19:13:26 +02:00
hwdec_rpi.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
hwdec_vaegl.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
hwdec_vaglx.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
hwdec_vdpau.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
ra_gl.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
ra_gl.h vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
utils.c vo_gpu: gl: implement proper extension string search 2017-10-02 17:30:27 +02:00
utils.h vo_gpu: gl: implement proper extension string search 2017-10-02 17:30:27 +02:00