Sylvain Becker

Results 199 comments of Sylvain Becker

I think it should be quite easy to turn all SDL api, into SDL_SubsystemNounVerb. gendynapi.py extract lots of information that can be processed for a big renaming. can even do...

eg, using category: `"Surface", "Thread", "Render", "Window", "Audio", "Joystick", "Thread"` ``` SDL_GetNumAudioDrivers => SDL_AudioGetNumDrivers SDL_GetAudioDriver => SDL_AudioGetDriver SDL_GetCurrentAudioDriver => SDL_AudioGetCurrentDriver SDL_OpenAudio => SDL_AudioOpen SDL_GetNumAudioDevices => SDL_AudioDeviceGetNum SDL_GetAudioDeviceName => SDL_AudioDeviceGetName SDL_GetAudioDeviceSpec...

(with a bug "render vs renderer" inside)

while it makes search easy, it makes code less readable

I mean "code less readable", because I think one spends more time reading code, than searching for function name. and so reading should have more importance than searching for a...

At first, to avoid handling various branches in the libraries, maybe we can have some specific defines ... ``` #if SDL2 ... #elif SDL3 ... #endif ```

Looking at the window shape api, it seems working with some bug. For instance RecreateWindow is probably not recreating the shaper underneath. Not sure how we should improve the API...

@slime73 thanks for the feedback! I can start a PR for this .. it will be very likely incomplete. how should we expose to have a transparent framebuffer. Hint ?...

Remove Shaped Window here: PR https://github.com/libsdl-org/SDL/pull/7316 And I will try on a different PR to add Transparent stuff. I've tried glfw first to see how it worked. x11 / GLX:...