[forum] direct rendering and compatability

Gregor Burger forum@XFree86.Org
Tue, 18 Mar 2003 04:09:29 +0100


hi,

As far as I understand the x communication:
	1. a client makes a request through an api-call
	2. the request is translated into the x-protocol and sent over the network
	3. the server gets the request and decodes it
	4. the server calls a function (probably in a driver to execute the 
	    commands from the client. 

	and vice versa. 

What I can see is that step 3 and 4 aren't neccesery if you work on the 
localhost (90% of every x-session). so my question: Is it possible to detect 
whether I'm working over the network or not, and if not just call the 
functions direct (through an api)?

That would not break the backward compatability, and will PROBABLY 
boost the performance. 

I'm not a x-hacker or anything near that so please be patient if I just talked
pure ****. 


cheers gregor