> This is not a X is bad argument, or a call for a specialized
> extention, just an
> investigation into an interesting implementation /
> enhancement of an XServer.
something i was thinnking of: the majority of X requests are from toolkits,
qt, gtk+, motif.. whatever.
why not add a toolkit extension to X? Ie something where a toolkit could
register a set of X procedures with the X server. And from there on the
toolkit could refer to the procedure (possibly with parameters) instead of
having to send all the low-level X stuff again.
eg, gtk+ could register a GTK_scrollbar <with parameters> procedure with the
Xserver, and give it the X commands needed, which the X server caches. From
there on that instance of gtk+ could ask for GTK_scrollbar..<up, x,y,
whatever> and the Xserver would know what to do.. so smoother scrolling.
Less system time taken up with passing X requests around, so more time for
passing important stuff across the wire, like pixmaps, etc.
A new instance of gtk+ could check first to see if something is registered,
and if it is bypass the registering procedure.
it'd cause a slight memory bloat granted, but not that much. I'd guess no
more than 1MB even with a couple of toolkits active.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!