Wednesday, May 12, 2010

visual studio 2008

Enable parallel compilation in one project (there are many restrictions though):

3rd party alternative

How to use #import directive (which cause conflict with /MP option)

Monday, May 10, 2010

Direct2D

Direct2D can be used on Session 0 !!
http://blogs.msdn.com/b/directx/archive/2009/09/11/using-direct2d-for-server-side-rendering.aspx

but only with software rendering :(
http://en.wikipedia.org/wiki/Direct2D

Direct2D can minimize CPU usage and utilise hardware rendering on a graphics card that supports Direct3D 10.1 and/or Direct3D 10 Feature Level 9 with WDDM 1.1 drivers, falling back to software rendering using WARP10 in situations when hardware is not available, such as session 0, and for remote server-side rendering. Direct2D performance and memory usage scale linearly with primitive counts in both software and hardware.

Direct2D vs. GDI

Surface sharing among various technologies

Example on how to draw bitmap using Direct2D

Writing DPI aware application