1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00
mpv/DOCS
wm4 8099cbe9dd vo_opengl: add alpha output
Allows playing video with alpha information on X11, as long as the video
contains alpha and the window manager does compositing. See vo.rst.

Whether a window can be transparent is decided by the choice of the X
Visual used for window creation. Unfortunately, there's no direct way to
request such a Visual through the GLX or the X API, and use of the
XRender extension is required to find out whether a Visual implies a
framebuffer with alpha used by XRender (see for example [1]). Instead of
depending on the XRender wrapper library (which would require annoying
configure checks, even though XRender is virtually always supported),
use a simple heuristics to find out whether a Visual has alpha. Since
getting it wrong just means an optional feature will not work as
expected, we consider this ok.

[1] http://stackoverflow.com/questions/4052940/how-to-make-an-opengl-
rendering-context-with-transparent-background/9215724#9215724
2013-03-28 21:46:17 +01:00
..
man/en vo_opengl: add alpha output 2013-03-28 21:46:17 +01:00
OUTDATED-tech core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
crosscompile-mingw.txt DOCS: add some basic MinGW cross compilation instructions 2013-01-08 17:21:04 +01:00
edl.rst DOCS: document EDL format 2012-12-28 13:43:59 +01:00
encoding.rst DOCS: update encoding profiles installation instructions 2013-02-01 22:35:05 +01:00
tech-overview.txt core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00