SDL/src/dynapi
The Stickmahn 7e733d0934 Began work on WGPU video backend
Currently only supports Wayland, and it's quite..... bad

This is a DRAFT! Just a small proof-of-concept.

I'll submit a draft PR to the SDL project to see if I should continue
development.

If this is greenlit, I might making consider a WGPU SDL_GPU backend if
wgpu-native is in a good enough state (maybe Dawn if it isn't?)

No promises though! Don't get angry at me if I don't!

Current known issues:
1: Error handling is sparse.
2: It only supports the shared library version of wgpu-native, and it
does that by just loading it whenever it needs to do something
3: wgpu-native is bad and doesn't implement wgpuGetProcAddress so we're
just using SDL_LoadFunction instead. I'd much prefer using the native
wgpuGetProcAddress but alas....
2026-05-30 10:25:18 +02:00
..
gendynapi.py apple: add exports file 2026-04-27 20:50:09 +02:00
SDL_dynapi.c Fix Cygwin building and add CI (#15566) 2026-05-15 08:48:24 -07:00
SDL_dynapi.exports Began work on WGPU video backend 2026-05-30 10:25:18 +02:00
SDL_dynapi.h Add DOS platform support (DJGPP) (#15377) 2026-04-23 19:54:49 -04:00
SDL_dynapi.sym Began work on WGPU video backend 2026-05-30 10:25:18 +02:00
SDL_dynapi_overrides.h Began work on WGPU video backend 2026-05-30 10:25:18 +02:00
SDL_dynapi_procs.h Began work on WGPU video backend 2026-05-30 10:25:18 +02:00
SDL_dynapi_unsupported.h Updated copyright for 2026 2026-01-01 09:40:08 -08:00