[SDL] Improve SDL2 graphics API
grimfang4 at gmail.com
Wed Sep 21 08:29:55 PDT 2016
That depends on what you mean by "immediate mode", which has a loose
definition to many. The programming style wouldn't be any different as far
as SDL_gpu is concerned. You just assume no objects are left from the last
frame, make function calls, and expect them to be done in order.
Technically, SDL_gpu is more retained mode, whereby it buffers your blits
until they need to be sent to the GPU and it uses VBOs so the upload does
not block. These optimizations help tremendously in real use cases.
On Wed, Sep 21, 2016 at 11:13 AM, sgrsgsrg <thephanoo at gmail.com> wrote:
> SDL_gpu is still an immediate mode OpenGL renderer right ?
> SDL mailing list
> SDL at lists.libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL