Hi,

Monge Maurizio <[EMAIL PROTECTED]> writes:

> I think a key option to have a lightweight window manager are clippers
> (maybe in software).
> If a surface can have blits, draw, etc. without to invade a region, then a
> window (without alpha blend) could be just a subsurface of the primary
> woth the correct clipper, and the clipper could change when the window is
> resized/moved.

in fact we have a clip rectangle and GTK+-DirectFB makes heavy use of
it. Each X11 child window is just a subsurface on the main window and
all drawing is clipped to the subsurface (or its clipping rectangle if
one is set).

> This would be very nice for common desktop apps, preventing a great
> number of drawing threads.  In facts i ported eboard to
> gtk2-directfb and i found that (even without alpha, on a matrox
> g400!) graphics were very slow, slower then under X :-(

which version of GTK+-DirectFB were you using? I've benchmarked this
stuff and I've always had sligthly better numbers for GTK+-DirectFB.


Salut, Sven


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to