logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 9cf9d822672887b7f51bc1ac9f12e5fa9d44b677
parent d6e71ff08669b53a3b99fbe6752187e195228199
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 10 Sep 2021 22:25:13 +0200

notes/pure-wayland: Update SDL2 status with 2.0.16 release

Diffstat:

Mnotes/pure-wayland.shtml12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/notes/pure-wayland.shtml b/notes/pure-wayland.shtml @@ -81,8 +81,13 @@ endif</code></pre> <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://www.libsdl.org/">SDL2</a> (2.0.16): Yes, works out of the box. Some workarounds for previous versions 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>For 2.0.14 and earlier, you'll need <a href="https://github.com/libsdl-org/SDL/pull/4358">libsdl-org/SDL#4358</a> for desktop OpenGL</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://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="http://www.waffle-gl.org/">waffle</a> Yes, use 1.7.0+ for support in modern compositors</li> </ul> <h3>Needs more testing</h3> <ul> @@ -92,11 +97,6 @@ endif</code></pre> </ul> <h3>Needs workarounds / Incomplete support</h3> <ul> - <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> - <li>With <a href="https://github.com/libsdl-org/SDL/pull/4358">libsdl-org/SDL#4358</a> desktop OpenGL works</li> - </ul></li> <li><a href="http://mygui.info">MyGUI</a>: Needs a patch for GLVND (<a href="https://github.com/MyGUI/mygui/pull/224">mygui#224</a>)</li> <li><a href="https://www.gtk.org/">GTK</a> 3: 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="https://www.qt.io/">Qt</a> 5: Almost, menus are misplaced, specially on multi-monitors.</li>