logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 2931ac5be994c6e5beb7d1f100275a6134873dcd
parent eb20630c243600b93e62e2087d2b5a5acd105ac2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 18 Mar 2021 20:49:58 +0100

notes/pure-wayland: Group SDL2 workarounds

Diffstat:

Mnotes/pure-wayland.shtml7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/notes/pure-wayland.shtml b/notes/pure-wayland.shtml @@ -50,7 +50,10 @@ endif</code></pre> <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://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. 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.libsdl.org/">SDL2</a> (2.0.14): Yes, very close to working entirely out-of-the-box. Some workarounds being:<ul> + <li>For 2.0.14 and earlier: Needing 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>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>)</li> <li><a href="https://liballeg.org/">allegro-4</a>: Maybe, compiles with OpenGL enabled</li> @@ -86,7 +89,7 @@ endif</code></pre> <li><a href="https://github.com/Xenoveritas/abuse">abuse</a> (Crack.Com): Yes, Just Works</li> <li><a href="https://github.com/sergiou87/open-supaplex">open-supaplex</a>: Just Works</li> <li><a href="https://github.com/nxengine/nxengine-evo">nxengine-evo</a> (Cave Story modern engine): Just Works</li> - <li>StabYourself games compatible with löve-11.3 ( + <li>StabYourself games compatible with love-11.3 ( <a href="https://github.com/Stabyourself/not-tetris-3">not-tetris-3</a>, <a href="https://github.com/Stabyourself/text-based-golf">text-based-golf</a>, <a href="https://github.com/Stabyourself/text-based-sokoban">text-based-sokoban</a>,