Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

DirectDraw

From Wikipedia, the free encyclopedia
Old API of Microsoft's DirectX API
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "DirectDraw" – news ·newspapers ·books ·scholar ·JSTOR
(January 2009) (Learn how and when to remove this message)

DirectDraw (ddraw.dll) is an API that used to be a part ofMicrosoft'sDirectXAPI. DirectDraw is used to acceleraterendering of 2Dgraphics in applications. DirectDraw also allows applications to run fullscreen or embedded in a window such as most other MS Windows applications. DirectDraw useshardware acceleration if it is available on the client'scomputer. DirectDraw allows direct access tovideo memory,hardware overlays, hardwareblitters, andpage flipping. Itsvideo memory manager can manipulate video memory with ease, taking full advantage of theblitting and color decompression capabilities of different types ofdisplay adapters.

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

DirectDraw was introduced forWindows Mobile in Windows Mobile 5.0, replacing the graphics component ofGAPI, which was then deprecated.[1]

With the release of DirectX version 8.0, DirectDraw was merged into a new package calledDirectX 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, withCommand & Conquer,Warcraft 2, andTheme Hospital among those affected. In newer Windows versions, some games will refuse to run under a 32-bitbit 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:

  • WineD3D fromWine, which translates intoOpenGL.[3]
  • cnc-ddraw and ts-ddraw from CnCNet, aCommand & Conquer multiplayer network. Translates intoGDI, OpenGL (withGLSL support), or Direct3D 9.[4]
  • DDrawCompat, a wrapper for the vanilla ddraw that corrects problematic calls.[5] ddwrapper is an earlier, unrelated wrapper that does the same thing.[6]

See also

[edit]

References

[edit]
  1. ^Saffitz, Michael (13 August 2007)."Have you migrated to DirectDraw yet?".Windows Mobile Team Blog. Retrieved23 April 2019.
  2. ^"DirectX 8 Graphics and Video: A Fresh Start". gamedev.net. 2000-11-30. Archived fromthe original on 2007-06-04. Retrieved2019-04-23.
  3. ^Dossena, Federico."WineD3D For Windows".Federico Dossena. Retrieved23 April 2019.
  4. ^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. Retrieved23 April 2019.
  5. ^narzoul (21 April 2019)."DDrawCompat: DirectDraw compatibility and performance enhancements for Windows Vista, 7, 8 and 10".GitHub. Retrieved23 April 2019.
  6. ^Aqrit."ddwrapper".bitpatch.com.

External links

[edit]
Graphics and UI
Audio
Multimedia
Web
Data access
Networking
Communication
Administration and
management
Component model
Libraries
Device drivers
Security
.NET
Software factories
IPC
Accessibility
Text and multilingual
support


Stub icon

ThisMicrosoft Windows article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=DirectDraw&oldid=1258633408"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp