Slides for my TechDays Switzerland presentation
Source code available at http://www.galasoft.ch/mydotnet/articles/resources/techdaysch09/LobDemo.zip
Pixel Shaders video at https://cid-40cffde85f1ab56a.skydrive.live.com/self.aspx/Videos/TechDaysCH09/ShaderVideo.wmv
8. Multitouch / Windows 7
Multitouch is coming (Natural User
Interface)
Surface experience is leveraged for Win7
WPF is ready for Windows 7
Jump List integration
Thumbnail customization
9. XAML 4 / C# 4
Improvement of the languages will improve
WPF too!
http://channel9.msdn.com/pdc2008/TL36/
(XAML)
Unifying the different XAML versions
Names
reference, Types, Generics, Delegates, Arguments,
Factory Methods…
http://channel9.msdn.com/pdc2008/TL16/
(C#)
More dynamic
Better interoperability
10. Pixel shaders
Replacement for BitmapEffects
Too inefficient (no GPU acceleration)
Will no-op in WPF 4
Exception: Blur and DropShadow
Highly efficient, parallel computing
Optimized for GPU
11. float4 myColor = { 0.5f, 0.2f, 0.4f, 0.2f };
float4 colorFilter = {0.0f, 0.0f, 1.0f, 1.0f};
float4 result = myColor * colorFilter;
<This is FOUR TIMES as fast as doing these operations
separately, since they’re done in parallel>
result == {0.0f, 0.0f, 0.4f, 0.2f}
{result.x, result.y, result.z, result.w}
…equivalent to
{result.r, result,g, result.b, result.a}
<Grid> Grid g = new Grid();
<Grid.Effect> MyEffect me = new MyEffect();
<MyEffect /> g.Effect = me;
</Grid.Effect>
</Grid>