The xpwpf program is transparent when the Windows XP system runs the wpf program.

Source: Internet
Author: User

The xpwpf program is transparent when the Windows XP system runs the wpf program.
Some controls are transparent when the xp Virtual Machine runs the WPF program. There is a possible solution: Disable hardware acceleration of the system: 


1. Press WIN + R, enter "dxdiag" in the "run" input box.


 2. In the "DirectX diagnostic tool" dialog box, select the "display" Page and click "Disable" in the "DirectX function, set "Direct 3D acceleration" to disabled. In the past, I still did not quite understand the principle of WPF hardware acceleration. After this process, I felt a little familiar with it. For more information, see. WPF uses the features of WPF hardware acceleration from the following three levels: wpf api first checks the level of WPF hardware acceleration supported by your hardware system, such as the video memory size of the video card, pixel depth. Based on the hardware you use, WPF will select one of the following three rendering modes as its rendering mode: Level 0th if your graphics card does not support hardware acceleration, WPF uses a rendering mode of 0th levels. That is to say, it will use software acceleration. This is equivalent to using DirectX earlier than 7.0. Level 1st if your video card partially supports hardware acceleration, WPF will adopt level 1st rendering mode. This is equivalent to using DirectX with versions between 7.0 and 9.0. Level 2nd if your video card fully supports hardware acceleration, WPF will adopt level 2nd rendering mode. This is equivalent to using DirectX with the version number equal to or greater than 9.0. Here we disable hardware acceleration. The control can only be drawn using software acceleration, while the Software Acceleration uses the cpu, so it only increases the resource usage, but does not affect the display.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.