1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 06:46:55 +00:00
mpv/DOCS/man
Dudemanguy c72c47204d vo_gpu/vo_gpu_next: rework --alpha into --background option
The --alpha option currently covers two related but different concepts:
whether or not to ignore the alpha component and possibly blending it
with a background. Because of the way the option currently works, it is
impossible to have a transparent window (which requires setting
--alpha=yes) while blending it with the background at the same time. To
solve this, let's rework it so it it superseded by the background
option.

--background controls what kind of background to set for the image if
possible. It can be blended with the set background color, with tiles,
or not blended at all (the last one is still broken on X11/mesa except
for GLX, *sigh*). In this new paradigm, --alpha=no has no real purpose
because you can simply set the background to color and whatever color
you want for exactly the same effect. So the option is removed. Instead,
the hint set by windowing backends (i.e. setting
ra_ctx->opts.want_alpha) can by done with the --background option.

As an aside, the colors in vo_gpu are currently bugged due to not
pre-multiplying the alpha and it seems no one ever noticed. The next
commit fixes that. vo_gpu_next support happens latter since it requires
new things from libplacebo.

Fixes #9615.
2024-02-26 16:46:00 +00:00
..
af.rst m_option: drop support for -del for list options 2023-10-30 16:47:44 +00:00
ao.rst DOCS: move ALSA option documentation to ao.rst 2024-02-26 15:36:37 +00:00
changes.rst manpage: directly link interface-changes.rst in changelog section 2020-02-21 14:34:02 +01:00
console.rst console.lua: implement case-insensitive completion 2023-12-15 15:44:48 +00:00
encode.rst options: remove a few options marked with .deprecation_message 2023-09-21 16:06:29 +00:00
input.rst input/player: add loadfile/loadlist insert-at command 2024-02-26 02:03:21 +00:00
ipc.rst DOCS: Add missing 'not' 2023-01-28 11:59:59 -05:00
javascript.rst scripting: add mp.input 2024-01-13 02:53:08 +00:00
libmpv.rst cplugin: allow loading mpv_* symbols dynamically 2023-09-20 02:16:45 +00:00
lua.rst DOCS/lua: clarify repeatable and complex for add_key_binding 2024-02-15 16:43:46 +00:00
mpv.rst DOCS/man: document Ctrl+WHEEL_UP/WHEEL_DOWN keybinds 2024-02-21 18:55:43 +00:00
options.rst vo_gpu/vo_gpu_next: rework --alpha into --background option 2024-02-26 16:46:00 +00:00
osc.rst osc: add osc-windowcontrols_title option 2024-01-22 14:41:36 +00:00
stats.rst javascript: use --js-memory-report option instead of MPV_LEAK_REPORT 2023-10-26 16:49:56 +00:00
vf.rst m_option: drop support for -del for list options 2023-10-30 16:47:44 +00:00
vo.rst player: remove all rpi-specific code 2024-02-05 17:41:06 +00:00