[SDL] info needed about SDL over X11

Ryan C. Gordon icculus at icculus.org
Wed Apr 25 05:21:44 PDT 2007


> 2. There is an extension to X11 called XSHM (shared memory extension). 
> By using this extension, is the routing of data through network layer 
> avoided? ( i read somewhere that it uses shared memory to transfer data 
> between client and server)   Does SDL use this extension ?

Yes, if it can. It will work the same (although more slowly) if the 
extension isn't available, too.

> 3. Also there is a SDL port over DGA? Can Xlib route the calls through DGA ?

Yes, it can do this, too.

> 4. Given a requirement to run an application on the native display, and 
> with high performance , which port of SDL is best--X11 or X11 -SHM or 
> DGA or directfb?

X11 with SHM, in most cases.

--ryan.




More information about the SDL mailing list