SDL Software Surface is HW Accelerated

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
rinco
Posts: 255
Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia

SDL Software Surface is HW Accelerated

Post by rinco »

<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).
Post Reply