On Fri, Oct 11, 2002 at 09:26:07PM +0000, Mikhael Goikhman wrote:
> On 11 Oct 2002 12:17:51 +0200, Olivier Chapuis wrote:
> > 
> > On Fri, Oct 11, 2002 at 12:23:57AM +0000, Mikhael Goikhman wrote:
> > > 
> > > Transparent (and tinted) menus are very slow, I don't use this on the
> > > daily basis (not that I use any predictable theme on a daily basis).
> > > Hopefully transparent menus could be somehow speeded up, or maybe it is
> > > just my video card and my 350Mhz processor.
> > 
> > To get "fast" Transparent menu you should use:
> > 
> >         Colorset 5 RootTransparent buffer, Tint black 30
> >                                    ^^^^^^
> > and use fvwm-root or Esetroot to set the root bg. This can take a lot
> > of memory: each "buffered" RootTransparent colorset will load a tinted
> > version of the root pixmap. If the transparency is not buffered the
> > tinted menu bg is dynamically created/destroyed, so it is "slow".
> > With Tinted ParentRelative Transparency we should make in addition
> > a screenshot of the concerned part of the root window, so this is
> > "very slow".
> 
> It is faster, thanks. The background now appears almost immediatelly after
> some hardly noticable blink (it may be more noticable on other hardware).
> 

I cannot see such a blinking (I get some blinking with fine gradient).
Do you see the blinking when you popup the menu for the second time
(with a given cset definition)? 

> Still, it is not fast, you may see how item by item is drawn on the
> background. This may be because of tinted menu icons with alpha channel or
> xft fonts. I think it is not because of tinted menu icons or xft fonts,
> but because of png icons.

I can reproduce this only with some xft fonts and some shadow. Xft
is slow I do not think we can do something (maybe recent version of
Xft2 is faster).

In fact I can "reproduce" this (without xft but with IconTint and IconAlpha)
when I run my Xserver with --depth 24 (almost not visible even with
very big menu, but I can see something).
However, in depth 24 I've _no_ XAA. Can you run your server with
--depth 16?

> I don't know what can be done here at least for
> non-static background, becuase the icons should be applied to the
> background every time a menu is poped up... But maybe there is a way.
>

Yes, I think this the way: do you want to have in memory all the
menus in some pixmaps? Note also that it is not possible (in general)
to draw in a Pixmap with a ParentRelative "bg".

Olivier
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to