[SDL] SDL 1.3 - SDL_Texture or SDL_Surface?
Lazy Foo
lazyfoo at gmail.com
Thu Aug 2 17:09:46 PDT 2007
Torsten Giebl <wizard <at> syntheticsw.com> writes:
>
>
> > Anything we can cook up won't be as flexible as OGL or D3D and
> > won't be
> > as easy to use as SDL's current easy to use rendering.
>
> Why ?
The SDL project doesn't even have close to the amount of development resources
OGL and D3D have.
> SDL 1.3 has to provide two things :
>
> 1. When it uses D3D or OpenGL it has to
> say, okay you as a coder are allowed for example
> to modify the matrix stack or you have to set it again
> before using SDL functions. So a clear situation
> what you are allowed to do in D3D or OGL.
My old 2D engine managed to completely abstract the matrix stack. It managed to
function so much like a SDL_Surface, it took minutes to substitute it my SDL
bitmap font engine. Using the exact same piece of code, I just replaced the
loading, clipping, pixel, and blitting functions and it worked. It also had
scaling and rotation function built in.
More information about the SDL
mailing list