[SDL] Best way to rotate a sprite?

Tane Piper tane.piper at ukonline.co.uk
Sun Jan 26 10:30:01 PST 2003

Rafa³ Bursig <bursig at poczta.fm> wrote:

> Dnia 2003.01.16 09:17 Clemens Kirchgatterer napisa³(a):
> > Pallav Nawani <pallav at sasken.com> wrote:
> > 
> > > 2. Use SDL with openGL. That way if you have installed nvidia
> > > driver, your code will run very fast. But you will now have to
> > > use openGL stuff, and usual SDL Blitting functions should be
> > > avoided.
> > 
> > i thought, the whole point of using glSDL is to map sdl blittings to
> > gl transparently. so one could get gl hardware support without gl
> > knowledge.
> > 
> > please correct me, if i'm wrong.
> > 
> And what with case that someone hasn't gl accel. card ?

then, AFAIK, software rendering via MESA will get used, which is for
sure even slower then software blits via native sdl.

> How make access to DGA without root ?

this is the job of the drm kernel module, IMHO.
> In my case I can create HW surfaces only as root (DGA output) , and 
> have HW to HW accel. blits. !

but you can also start hardware accelerated GL apps as normal user.


More information about the SDL mailing list