[SDL] Speed with X11 ...

Karsten Laux klaux at student.uni-kl.de
Mon Dec 14 12:57:55 PST 1998


Sam Lantinga wrote:
>...
> SDL will support MGL 4.1 or 5.0 when it's released, for accelerated
> full-screen display under Linux, a la SVGAlib or GGI.  (MGL will be
> free and much more robust than GGI or SVGAlib)
is there a webpage for MGL ?

> ...
> > however blitting the memory-surface to "screen" takes 8ms and finally
> > update the screen takes 32ms.
> 
> You shouldn't need to blit to a memory surface and then the screen,
> you should be able to blit directly to display surface.  If SDL_HWSURFACE
> isn't in the display flags, then your blit won't be displayed until you
> call SDL_UpdateRects().
> 
however as I blit more than 300 objects it is faster to blit them first
to a 
membuffer, before blitting the whole thing to the screen, since PCI is
slower than SDRAM... ;-)

> ...
> Good luck!
>         -Sam Lantinga                           (slouken at devolution.com)
> 
thanks.

another question: how´s about the ggi-implementation of SDL. can I get
faster blitting ? "real" direct videomem-access ? can I use it
transparently or are some features of the x11-implementation missing ?


Karsten.
-- 
        Karsten-O. Laux           mailto:klaux at student.uni-kl.de
  University of Kaiserslautern   
	    Germany



More information about the SDL mailing list