Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Replacement  





2 See also  





3 References  





4 External links  














DirectDraw






العربية
Français


Polski

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


DirectDraw (ddraw.dll) is an API that used to be a part of Microsoft's DirectX API. DirectDraw is used to accelerate rendering of 2D graphics in applications. DirectDraw also allows applications to run fullscreen or embedded in a window such as most other MS Windows applications. DirectDraw uses hardware acceleration if it is available on the client's computer. DirectDraw allows direct access to video memory, hardware overlays, hardware blitters, and page flipping. Its video memory manager can manipulate video memory with ease, taking full advantage of the blitting and color decompression capabilities of different types of display adapters.

DirectDraw is a 2D API. That is, it contains commands for 2D rendering and does not support 3D hardware acceleration. A programmer could use DirectDraw to draw 3D graphics, but the rendering would be slow compared to an API such as Direct3D which does support 3D hardware acceleration.

DirectDraw was introduced for Windows Mobile in Windows Mobile 5.0, replacing the graphics component of GAPI, which was then deprecated.[1]

With the release of DirectX version 8.0, DirectDraw was merged into a new package called DirectX Graphics, which extended Direct3D with a few DirectDraw API additions. DirectDraw can still be used by programmers, but they must use older DirectX interfaces (DirectX 7 and below).

In June 2010, DirectDraw was removed from the DirectX SDK package,[2] but in 2012, the DirectX SDK was merged into the Windows Platform SDK, and DirectDraw was included once again.

Replacement[edit]

There has been a deterioration of Windows compatibility with old games that rely upon DirectDraw, with Command & Conquer, Warcraft 2, and Theme Hospital among those affected. In newer Windows versions, some games will refuse to run under a 32-bit bit depth (Dangerous Waters for example), others showing a black screen or glitching when switched out. Re-implementation of DirectDraw has been observed to fix these compatibility problems. Commonly used replacements include:

See also[edit]

References[edit]

  1. ^ Saffitz, Michael. "Have you migrated to DirectDraw yet?". Windows Mobile Team Blog. Retrieved 23 April 2019.
  • ^ "DirectX 8 Graphics and Video: A Fresh Start". gamedev.net. 2000-11-30. Archived from the original on 2007-06-04. Retrieved 2019-04-23.
  • ^ Dossena, Federico. "WineD3D For Windows". Federico Dossena. Retrieved 23 April 2019.
  • ^ CnCNet (21 April 2019). "cnc-ddraw: GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic games for better compatibility with Windows XP, Vista, 7, 8, 10 and Wine". GitHub. Retrieved 23 April 2019.
  • ^ narzoul (21 April 2019). "DDrawCompat: DirectDraw compatibility and performance enhancements for Windows Vista, 7, 8 and 10". GitHub. Retrieved 23 April 2019.
  • ^ Aqrit. "ddwrapper". bitpatch.com.
  • External links[edit]


  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=DirectDraw&oldid=1215806629"

    Categories: 
    DirectX
    Graphics libraries
    Microsoft application programming interfaces
    Microsoft Windows stubs
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Articles needing additional references from January 2009
    All articles needing additional references
    All stub articles
     



    This page was last edited on 27 March 2024, at 06:48 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki