pelya wrote:You can use 32-bit surfaces in SW mode, however you should then use screen resolution not more than 320x240, otherwise your FPS will be awful. If you want it to render fast use RGB565 format + HWSURFACE fllag to SDL_SetVideoMode() + all surfaces that are blitted to video surface should also have HWSURFACE flag (you may use RGB4444 for per-pixel transparency).
That depends on a game - with some games it's enough to change "32" to "16" and it will work, with other games that do lot of pixel access operations it's almost impossible.
Edit: I've browsed through the code, and it seems to me that TwinEngine draws everything to 320x200x8 internal buffer, then resizes and renders it to 640x480x32 video surface. So just change constants across the code, it should work. With 320x200 SW video surface it renders with okay speed (both OpenTyrian and UQM render that way, only Alien Blaster is truly HW accelerated)
Thanks for your response. Would a lot of changes be needed to render it with a HW surface to get the hardware acceleration? I'll try building it with 8 bit SW surface either today or tomorrow and see what the performance is like on my Dell Streak.

Next project? *beg* lol


