summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2015-12-22 22:08:23 +0300
committerIlya Tumaykin <itumaykin@gmail.com>2015-12-28 15:47:19 +0300
commit411d5bb4746fbb22e332748d0a48c77c47f0669e (patch)
tree6ea5a59cc677a82f2eab462b7262a1b1ee00bc01 /media-video/mpv/metadata.xml
parentmedia-video/mpv: wayland supports rendering via EGL only (diff)
downloadgentoo-411d5bb4746fbb22e332748d0a48c77c47f0669e.tar.gz
gentoo-411d5bb4746fbb22e332748d0a48c77c47f0669e.tar.bz2
gentoo-411d5bb4746fbb22e332748d0a48c77c47f0669e.zip
media-video/mpv: use more sane logic for opengl and egl USE flags
Currently 'opengl' USE stands for 'anything that draws using OpenGL API', and 'egl' USE stands for 'EGL for X11'. Notice these are not complementary. Thus, for example, on Wayland one should use 'mpv[wayland,opengl,-egl]', which is a bit counterintuitive, since Wayland (compositor) uses EGL only. Also one cannot disable GLX support, but leave EGL on X11, because of USE flags interdependencies. Both X11 and Wayland use OpenGL API to do drawing, but historically the first one was native OpenGL in X11 aka GLX and later came EGL in X11 and Wayland. However, now there is a tendency to prefer EGL to not bind oneself to X11. There is no global 'egl' USE atm, but the logic of local 'egl' USEs across the tree is 'not bind oneself to GLX'. On Linux there is no need to repeat that drawing is done using OpenGL API even when EGL comes to play. Taking all of the above into account more sane and expected meaning should be given to 'opengl' and 'egl' USE flags. After this change 'opengl' USE stands for 'OpenGL in X11 aka GLX' and 'egl' USE stands for 'any EGL-based output'. Notice these are now complementary. Package-Manager: portage-2.2.24
Diffstat (limited to 'media-video/mpv/metadata.xml')
-rw-r--r--media-video/mpv/metadata.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-video/mpv/metadata.xml b/media-video/mpv/metadata.xml
index b8c9d8b07b88..949632ef96af 100644
--- a/media-video/mpv/metadata.xml
+++ b/media-video/mpv/metadata.xml
@@ -26,7 +26,7 @@
<flag name="cdio">Enable CDDA support via <pkg>dev-libs/libcdio-paranoia</pkg></flag>
<flag name="doc-pdf">Build documentation in pdf format</flag>
<flag name="drm">Enable Kernel Mode Setting / Direct Rendering Manager based video output</flag>
- <flag name="egl">Enable EGL backend for X11 OpenGL video output (experimental)</flag>
+ <flag name="egl">Enable support for various EGL-based video outputs</flag>
<flag name="enca">Enable subtitles charset discovery via <pkg>app-i18n/enca</pkg></flag>
<flag name="jpeg">Enable support for saving screenshots in JPEG format</flag>
<flag name="libguess">Enable subtitles charset discovery via <pkg>app-i18n/libguess</pkg></flag>