Gentoo Archives: gentoo-dev

From: "Haelwenn (lanodan) Monnier" <contact@×××××××××.me>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Addressing split usage of USE=gles[123]
Date: Thu, 21 Nov 2019 03:32:42
Message-Id: 20191121033234.GE8235@cloudsdale.the-delta.net.eu.org
1 Hello gentoo-dev,
2
3 First proposition on this list so hopefully not missing some kind of
4 netiquette/policy.
5
6 I noticed for some time that there seems to be two use cases for the
7 gles[123] family of USE flags in gentoo repo:
8 1. enabling support of OpenGL ES, which seems interesting to have for
9 more runtime choices, probably better usage of the drivers and better
10 binary-compat support.
11 2. switching from OpenGL (so the full API) to Open GL ES (reduced API),
12 which is an entirely different kind of action as that reduces it quite
13 significantly but might be useful for machines where the drivers do not
14 provide (good) OpenGL.
15
16 To reflect this I think the "gles[123]" USE flags should be renamed,
17 first kind to "gles[123]support" and second kind to "gles[123]only".
18 Might also be the time to globalize them? I'm not sure but I think that
19 would help in signalling which USE flags are to be used in packages.
20 (and I'm probably not the only one which tends to only put global USE
21 flags in make.conf, this kind of USE flags being the reason)
22
23 Here is splitting use.local.desc in groups so you get a view of the
24 more-or-less current state:
25
26 ## First kind, enable support (19 packages)
27 dev-games/ogre:gles2 - Build OpenGL ES 2.x RenderSystem
28 dev-games/ogre:gles3 - Enable OpenGL ES 3.x Features
29 dev-libs/efl:gles2 - Enable the OpenGL ES GL implementation
30 kde-plasma/kinfocenter:gles2 - Show OpenGL ES information in kinfocenter
31 media-libs/cogl:gles2 - Enable OpenGL ES 2.0 support
32 media-libs/gst-plugins-bad:gles2 - Enable GLES2 support
33 media-libs/gst-plugins-base:gles2 - Enable OpenGL library and plugin via GLESv2 API (requires egl)
34 media-libs/libprojectm:gles2 - Provide support for OpenGL ES 2 and 3
35 media-libs/libsdl2:gles - include OpenGL ES support
36 media-libs/mesa:gles1 - Enable GLESv1 support.
37 media-libs/mesa:gles2 - Enable GLESv2 support.
38 media-plugins/gst-plugins-gtk:gles2 - Enable gtkglsink OpenGL sink based on GLESv2 API
39 media-plugins/gst-plugins-vaapi:gles2 - Enable GLESv2 and GLESv3 support
40 media-tv/kodi:gles - Enable support for GLES
41 net-libs/webkit-gtk:gles2 - Enable GLESv2 support
42 sys-apps/kmscon:gles2 - Enable GLES2 for backend
43 x11-apps/mesa-progs:gles2 - Build OpenGL ES 2 utilities
44 x11-libs/cairo:gles2 - Build the OpenGL ES 2 backend
45 x11-wm/mutter:gles2 - Enable OpenGL ES 2.0 support
46
47 ## Second kind, switch from OpenGL to OpenGL ES (20 packages)
48 dev-libs/weston:gles2 - Use GLESv2 cairo instead of full GL
49 dev-python/PyQt5:gles2 - Use GLES 2.0 or later instead of full OpenGL
50 dev-qt/qt3d:gles2 - Use GLES 2.0 or later instead of full OpenGL
51 dev-qt/qtdatavis3d:gles2 - Use GLES 2.0 or later instead of full OpenGL
52 dev-qt/qtdeclarative:gles2 - Use GLES 2.0 or later instead of full OpenGL
53 dev-qt/qtgui:gles2 - Use GLES 2.0 or later instead of full OpenGL
54 dev-qt/qtmultimedia:gles2 - Use GLES 2.0 or later instead of full OpenGL
55 dev-qt/qtopengl:gles2 - Use GLES 2.0 or later instead of full OpenGL
56 dev-qt/qtprintsupport:gles2 - Use GLES 2.0 or later instead of full OpenGL
57 dev-qt/qtwebkit:gles2 - Use GLES 2.0 or later instead of full OpenGL
58 dev-qt/qtwidgets:gles2 - Use GLES 2.0 or later instead of full OpenGL
59 games-emulation/mupen64plus-core:gles2 - Use GLES2 instead of OpenGL
60 games-emulation/mupen64plus-video-glide64mk2:gles2 - Use GLES2 instead of OpenGL
61 games-emulation/mupen64plus-video-rice:gles2 - Use GLES2 instead of OpenGL
62 kde-apps/kdenlive:gles2 - Use GLES 2.0 or later instead of full OpenGL
63 kde-frameworks/plasma:gles2 - Use GLES 2.0 or later instead of full OpenGL
64 kde-plasma/kwin:gles2 - Use OpenGL ES 2 instead of full GL
65 sci-libs/opencascade:gles2 - Use OpenGL ES 2.0
66 www-plugins/freshplayerplugin:gles2 - Use system GLESv2 libraries instead of ANGLE for shader translation
67 www-plugins/lightspark:gles - Replace default OpenGL renderer with GLESv2

Replies