Open avarsh opened 5 years ago
SDL2 supports batching as of 2018: https://hg.libsdl.org/SDL/rev/d377f3ccade7 and https://www.patreon.com/posts/project-sdl-21856507 hence it should be possible to have similar performance.
Update: it appears that the batching didn't make it into 2.0.9 - but it is available in the development builds of SDL.
Currently the renderer is based upon Open GL, but is only a prototype - it has issues such as having a max buffer size for vertices. An SDL based renderer would still be somewhat low level but allow the rendering system to be more functionally complete.