Paul Braman wrote:
I was tired, it was late, I was mad at the world…
To summarize, fullscreen games in X is possible. They will probably get
easier once Xfree86 4.0 comes out with DRI, etc. (That is, without window
manager interaction for a deticated fullscreen game.)
DRI will make this faster (for 3D) and maybe safer (no SUID and maybe
there is automatic “recovery” of video system). DRI is more related to
"making 3D faster" than “giving you access to the full screen” tho.
For 2D, one thing I want is more speed. DGA 1.1 and 2.0 are improving,
by giving access to the most important accelerator functions (blits and
fill rectangles in 1.1, 2.0 adds colorkey blits).
(by the way, how are you supposed to do a blit from offscreen memory
with DGA 1.1, anybody knows? XF86DGACopyArea wants a Drawable… I
didn’t play with those two much yet, but I am looking into this…)
But for non-DGA, you’re pretty much stuck in hell. If only there was a
way of telling the X server to put a pixmap in video memory! Or if it
would put often used pixmaps in video memory, or something to that
Ludus Design, http://ludusdesign.com/
“First they ignore you. Then they laugh at you.
Then they fight you. Then you win.” – Gandhi