Stefan Dösinger : wined3d: Test and fix ddraw and d3d9 GetDC differences.
Alexandre Julliard
julliard at winehq.org
Tue Sep 8 08:54:16 CDT 2009
Module: wine
Branch: master
Commit: e1469961d42d0eb077d3fa0236de17b56bc51a56
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e1469961d42d0eb077d3fa0236de17b56bc51a56
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sat Sep 5 16:37:19 2009 +0200
wined3d: Test and fix ddraw and d3d9 GetDC differences.
The MSDN is not totally correct: A8R8G8B8 and A1R5G5B5 also allow GetDC. The
main differences that have to be filtered out in d3d9.dll are GetDC on
A8B8G8R8, X8B8G8R8 and P8.
---
dlls/d3d9/d3d9_private.h | 2 +
dlls/d3d9/device.c | 16 +++
dlls/d3d9/surface.c | 7 ++
dlls/d3d9/tests/surface.c | 81 ++++++++++++++
dlls/ddraw/surface.c | 12 ++-
dlls/ddraw/tests/dsurface.c | 234 ++++++++++++++++++++++++++++++++++++++++
dlls/wined3d/surface.c | 12 +--
dlls/wined3d/surface_base.c | 6 +
dlls/wined3d/surface_gdi.c | 21 +++-
dlls/wined3d/utils.c | 31 ++++--
dlls/wined3d/wined3d_private.h | 1 +
11 files changed, 394 insertions(+), 29 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=e1469961d42d0eb077d3fa0236de17b56bc51a56
More information about the wine-cvs
mailing list