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