quote:Original post by Anonymous Poster
How does GDI+ enable rendering of controls to a D3D environment?
http://www.microsoft.com/hwdev/video/GDInext.htm
Pay particular attention to the following statements:
quote:
It must be possible to seamlessly mix 2-D, 3-D, video, and animation with high performance.
Graphics accelerators may support layering in the DAC (digital-analog converter). GDI+ will provide services that allow the driver to hook the top n layers in the z-order, and render them in hardware. It is up to the hardware as to the number of layers it supports in the back-end; GDI+ will emulate any layers lower than the top n using front-end compositing.
A common theme of GDI+ is the integration of 2-D and 3-D, from the API (application programming interface) to the DDI (device driver interface). On the DDI side, GDI+ will use existing 2-D and 3-D hardware acceleration capabilities by leveraging the Microsoft Direct3D® command stream for all hardware acceleration. GDI+ will use a mixture of D3D and GDI+ command tokens for all its rendering.
GDI+ can freely intermix "3-D" and "2-D" rendering without incurring costly state changes.
[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!