![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| AllowTransparency=True = CPU > 90% Hi, Just this question for people who can confirm this: - A WPF normal window is rendered by GPU acceleration - A WPF window with AllowTransparency="True" is rendered by CPU The question is here cause I saw the performance are very bad when moving or resizing (by event + code) It true, the next question is why WPF doesn't use GPU for transparent window ? Thx -Vince |
|
| |
| | #2 (permalink) |
| Guest
Posts: n/a
| Re: AllowTransparency=True = CPU > 90% Hi, vrithner@hotmail.com wrote: > Hi, > > Just this question for people who can confirm this: > > - A WPF normal window is rendered by GPU acceleration > - A WPF window with AllowTransparency="True" is rendered by CPU > The question is here cause I saw the performance are very bad when > moving or > resizing (by event + code) > > It true, the next question is why WPF doesn't use GPU for transparent > window > ? > > Thx > -Vince That's correct on XP, but the good news is that transparent windows are hardware accelerated on Vista. I am not sure what the exact reason is. As an alternative, if you do CPU-intensive stuff in a transparent window, you can use a Win32 window and include your WPF stuf into it. HTH, Laurent -- Laurent Bugnion [MVP ASP.NET] Software engineering, Blog: http://www.galasoft-LB.ch PhotoAlbum: http://www.galasoft-LB.ch/pictures Support children in Calcutta: http://www.calcutta-espoir.ch |
| |
| |