Windows 7 Developer APIs - Graphics Sensors
-
Upload
lynn-langit -
Category
Technology
-
view
1.176 -
download
2
description
Transcript of Windows 7 Developer APIs - Graphics Sensors
Get the Most out of PC Hardware - Windows 7
LYNN LANGITDEVELOPER EVANGELIST – MICROSOFT
HTTP://BLOGS.MSDN.COM/SOCALDEVGAL
Shine on Modern Graphics Hardware with DirectX®
Use Sensor Platform to Give Life to Your Applications Location, Location, Location!Building Next Generation UI with Multitouch & Windows Ribbon in Windows 7
Today’s Agenda
Taking Your Application to the Next Level with Windows 7
Beyond Human Interaction with Windows 7 Sensor & Location Platform
Building A Great Windows 7 Application
Multitouch Windows Ribbon Sensors
Windows Taskbar Libraries Fundamentals
Version Control User Account Control Removed
Components
Get Compatible
Optimize
Differentiate
Windows 7 DWM memory consumption is cut by 50% per window
Take advantage of the GPU’s computational power
High-DPI support & high color Great interoperability across technologies
Graphics: Improvements
Direct2D
Direct3D Segoe UIDirectWrite
DXVA & WIC
New Graphics Stack
DirectWrite
Direct2D
Direct3D 10 Direct3D11
DirectX® Graphics Infrastructure
New in Windows 7
WICDWM
DXVA
Direct3D 9
DXGKernelIn Windows
Vista®
USER GDI
Win32K
GDI+
Direct2D, Direct3D & DirectWrite
A Tour
demo
Windows Sensor and Location Platform
Develop better and more productive user experiences Enable environmentally based applications
Uniform APIs for working with sensors No need to target vendor-specific APIs Consistent interface for sensors, extensions for location Access control and privacy (via Control Panel or API)
UMDF DriverApplication Sensor API Sensor Device
Category: What is being sensed? (e.g. Location) Type: How is it being sensed? (e.g. GPS) Properties: Model, report interval, friendly name Data report: Synchronous or asynchronous Events: State change, data arrived State: Enabled, access denied
What’s in a Sensor?
Ambient Light Sensor
Optimize for best user experience Change screen brightness Out of the box with Windows 7
Drive adaptive user interface LCD displays are difficult to read
outdoors in direct sunlight Utilize knowledge of ambient
lighting conditions to improve PC usability
Change contrast, color theme, and font size to be more readable in direct sunlight
MSDN ReaderLight-Aware User Interfaces
demo
Location Platform
A single API call to answer: Where am I? Enable location-based services Adjust functionality based on location changes
Built on top of the sensor API Automatic transition between providers
Built-in providers Lat-lon location provider Civic address Location provider
Sources: GPS, Wi-Fi or cell tower triangulation, IP resolver, default location (control panel)
Location, Location, Location!eDLP, Desktop Gadgets
demo
Summary
Windows 7 Graphic Stack Major performance enhancements Take advantage of the GPU power Make sure your application supports high-DPI
Create environmentally-aware applications using Windows sensors and location platform
Consumer based location aware services Light-aware user interface Enterprise/vertical applications
enhanced with location
SoCal Windows 7 Developer ResourcesTechnical Resources
Underground @PDC – Wed, Nov 18 – 7pm until late
CodeCampLA – Sat/Sun, Nov 20 – 21 - http://www.lacodecamp.com/
Slides – http://blogs.msdn.com/SoCalDevGal
Code samples – my blog (as above)
Recordings – from San Diego MSDN event – watch my blog for the link
Conference – PDC09 – Nov 17-19 in LA - http://microsoftpdc.com/
PreCon – FREE – Windows 7 Developer Bootcamp @PDC09 – Mon, Nov 16 in LA – must register http://microsoftpdc.com/Registration
Lynn’s blog series – http://blogs.msdn.com/SoCalDevGal #Win7DevSeries
Training Resources
Community Events
Additional Windows 7 ResourcesTechnical Resources
Windows 7 Blog for Developers www.windowsteamblog.com/blogs/developers.aspx
Windows 7 on Channel 9 http://channel9.msdn.com/tags/Windows+7
Windows Developer Center on MSDN http://msdn.microsoft.com/en-us/windows/dd433113.aspx
Windows Application Compatibility Developer Center http://www.msdn.microsoft.com/en-us/windows/aa904987.aspx
Windows 7 Remediation Labs http://www.readyset7.com/workshops
Windows 7 Training Kit for Developers http://go.microsoft.com/?linkid=9681321
“PhotoView” Reference Application (XP2Win7Project) http://code.msdn.microsoft.com/XP2Win7
Training Offers—Exclusive for Launch Attendees www.microsoft.com/learning/careeroffers
Training Resources
Community Resources