Why Use DirectDraw?
A version of this page is also available for
4/8/2010
DirectDraw brings many powerful capabilities to you, the Windows Embedded CE graphics programmer:
- The hardware abstraction layer of DirectDraw provides a consistent interface through which to work directly with the display hardware, getting maximum performance.
- DirectDraw assesses the video hardware's capabilities, making use of special hardware functionality whenever possible.
For example, if your video card supports hardware blitting, DirectDraw delegates blits to the video card, greatly increasing performance.
Additionally, DirectDraw provides a hardware emulation layer (HEL) to support functionality when the hardware does not. - DirectDraw makes it easy for you to implement page flipping with multiple back buffers in full-screen applications. For more information, see Page Flipping and Back Buffering.
- Support for clipping in windowed or full-screen applications.
- Support for hardware-assisted overlays with z-ordering.
- Access to image-stretching hardware.
- Simultaneous access to standard and enhanced display-device memory areas.
These capabilities combine to make it possible for you to write applications that easily outperform standard Windows GDI-based applications.