[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics performance under linux



Paul Gearon wrote:

[snip]
 
> This is obviously going to be a little slower than calling functions in
> GDI.DLL which in turn calls functions in a graphics driver.  However, it
> is also more reliable (since the process context of the Xserver is
> seperate to that of the client program) and has the major advantage of
> being transparent over a network. 

Indeed. Network transparency is not to be sneezed at.

> I'd rather not see this system
> abandoned, but maybe sockets to localhost could be sped up in some way.
> 
> Alternatively, a CORBA like approach which detects connections to
> localhost and uses direct function calls instead may make things quicker.
> Unfortunately, this would interfere with the independence of the XServer
> from the clients, though there's probably a way around it.

Of course, there *is* a well-defined client API to interact with X,
and there is no reason (it seems to me) that API *must* call through
an IPC layer, if it knows that a local connection is being made.
Are there apps that directly speak to the server using X protocol
without going through Xlib? (and if so, for dog's sake *why*?)

-- Joe
 

-- Joseph A Knapka
"If I ever get reincarnated... let me make certain I don't come back
 as a paperclip." -- protagonist, H Murakami's "Hard-boiled Wonderland"
// Linux MM Documentation in progress:
// http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html
* Evolution is an "unproven theory" in the same sense that gravity is. *
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/