avarsh / ape2d

A data driven, entity-component-system based 2D game engine.
MIT License
0 stars 0 forks source link

SDL Based Renderer #4

Open avarsh opened 5 years ago

avarsh commented 5 years ago

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.

avarsh commented 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.