Re: gtk, cairo, glitz, luminocity, what's their relation?

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

 



On Sun, 27 Mar 2005 17:02:01 +0200, writser@xxxxxxxxx said:

> promising. There is one thing I don't understand though. Cairo is able to
> render scalable widgets using vector graphics. Glitz is a backend that
> provides openGL acceleration for Cairo. So if I'm not mistaken, an OpenGL
> accelerated window is drawn this way: gtk -> cairo -> glitz. But where
> does the window manager do it's work? A new windowmanager, luminocity, is
> in development. It provides OpenGL acceleration too. But using a Xgl
> backend, afaik. 

Since nobody posted a reply.. ;)

In general, the "user program" in an X environment is responsible for drawing
the stuff *inside* its window, and the window manager is responsible for doing
all the "decorations" - titlebars, maximize/minimize/etc buttons, and so forth.
So in the scenario you suggest, the user program would be doing an OpenGL
rendering *into* a window via gtk->cairo->glitz.  Meanwhile, luminocity is
using a Xgl backend to draw the eye candy *around* the window(*).  There's no
conflict, as the two programs are (hopefully) drawing different pixels on the
screen.

(*) Actually, the window manager is most likely drawing into *another* window
that happens to be immediately ajacent to the application program's window...

Attachment: pgp9YsyMvs3lP.pgp
Description: PGP signature

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux