[SDL] SDL2 surfaces

Jonas Kulla nyocurio at gmail.com
Sat Sep 27 16:10:21 PDT 2014

2014-09-28 1:01 GMT+02:00 Sik the hedgehog <sik.the.hedgehog at gmail.com>:

> 2014-09-27 4:08 GMT-03:00, Jonas Kulla <nyocurio at gmail.com>:
> > In SDL1 I think there was a way to make surfaces hardware accelerated (as
> > they were the only
> > pixel arrays available), so that's probably where the confusion is coming
> > from. In SDL2 they
> > were rightfully demoted to pure RAM buffers.
> No, they weren't. The only hardware acceleration came from blitting
> into the screen surface, which would be hardware accelerated...
> sometimes (I don't think that method works on newer hardware at all
> anymore, but I could be wrong).
> For the record, DirectDraw could do this acceleration as well.

I don't remember the details of the implementation, only that it said
like "SDL will try to create the surface in VRAM if this flag is set".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20140928/5c16a3cf/attachment-0002.htm>

More information about the SDL mailing list