[SDL] info needed about SDL over X11
Pavan Krishnamurthy
2pavan at gmail.com
Wed Apr 25 01:00:28 PDT 2007
Hi,
I wanted some details regarding the SDL architecture over X11.
I have few doubts to be cleared.
1. X11 is a network transparent graphics layer, which doesnt give direct
access to framebuffer to its clients. By using Xlib, the graphics data
should pass through a network layer, even if the X server is running in the
same machine. So if SDL is running over the X11, in this manner, will it
affect the performance. And if this is so how can SDL claim, that it is a
direct interface to video display.
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 ?
3. Also there is a SDL port over DGA? Can Xlib route the calls through DGA ?
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?
Please, if anybody can point to a link where I can find relevent docs on
these issues, it will be of great help. I am finding lots of docs, but none
pin pointing the issues.
Thanks in advance.
Regards,
Pavan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070425/ebe2a5fb/attachment.htm>
More information about the SDL
mailing list