You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I still don't understand why we don't have thread safe SDL_renderer. I mean it's almost 2023. what isn't multithread accessible. my team is working on a modern fully featured GUI but are having a hard time implementing some features due to lack of a thread safe renderer. we were even thinking on rewriting the whole code base with a different graphics API. we've testeted the SDL's renderer on multithreaded systems and works fine with vulkan and direct x contexts. why are we letting a single API "OPENGL" prevent us from getting in on the fun and capabilities of the current tech "threading" caps.
We are working on a next-gen 3D API that will be thread safe (and we will write an implementation of the existing 2D API that uses this new thing behind the scenes).
In the meantime, if the existing Direct3D or whatever code is doing what you need, SDL_CreateRenderer can be used to select it specifically, or you can enumerate renderers and choose anything that isn't OpenGL, or just build SDL without OpenGL support so you definitely won't get it by default.
We are working on a next-gen 3D API that will be thread safe (and we will write an implementation of the existing 2D API that uses this new thing behind the scenes).
In the meantime, if the existing Direct3D or whatever code is doing what you need, SDL_CreateRenderer can be used to select it specifically, or you can enumerate renderers and choose anything that isn't OpenGL, or just build SDL without OpenGL support so you definitely won't get it by default.
I would be curious to learn more about this next-gen 3D API - so far finding information on SDL3 as a whole has been difficult. To have any more info on the specifics plans for this?
so far finding information on SDL3 as a whole has been difficult.
There's still a lot of work going on, so we aren't spending a lot of time publicly talking about new stuff at the moment, outside of GitHub. That will change, though!
Activity
icculus commentedon Sep 19, 2022
We are working on a next-gen 3D API that will be thread safe (and we will write an implementation of the existing 2D API that uses this new thing behind the scenes).
In the meantime, if the existing Direct3D or whatever code is doing what you need, SDL_CreateRenderer can be used to select it specifically, or you can enumerate renderers and choose anything that isn't OpenGL, or just build SDL without OpenGL support so you definitely won't get it by default.
icculus commentedon Sep 26, 2022
Moving this to SDL3 as a TODO item.
volt-bot commentedon Jan 27, 2023
????
Nolram12345 commentedon May 9, 2023
I would be curious to learn more about this next-gen 3D API - so far finding information on SDL3 as a whole has been difficult. To have any more info on the specifics plans for this?
icculus commentedon May 9, 2023
https://github.com/libsdl-org/SDL_shader_tools/blob/main/docs/README-SDL_gpu.md
There's still a lot of work going on, so we aren't spending a lot of time publicly talking about new stuff at the moment, outside of GitHub. That will change, though!
Nolram12345 commentedon May 9, 2023
Thank you for the update, Ill have a look and await further news !