SDL3 : WIP
Hello,
I went on an adventure to port moonlight-qt to SDL3. Now SDL3 isn't stable yet so I don't expect this to be merged anytime soon, however I put this PR up so it is known that this has been done and there isn't any duplicated efforts.
SDL2 is still supported with a lot of pre-processor checks. Linux-only on Wayland/X11 for now until other platforms are tested. I've made a best-effort conversion for the other platforms kmsdrm/EGL, windows/win32 but left macOS video decode alone, looks like that code is being worked upon right now.
Audio was a rewrite so this one needs checking with care to see if I'm doing the right thing.
My ultimate goal is to use the new SDL_pen.h API so I'll be working on this next.
Cheers, I'll set to draft and continue to force-push things as I discover them and do some testing.