[SDL] SDL2 surfaces
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...
More information about the SDL