[SDL] Performance issues
Edward Byard
e_byard at yahoo.co.uk
Mon Aug 7 14:18:18 PDT 2006
Hi Folks,
I'm pretty new to video programming, but have many years of experience on embedded systems (mechanical control systems mostly).
Anyway, I'm writing a slot machine simulator, and am having problems getting performance out of the system. Basically, I'm using SDL_ BlitSurface to blit a portion of an image to a rectangle, and it's pretty slow (800x600,16bpp,double-buffered).
Now, am I missing something? I have a background image, which I then place the aforementioned rectangle on. I don't re-draw the background at all - just update the rectangle. Is this making any sense?
If someone can help, I'd appreciate it...
Thanks
Ed
---------------------------------
Try the all-new Yahoo! Mail . "The New Version is radically easier to use" The Wall Street Journal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060807/361ed00d/attachment.html
More information about the SDL
mailing list