Re: Improve SDL2 graphics API
Jonathan Dearborn <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CA+DSiHYupHFm_-9VAVhdU+7j_4+40L2SYofwt4wjudwe8Lik+w@mail.gmail.com> |
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. Jonny D On Wed, Sep 21, 2016 at 11:13 AM, sgrsgsrg <[email protected]> wrote: > SDL_gpu is still an immediate mode OpenGL renderer right ? > > _______________________________________________ > SDL mailing list > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org > > _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org