Re: Some 2.6 thinking
- From: Bill Haneman <Bill Haneman Sun COM>
- To: gtk-devel-list gnome org
- Subject: Re: Some 2.6 thinking
- Date: Wed, 21 Apr 2004 17:57:48 +0100
I would like to have an offscreen rendering of the GTK widgets.
User would define the fixed pixmap size and the widgets would
be rendered to that. Events would be delivered by API calls.
Possible applications: (1) GUI color enchangement for visually
impaired, (2) warped GUIs (fish-eye zoom, fun-looking GUIs), (3)
composed GUIs -- alpha channel and transparency could be included to
the rendering prior flattening to the screen.
Probably what you want is the COMPOSITE X extension, which is
available in the freedesktop.org "modular" x server, and which will
propagate out to the XORG foundation server before too long. For a lot
it's better to do this with server-side support as opposed to just
widgets offscreen in the client library.
COMPOSITE allows all the X windows to be virtualized, i.e. kept in
offscreen buffers, then
a "compositing manager" takes those windows and puts them onscreen via
combinations it likes. It enables all sorts of on-the-fly changes to
recoloring, rescaling, warping, etc. It also gives you alpha blending
and RGBA x visuals.
The OpenGL stuff is in the pipeline too, from the X point of view.
I also would like to have such an OpenGL support that GTK could
have OpenGL based widgets. GTK's box layout hierarchy could
extend to OpenGL side (and be used optionally): e.g., OpenGL-area
could be spliced with the viewport frustums (pyramides).
] [Thread Prev