1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 14:56:55 +00:00
mpv/video/out
wm4 b14fc38590 vo_opengl: x11egl: fix alpha mode
The way it should (probably) work is that selecting a RGBA framebuffer
format will simply make the compositor use the alpha. It works this way
on Wayland. On X11, this is... not done. Instead, both GLX and EGL
report two FB configs, which are exactly the same, except for the
platform-specific visual. Only the latter (non-default) points to a
visual that actually has alpha. So you can't make the pure GLX and EGL
APIs select alpha mode, and you have to override manually.

Or in other words, alpha was hacked violently into X11, in a way that
doesn't really make sense for the sake of compatibility, and forces API
users to wade through metaphorical cow shit to deal with it.

To be fair, some other platforms actually also require you to enable
alpha explicitly (rather than looking at the framebuffer type), but they
skip the metaphorical cow shit step.
2016-12-30 20:04:47 +01:00
..
cocoa cocoa: fix build on OS X 10.9 2016-12-26 22:53:04 +01:00
opengl vo_opengl: x11egl: fix alpha mode 2016-12-30 20:04:47 +01:00
wayland Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
win32 displayconfig: treat a refresh rate of 1 as invalid 2016-09-18 22:15:25 +10:00
aspect.c aspect: use nominal width instead of actual width for video-unscaled 2016-09-22 21:24:56 +02:00
aspect.h Update license headers 2015-04-13 12:10:01 +02:00
bitmap_packer.c bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_common.h vo_opengl: cocoa: switch to new internal API 2015-10-01 22:42:25 +02:00
cocoa_common.m cocoa: cosmetic fixes 2016-12-16 16:32:26 +01:00
d3d_shader_420p.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_nv12.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_yuv.hlsl vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
dither.c Change GPL/LGPL dual-licensed files to LGPL 2016-01-19 18:36:34 +01:00
dither.h
drm_common.c vo_drm: change CLI options + refactors 2016-10-07 00:22:23 +02:00
drm_common.h vo_drm: change CLI options + refactors 2016-10-07 00:22:23 +02:00
filter_kernels.c filter_kernels: add ability to taper kernels/windows 2016-11-01 16:25:40 +01:00
filter_kernels.h filter_kernels: add ability to taper kernels/windows 2016-11-01 16:25:40 +01:00
vo_caca.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_direct3d.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo_drm.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo_image.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo_lavc.c Remove compatibility things 2016-12-07 19:53:11 +01:00
vo_null.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo_opengl_cb.c client API: allow passing NULL to mpv_opengl_cb_uninit_gl() 2016-12-09 21:31:45 +01:00
vo_opengl.c vo_opengl: don't rely on viewport to contain window dimensions 2016-12-02 15:26:45 +01:00
vo_rpi.c vo_rpi: partially undeprecate 2016-12-08 11:00:14 +01:00
vo_sdl.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo_tct.c vo_tct: support also 256 colors output 2016-10-25 00:03:01 +11:00
vo_vaapi.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo_vdpau.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo_wayland.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo_x11.c vo_x11: fix some ifdeffery 2016-09-13 18:26:06 +02:00
vo_xv.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo.c vo_rpi: partially undeprecate 2016-12-08 11:00:14 +01:00
vo.h options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
w32_common.c win32: change the log level of 'move window' msg 2016-12-14 20:45:58 +01:00
w32_common.h vo_direct3d: fix operation 2015-10-31 12:52:02 +01:00
wayland_common.c Fix mistakes in spelling and grammar 2016-12-21 17:47:57 +01:00
wayland_common.h wayland_common: remove untested/unusable wayland dnd code 2016-07-30 00:02:39 +02:00
win_state.c Apply autofit-larger after autofit-smaller 2016-11-03 21:30:25 +01:00
win_state.h
x11_common.c vo_opengl: x11: move RGBA visual test to x11_common.c 2016-12-30 20:04:32 +01:00
x11_common.h vo_opengl: x11: move RGBA visual test to x11_common.c 2016-12-30 20:04:32 +01:00
x11_icon.bin