Windows Vista Forums

AllowTransparency=True = CPU > 90%
  1. #1


    Guest

    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



      My System SpecsSystem Spec

  2. #2


    Laurent Bugnion, MVP Guest

    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

      My System SpecsSystem Spec

AllowTransparency=True = CPU > 90% problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Operator -not should get True for whatever -eq 0 gets True (and morefun) Roman Kuzmin PowerShell 7 16 Jan 2009
True number of true Vista users Bink Vista General 42 12 Sep 2007
AllowTransparency=True = CPU > 90% Avalon 1 01 Jun 2007
Resize Windows at run-time with AllowTransparency issue Vincent RITHNER || hotmail Avalon 0 23 May 2007
Resize Windows at run-time with AllowTransparency issue Vincent RITHNER || hotmail WinFX General 0 23 May 2007