rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Mon Aug 15, 2005 4:42 am Post subject: SDL Software Surface is HW Accelerated |
|
|
| Quote: | <mrbrown> GU is used for software blits?!?
<rinco> yeah
<mrbrown> and that makes sense ... how?
<rinco> swsurface can be any res
<rinco> hwsurface cannot
<rinco> my first swsurface used SDL_rotozoom, it was real slow
<rinco> logical conclusion is to use gu to speed things up
<rinco> blit was a nice speed improvement, but software rescaling still sucks |
... now makes use of two 512x512 textures. So in theory it supports any resolution from 1x1 to 1024x512. I have only tested 640x480x16 (abandoned bricks port in pspware repository).
Should also be useful for people wishing to scale up.
Let me know if it works for you... or if you've got a neat patch (like an environment variable to flip the screen dynamically at initialisation). |
|