GlassWindow performance...

Jun 25, 2009 at 2:07 PM
Edited Jun 25, 2009 at 2:52 PM

Hi, the GlassWindow control looks very nice, but at least for me it's simply not usable, because the whole application becomes horribly slow : Try the ElementFlow demo on a GlassWindow : Cpu goes up to 100 % when moving a carousel item (on a normal window max. 10 %)  The same whith other controls (resizing a grid etc...)

I guess thats because of the trancparency...

 

Ok , i found it :

The GlassWindow naturally uses  AllowsTransparency=True  , which is bad because it  causes software rendering, it does not matter if you use WinXP or Vista.

What a pity....Everything in WPF is customizable except windos :  it seems you can't  create custom windows with an acceptable performance.

henrik

Jun 25, 2009 at 2:59 PM

http://blogs.msdn.com/jaimer/archive/2006/12/08/transparent-windows-in-wpf-please-make-them-small.aspx

 

Coordinator
Jun 26, 2009 at 5:00 PM

Thanks for posting that henrik !