[SDL] Hardware Surfaces

Hadi Moshayedi irancoldfusion at gmail.com
Sun Mar 23 14:09:55 PDT 2008


Hi,
 I am new to graphics programming.
 When I access surface.pixels in a hardware surface, am I accessing
somewhere in main memory, or in graphics hardware memory?
 I read in some SDL tutorial that reading from graphics h/w memory is slow,
but writing to it is fast. Then reading from surface.pixels is slow?

 Regards,
   -- Hadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080324/5196753d/attachment.htm 


More information about the SDL mailing list