1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-03 21:52:12 +00:00
mpv/video
wm4 7c5f41ff5f x11: separate window creation and configuration
This gets rid of an old hack, VOFLAG_HIDDEN. Although handling of it has
been sane for a while, it used to cause much pain, and is still
unintuitive and weird even today.

The main reason for this hack is that OpenGL selects a X11 Visual for
you, and you're supposed to use this Visual when creating the X window
for the OpenGL context. Which means the X window can't be created early
in the common X11 init code, but the OpenGL code needs to do something
before that. API-wise you need separate functions for X11 init and X11
window creation. The VOFLAG_HIDDEN hack conflated window creation and
the entrypoint for resizing on video resolution change into one
function, vo_x11_config_vo_window(). This required all platform backends
to handle this flag, even if they didn't need this mechanism.

Wayland still uses this for minor reasons (alpha support?), so the
wayland backend must be changed before the flag can be entirely removed.
2015-09-30 23:31:34 +02:00
..
decode Revert "vd_lavc: do not abort hardware decoding on errors" 2015-09-28 22:31:47 +02:00
filter video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
out x11: separate window creation and configuration 2015-09-30 23:31:34 +02:00
csputils.c video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
csputils.h video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
d3d.h
fmt-conversion.c video: remove VDA support 2015-09-28 22:03:14 +02:00
fmt-conversion.h
gpu_memcpy.c video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
gpu_memcpy.h video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
hwdec.h video: remove VDA support 2015-09-28 22:03:14 +02:00
image_writer.c
image_writer.h
img_format.c video: remove VDA support 2015-09-28 22:03:14 +02:00
img_format.h video: remove VDA support 2015-09-28 22:03:14 +02:00
img_fourcc.h
mp_image_pool.c
mp_image_pool.h
mp_image.c video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
mp_image.h video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
sws_utils.c video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
sws_utils.h
vaapi.c vaapi: use GPU memcpy for reading back from HW surface 2015-09-25 19:18:16 +02:00
vaapi.h vaapi: remove dependency on X11 2015-09-27 21:33:15 +02:00
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vdpau.c
vdpau.h