mpv/DOCS/man
wm4 7fb972fd39 vo_gpu: EGL: fix transparency on X11/EGL/Mesa
Transparent windows on X11/EGL/native Mesa GL didn't work for various
reasons. From what I remember, the current code did work with nvidia at
least. Mesa has made attempts to fix this, but they never really made it
in.

But it turns out you can make EGL/Mesa list the EGLConfigs that use X11
RGBA visuals, and context_x11egl.c contains code that explicitly selects
them if alpha is requested (see pick_xrgba_config()).

The reason EGL/Mesa did not list them (and thus breaking transparency)
is because we requested a EGL_ALPHA_SIZE != 0 if alpha is requested. But
the transparent EGLConfigs use EGL_ALPHA_SIZE == 0. That's because EGL
doesn't actually support the concept of transparent windows; the alpha
size parameter is something else (memory rendering without FBOs or
something, I don't care enough to look up the real reasons).

This still won't work on Wayland. Every EGL backend needs platform
specific code. (Good job, EGL, such an awesome platform independent
standard.)

Fixes: #6590
2020-08-27 11:55:20 +02:00
..
af.rst audio: add scaletempo2 filter based on chromium 2020-07-27 00:57:22 +02:00
ao.rst manpage: drop --sdl-bufcnt after 346c687d5a 2020-07-21 15:08:47 +02:00
changes.rst
console.rst
encode.rst
input.rst command: extend subprocess command stdin, change behavior 2020-08-16 02:54:44 +02:00
ipc.rst scripting: make socket FD number for subprocesses dynamic 2020-05-15 16:37:41 +02:00
javascript.rst js: hooks: allow deferred continuation (match d0ab562b) 2020-08-07 15:12:20 +03:00
libmpv.rst
lua.rst lua: make hook processing more flexible 2020-08-05 23:19:41 +02:00
mpv.rst options: do not accept ":" as separator anymore in key/value lists 2020-08-22 20:25:20 +02:00
options.rst vo_gpu: EGL: fix transparency on X11/EGL/Mesa 2020-08-27 11:55:20 +02:00
osc.rst manpage: clarify requirements for boxvideo 2020-08-04 15:20:24 -05:00
stats.rst stats: UP/DOWN scrolling on page 2 (frame stats) 2020-05-17 20:11:50 +02:00
vf.rst video: add alpha type metadata 2020-04-24 14:41:50 +02:00
vo.rst DOCS/vo.rst: TCT: add note on interleaved output 2020-08-16 12:26:27 +03:00