After testing the most simple application, I would say NO. A message indicates Direct3D 9 Ex is not supported. But WPF use DX10 or DX11 on W7. Is there a possible configuration of WPF to make it work ?
My final goal is to test a mixed DX9 / WPF application. WPF is not used for 3D, but is GPU accelerated...
Thanks for letting us know about this issue.
Before I check on this, I'll need some more information about your specific configuration. Therefore, could you please right-click on the GPA Monitor icon in the notification tray, then select "About..." and copy that information here?
Windows 7, 64-bit DEP enabled
Num Processors: 8
System BIOS: American Megatrends Inc. 0806 (02/11/2011)
Video BIOS: Hardware Version 0.0 (10/03/20)
Device: Intel HD Graphics Family
Provider: Intel Corporation
ProductId: 122 (Intel HD 3000 Graphics)
Supports GPA Instrumentation
GPA install directory: C:\Program Files\Intel\GPA v4.2\
GPA version: 4.2.156824
Current user is in Administrators group: YES
I've worked with the Intel GPA Development Team, and our WPF expert provided me with some additional information on your wanting to use DX9 (not DX9Ex) with WPF on Windows 7.
WPF uses DirectX 9 only for hardware acceleration (link to MSDN article). Depending on version of Windows OS, the WPF runtime will use a different version of DX9: DX9 on XP and DX9Ex on Vista/Win7. This information is mentioned in an MSDN article describing WPF interoperability with Direct3D (link to MSDN article):
Use theDirect3DCreate9Exmethod on WindowsVista with a display that is configured to use the Windows Display Driver Model (WDDM) [which also includes Win7]. Use theDirect3DCreate9method on any other platform.So at this time it doesn't look like you can use Intel GPA with WPF on Win7 -- you'll have to wait until Intel GPA supports DX9Ex. But many other customers have requested that Intel GPA support DX9Ex, so you are not alone in your request.
Hopefully this has helped... if not, please send me more information and I'll see what we can do to help.
ps-> I've also seen others who've tried analyzing games that use WPF with Win7, and all of them have encountered the same issues as you've seen (that is, WPF uses DX9Ex).
I've done some searching on the web, and find that there are ways to force WPF to not use hardware acceleration (MSDN article).
Without actually testing this myself with a real application, it's not clear whether this will solve your problem. So please take a look and let us know whether this works.
PS-> I'm sorry, but at this time I'm unable to comment on when GPA might support DX9Ex; as soon as I have more information to share I'll post that info on this site
In other word, GPA does not support WPF on Win7. I can't useGPA for my application (I need Win7).
So I'm assuming that even after disabling hardware acceleration you find that WPF still uses DirectX 9Ex. If this is the case, then you are correct in that applications written with WPF cannot be analyzed with the current version of Intel GPA.
Hopefully we'll be able to add DirectX 9Ex support in a timeframe that will still allow you to use Intel GPA for your analysis and optimization needs.
Thanks for trying Intel GPA, and for letting us know about the issues that you've encountered.