RE: [ILUG] D11, basically implement X11 server like an os kernel

From: Paul Jakma (Paul.Jakma at domain Digital.com)
Date: Thu 05 Aug 1999 - 16:09:09 IST


> 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.

feasible?

paul.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:26 GMT