WPF(Windows Presentation Foundation)图形系统

        在Windows NT中,图形多媒体系统基于层次结构。应用程序与顶层的API(实际上是多个用户模式的系统DLL,比如GDI32.DLL)交互,这些系统DLL最终会通过系统服务调用处于内核模式的系统服务。NT系统的详细信息可参考《Windows 图形编程》的第一、二章。在Windows Vista中,图形系统已经移出了内核模式,并有自己的空间--WPF。

        WPF移出内核除了全面提高稳定性(内核模式中通常需要共享资源),也使得实现内核模式高级控制成为可能。首先,WPF不再唯一依靠GDI图形API,Vista更多的依靠Direct3D处理图形操作,这样允许更多的D3D特征,实现更酷的外观和效果。当然,为了实现这样的效果,Vista的设计上也有所改变。Windows Vista尽量不用CPU进行显示,而是用显示卡的图形处理单元(Graphics Processing Unit, GPU),用矢量图代替位图。

         Windows Vista还采用了另外一种驱动模型--Windows显示驱动模型(WDDM)。实现操作系统和图形卡GPU之间更复杂的通信。为了处理操作系统更高的3D处理请求,新的WDDM驱动类型需要更多的显示卡内存。Vista能尽可能的利用显示卡以达到最好的性能。

        现在基本了解了Windows Vista图形系统,再看看其可测量性。Windows Vista可提供非常高的终端图形,据此很多人都错误的认为:为了运行Windows Vista操作系统,必须要非常高端的图形硬件。事实上并不完全如此。Windows Vista图形系统一个关键好处就是可以检测显示卡的性能。Vista根据不同的性能和驱动模型(WDDM,XPDM)提供给用户不同的用户体验。




Title: Mastering Windows Presentation Foundation Author: Sheridan Yuen Length: 516 pages Edition: 1 Language: English Publisher: Packt Publishing Publication Date: 2017-04-06 ISBN-10: 1785883003 ISBN-13: 9781785883002 Key Features Learn how to use the MVVM software architectural pattern and see the benefits of using it with Windows Presentation Fountain (WPF) Learn which controls to use in particular situations and the various ways to modify them when required Obtain a deep understanding of data validation and understand various methods that suit different situations Book Description Windows Presentation Foundation is rich in possibilities when it comes to delivering an excellent user experience. This book will show you how to build professional-grade applications that look great and work smoothly. We start by providing you with a foundation of knowledge to improve your workflow - this includes teaching you how to build the base layer of the application, which will support all that comes after it. We'll also cover the useful details of data binding. Next, we cover the user interface and show you how to get the most out of the built-in and custom WPF controls. The final section of the book demonstrates ways to polish your applications, from adding practical animations and data validation to improving application performance. The book ends with a tutorial on how to deploy your applications and outlines potential ways to apply your new-found knowledge so you can put it to use right away. The book also covers 2D and 3D graphics, UI automation, and performance tuning. What you will learn Use MVVM to improve workflow Create visually stunning user interfaces Perform data binds proficiently Implement advanced data validation Locate and resolve errors quickly Master practical animations Improve your applications' performance Table of Contents Chapter 1. A Smarter Way of Working with WPF Chapter 2. Debugging WPF Applications Chapter 3. Writing Custom Application Frameworks Chapter 4. Becoming Proficient with Data Binding Chapter 5. Using the Right Controls for the Job Chapter 6. Mastering Practical Animations Chapter 7. Creating Visually Appealing User Interfaces Chapter 8. Implementing Responsive Data Validation Chapter 9. Completing That Great User Experience Chapter 10. Improving Application Performance Chapter 11. Deploying Your Masterpiece Application Chapter 12. What Next?
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值