[SDL] SDL2 surfaces

Daniel Holth dholth at gmail.com
Fri Sep 26 07:37:40 PDT 2014

IIUC you have to convert to a texture to draw, if you are using
hardware acceleration and the renderer. So you have the choice of
converting a bunch of smaller surfaces to textures and then laying
them out with a number of hardware accelerated render operations, or
doing your text layout with software blits to a larger surface, then
converting the big surface to a texture, and then rendering with a
single hardware accelerated operation.

No idea which would be faster.

On Fri, Sep 26, 2014 at 8:50 AM, MrTAToad <mrtatoad at mrtatoad.plus.com> wrote:
> Sounds like converting to a texture would be superfluous to requirements
> then, which is fair enough.
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

More information about the SDL mailing list