[SDL] Alpha blit is too slow
Paulo Pinto
pjmlp_pt at yahoo.com
Tue Oct 23 01:13:01 PDT 2001
It might be nice, because it's how DX8 works for 2D.
In DX8 you need to reender textures to do 2D programming.
Just take a look at
http://www.gamasutra.com/features/20010629/geczy_01.htm
Paulo Pinto
----- Original Message -----
From: "Alexandre Courbot" <alexandrecourbot at linuxgames.com>
To: <sdl at libsdl.org>
Sent: Monday, October 22, 2001 8:48 PM
Subject: Re: [SDL] Alpha blit is too slow
>
> > I've experimented with an OpenGL implementation of the SDL 2D API, and
it
> > seems like it would be possible to code a usable OpenGL rendering
backend
> > for SDL. Practically all SDL applications would work with OpenGL, and
> > most would run much faster, BUT, there are issues with the way SDL 1.2.x
> > does certain things. ("Partial Locking" of the screen surface would be
> > *very* useful.) Also, it's not possible to transparently take advantage
> > of interpolated scaling/stretching in any reliable way. (My
> > implementation runs with NEAREST filtering for everything, which makes
it
> > look exactly like software/2D SDL.)
>
> Wow - you mean you have hacked an OpenGL backend for SDL? This is truly
> interesting, how about making it public, or even part of SDL? SDL is a
> very clean and powerfull library, but it's often limited in it's
> performances by it's backends. Having an OpenGL backend available would
> virtually make hardware acceleration available to X, and would make SDL
> even more portable. Needless to mention, that anti-aliasing on the
> screen surface would rock too.I don't know much about OpenGL itself, but
> it seems to be that it's not really good at 2D blitting, can you
> confirm/infirm this?
>
> Thanks,
> Alex.
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list