logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 1979bf10ea639bc70fcd3c9c6ca339dadf44fd01
parent a6b0ca4e6e0d17e08f8face5aa37d3cd86de1dc8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 15 Mar 2021 14:30:40 +0100

notes/pure-wayland: Update Librairies (it's sad…)

Diffstat:

Mnotes/pure-wayland.shtml6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/notes/pure-wayland.shtml b/notes/pure-wayland.shtml @@ -46,14 +46,14 @@ endif</code></pre> <h2>Librairies</h2> <ul> - <li><a href="https://www.gtk.org/">GTK</a> 3 and later: Yes, Just Works</li> <li><a href="https://www.qt.io/">Qt</a> 5 and later: Yes, Just Works</li> - <li><a href="https://www.libsdl.org/">SDL2</a>: Just Works</li> <li><a href="https://github.com/anholt/libepoxy">libepoxy</a>: 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://www.libsdl.org/">SDL2</a> (2.0.14): Yes, very close to working entirely out-of-the-box. Can need to set <code>SDL_VIDEO_GL_DRIVER=libOpenGL.so</code> or patch libSDL2 (<a href="https://github.com/libsdl-org/SDL/issues/4158">SDL#4158</a>).</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>)</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>: Sort of, OpenGL on it pulls <code>GL/glx.h</code> but can be disabled</li> + <li><a href="https://liballeg.org/">allegro-5</a>: Doesn't seems to, with OpenGL enabled (required for some games) it pulls <code>GL/glx.h</code>. Also has code loading only "libGL.so".</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> <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>