commit: befaa1eafeb4939ac75bae82d7ce97ac6ec0342f
parent 3746252c8601211618ce6ca85923f01378445072
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 5 May 2021 17:24:40 +0200
notes/pure-wayland#Librairies: Add glfw & glbinding, subsections
Diffstat:
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/notes/pure-wayland.shtml b/notes/pure-wayland.shtml
@@ -76,9 +76,12 @@ endif</code></pre>
</ul>
<h2>Librairies</h2>
+ <h3>Works</h3>
<ul>
<li><a href="https://www.qt.io/">Qt</a> 5 and later: Yes, Just Works</li>
<li><a href="https://github.com/anholt/libepoxy">libepoxy</a>: Just Works</li>
+ <li><a href="https://www.glfw.org/">GLFW</a>: Yes, Just Works</li>
+ <li><a href="https://github.com/cginternals/glbinding">glbinding</a>: Yes, Just Works</li>
<li><a href="http://www.waffle-gl.org/">waffle</a> Yes, use 1.7.0+ for support in modern compositors</li>
<li><a href="https://love2d.org/">löve(2d)</a> (0.10.2+, tested with 11.3 + lua5.2): Yes, it's SDL2-based after all.</li>
<li><a href="https://www.libsdl.org/">SDL2</a> (2.0.14): Yes, very close to working entirely out-of-the-box. Some workarounds being:<ul>
@@ -86,19 +89,25 @@ endif</code></pre>
<li>When bundled in binairies: Needing to set <code><a href="https://github.com/libsdl-org/SDL/blob/main/docs/README-dynapi.md">SDL_DYNAMIC_API</a></code> to where your distro's <code>libSDL2.so</code> library is.</li>
</ul></li>
<li><a href="https://www.gtk.org/">GTK</a> 3 and later: Almost. <a href="https://gitlab.gnome.org/GNOME/gtk/-/issues/699">Suggestions are broken on multi-monitors</a> as well as the usual glitches.</li>
- <li><a href="http://freeglut.sourceforge.net/">FreeGLUT: free OpenGL utility toolkit</a>: No, depends on <code>wl_shell</code> which is absent in wlroots and probably others (See <a href="https://github.com/dcnieho/FreeGLUT/issues/72">FreeGLUT#72</a>), it's activity is very low so consider using other librairies instead</li>
- <li><a href="https://liballeg.org/">allegro-4</a>: Maybe, compiles with OpenGL enabled</li>
- <li><a href="https://liballeg.org/">allegro-5</a>: I managed to get most of it to compile with some patches, couldn't get liballegro_dialog (gtk on non-apple unixes) yet though as it depends on GTK with X11.</li>
- <li><a href="http://glew.sourceforge.net/">GLEW: OpenGL Extension Wrangler Library</a>: <a href="https://github.com/nigels-com/glew/issues/172">Not really</a>, consider <a href="https://github.com/anholt/libepoxy#why-not-use-libglew">libepoxy</a> or <a href="https://glbinding.org/">glbinding</a> (drop-in). I managed to get it to compile with:<ul>
+ </ul>
+ <h3>Maybe / Not really</h3>
+ <ul>
+ <li><a href="http://glew.sourceforge.net/">GLEW: OpenGL Extension Wrangler Library</a>: <a href="https://github.com/nigels-com/glew/issues/172">Not really</a>, consider <a href="https://github.com/anholt/libepoxy#why-not-use-libglew">libepoxy</a> or <a href="https://glbinding.org/">glbinding</a> (drop-in). I managed to get it to compile and work for some software with:<ul>
<li>Applying <a href="https://github.com/nigels-com/glew/pull/216/commits/584a266e71c3c3f7ec4a0e4e61c31b67f80a2419">Extend GLEW API to support glewContextInit - GL without implied GLX, … #216</a></li>
<li>Running <code><kbd>sed -i 's/-lGL/-lOpenGL/' config/Makefile.linux-egl</kbd></code></li>
<li>Passing <code>POPT="${CFLAGS} <kbd>-D__native_client__</kbd>"</code> and <code><kbd>SYSTEM=linux-egl</kbd></code> to make options, for both build and install</li>
</ul></li>
- <li><a href="https://www.fltk.org/">FLTK</a>: Nope, could be there in the future(1.4.x) see <a href="https://www.fltk.org/str.php?L3371">STR #3371</a></li>
- <li><a href="https://www.tcl.tk/">TCL/TK</a>: Nope, but there is <a href="http://www.androwish.org/home/wiki?name=undroidwish">undroidwish</a> apparently supporting it, <a href="https://wiki.tcl-lang.org/page/GSoC+Idea%3A+Tk+Backend+for+the+Wayland+Display+Protocol">GSoC idea page</a></li>
+ <li><a href="http://freeglut.sourceforge.net/">FreeGLUT: free OpenGL utility toolkit</a>: No, depends on <code>wl_shell</code> which is absent in wlroots and probably others (See <a href="https://github.com/dcnieho/FreeGLUT/issues/72">FreeGLUT#72</a>), it's activity is very low so consider using other librairies instead</li>
+ <li><a href="https://liballeg.org/">allegro-4</a>: Maybe, compiles with OpenGL enabled</li>
+ <li><a href="https://liballeg.org/">allegro-5</a>: I managed to get most of it to compile with some patches, couldn't get liballegro_dialog (gtk on non-apple unixes) yet though as it depends on GTK with X11.</li>
+ </ul>
+ <h3>Doesn't Works</h3>
+ <ul>
<li><a href="http://irrlicht.sourceforge.net/">irrlicht</a>: Nope, <a href="http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=52107">there is some community work on it</a></li>
- <li><a href="https://www.sfml-dev.org/">SFML: Simple and Fast Multimedia Library</a>: <a href="https://github.com/SFML/SFML/issues/1082">Nope</a></li>
+ <li><a href="https://www.tcl.tk/">TCL/TK</a>: Nope, but there is <a href="http://www.androwish.org/home/wiki?name=undroidwish">undroidwish</a> apparently supporting it, <a href="https://wiki.tcl-lang.org/page/GSoC+Idea%3A+Tk+Backend+for+the+Wayland+Display+Protocol">GSoC idea page</a></li>
+ <li><a href="https://www.fltk.org/">FLTK</a>: Nope, could be there in the future(1.4.x) see <a href="https://www.fltk.org/str.php?L3371">STR #3371</a></li>
<li><a href="https://godotengine.org">godot</a>: No wayland support yet. <a href="https://github.com/godotengine/godot-proposals/issues/990">godot-proposals#990</a></li>
+ <li><a href="https://www.sfml-dev.org/">SFML: Simple and Fast Multimedia Library</a>: <a href="https://github.com/SFML/SFML/issues/1082">Nope</a></li>
</ul>
<h2>Web Browsers</h2>