From Wikipedia, the free encyclopedia
|WikiProject Computing||(Rated Stub-class)|
|WikiProject Microsoft Windows / Computing||(Rated Stub-class, Mid-importance)|
"DirectDraw is now replaced by Direct2D."
Are there any references to support this? My understanding was that Direct2D is meant as a replacement for GDI, not DirectDraw. In particular:
- Direct2D does not support full screen (except on Windows 8).
- Direct2D has primitives for drawing lines, circles, etc. using textured brushes.
- Direct2D supports high-quality (but slow) typography, preferebly with the aid of DirectWrite. In fact, if you draw text without DirectWrite, Direct2D will use it internally. 
- Direct2D does not give you direct access to the frame buffer, at least not as far as I can tell.
- Direct2D doesn't provide accurate access to the pixels; it provides "device independent pixels" which are then scaled to match the actual hardware. 
Compare to the features for DirectDraw:
- Bit-block transfers (blits)
- Page flipping and multiple back buffers
- Overlays, which is placing one image surface over another on the video display
- Alpha source over destination blending, which is blending two surfaces using the source alpha image component
- Video YUV pixel formats and color conversion
- Direct video access to the frame buffer
Quoted from Microsoft.