mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

596
comptes actifs

#sdl3

1 message1 participant0 message aujourd’hui

If anybody who knows anything about Vulkan, SDL3, and ideally a teensy bit on Wayland (on the server side) has some free time, I would love to talk a bit.

I'm working on some funny Wayland compositor stuff I hope that's useful eventually (gitlab.com/OroWith2Os/rxwl), and I'm going to need to implement wl_buffers outside of wl_shm soon for anything performant (but, really, I need to do windowing stuff too. It's Complicated.

I've gotten outputs mostly done (still need to update capabilities during runtime), but I want to get a client on-screen before I do more complicated stuff.

I think a good next step is working on wl_compositor a bit; regions seem like an easy thing to implement. Surfaces aren't too hard either, since I'd just be holding a bunch of state in those.

GitLabDallas Strouse / rxwl · GitLabGitLab.com
#linux#wayland#sdl

Despite my body aching and being sleepy all over, I managed to work out a small #sdl3 #Vala bindings update.

I have now implemented the SDL3_gfx library! This is a special small library that implements:

* Some special primitive drawing routines, like circles, pies, beziers, etc.
* A simple framerate manager.
* Some algorithm filters (I still need to understand how these work to make proper samples).

But in any case there are samples for framerate and primitives. Enjoy!

Tauon Music Player Adds Slick Transparency Mode for Linux

A new version of Tauon music player is out, gifting fans of the powerful and unique-looking audio app a raft of new features to play with – including some Linux exclusive eye candy! Tauon 8.0 has been fully ported to SDL3, an efficient cross-platform and open-source multimedia library that provides a robust API for interacting with hardware (like audio devices). Tauon mention that the port provides better stability and scope for adding interesting new capabilities. Features-wise, Tauon 8.0 adds an options menu to the stop button so let users define stop behaviour (including an ‘always’ setting, e.g., ‘always stop after :sys_more_orange:
#News #AppUpdates #MusicPlayers #Sdl3 #Tauon

:sys_omgubuntu: omgubuntu.co.uk/2025/04/tauon-

So I just moved the #SDL3 #vala vapis to @Codeberg migrating from Github was actually pretty easy!

codeberg.org/edwood-grant/sdl3

I also added a new GPU rotating colored cube example. So this makes the whole thing a bit more complete 😛.

I will probably just make the github repo either a mirror or just leave a message on top pointing the the actual repo in codeberg.

I mean it makes sense to have this project outside of big tech. I feel that, at least for me, is important.

I'm getting clobbered trying to implement the #sdl3 #vala bindings GPU samples. I'm adapting/stealing them from TheSpyDog's SDL GPU samples github.

Not a graphics programmer and relatively new to vala, so its been interesting.

Was getting a crash and I forgot that I can debug the executables with GDB on terminal, which is nice.

Ran GDB, one look at the stack and the line of code and the solution was obvious lol. This happens because I'm a caveman and I rarely use a debugger.

A bunch of more news! From the #sdl3 #vala bindings workshop!

SDL_ttf has been implemented! 🎉

I even added a simple example that shows fallback emoji fonts!

This needs more examples though to really show how to use SDL_ttf on Vala with better feature like test engines, GPU and more.

Check it out here: github.com/edwood-grant/sdl3-v

GitHubGitHub - edwood-grant/sdl3-vapi: Vala bindings for SDL3Vala bindings for SDL3. Contribute to edwood-grant/sdl3-vapi development by creating an account on GitHub.

Folks! Finally! I have published the #sdl3 #vala bindings! I'm a bit scared, I have never released bindings to the public. github.com/edwood-grant/sdl3-v

There are samples, some tests have been made, and some paltry docs can be generated.

Is this perfect? Not at all, is likely having tons of problems somewhere within many calls I haven't tested at all.

But it's usable, at least for the basic SDL3 samples. Any contributions, issues, PR, whatever your mind can think of are very welcome.

GitHubGitHub - edwood-grant/sdl3-vapi: Vala bindings for SDL3Vala bindings for SDL3. Contribute to edwood-grant/sdl3-vapi development by creating an account on GitHub.

Got news! The #sdl3 #vala VAPI is going well!

Only two files left to translate: SDL_audio.h and SDL_gpu.h admittedly the newer stuff. I feel this is getting close to finally release it somewhere.

Is it perfect? No way, it's highly likely borked in places. But it's a start to begin fixing things and receive help from more capable people 😀.

Not sure where to put this... I know Gnome has a GitLab… or maybe just on GitHub? Not sure about it.

Anyway, feeling good about this one.

In my work creating the #SDL3 bindings for #vala, I noticed for example stdinc.h. It's huge! And some of it makes little sense to adapt to #vala.
I understand the goal, and it's to provide a full translation of the standard c library so you can compile SDL even in places where there is no std. Thus to bring truly full portability.
But it makes little sense in vala. It already has glibc behind. But then what would be a really necessary addition? It can be complex to do it right. 1/2
#sdl #gamedev

Good news everybody! I managed to create a dirty window from #vala code with the #SDL3 VAPI I'm creating.

This is not done at all, of course... not by a long shot, just a small step. But it is cool to see even if it's just a window with broken visuals (it's not rendering nor clearing anything, thus the weird window dirty image)

Next step: SDL_render.h. With that, I should be able to re-create the first SDL3 example 😀.

When this is finished, I hope it helps the vala community somehow 👍.

Chugging along with my #sdl #sdl3 bindings for #vala.

Right now my approach is like SDL3-CS, plain static methods with no frills to just have the SDL3 API plainly available (for things like defines that act like methods, will need custom implementation).

Then I'd like to "Vala-ify" the API, to make an interface that works with the Vala way. And then docs.

I wonder if its sensible to have two layers/namespaces on the Vapi. One a direct translation and then a second wrapper around the former.

Han publicado recientemente la primera versión oficial de SDL 3, que incluye una gran cantidad de novedades.

Para quien no la conozca, SDL es una biblioteca que ha sido clave a la hora de portar y crear videojuegos para Linux y que soporta una gran cantidad de plataformas.

Entre las mejoras tenemos nuevas API para GPU, cámaras web, tabletas gráficas, etc. Además se ha realizado mucho trabajo en mejorar la documentación.

github.com/libsdl-org/SDL/rele

GitHubRelease 3.2.0 · libsdl-org/SDLAnnouncing the SDL 3 official release! SDL 3.0 is finally here! We have many many people to thank on the road to get here, but I'd like to call out special thanks to: @slouken and @icculus, lead d...