Stefan Dösinger : wined3d: Use a swapchain for GDI surfaces.

Alexandre Julliard julliard at winehq.org
Tue Aug 19 08:46:26 CDT 2008


Module: wine
Branch: master
Commit: e178ddd9e1e16d1a3f52492799692e289eefcf8c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e178ddd9e1e16d1a3f52492799692e289eefcf8c

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Tue Aug  5 14:23:00 2008 -0500

wined3d: Use a swapchain for GDI surfaces.

This is a long-needed cleanup aimed at removing the ddraw_primary,
ddraw_window, ddraw_width and ddraw_height members from
IWineD3DDeviceImpl, which just do not belong there.  Destination
window and screen handling is supposed to be done by swapchains.

---

 dlls/d3d8/device.c               |    2 +-
 dlls/d3d9/swapchain.c            |    2 +-
 dlls/ddraw/ddraw.c               |   94 +++++++++++++-
 dlls/ddraw/ddraw_private.h       |    1 +
 dlls/ddraw/surface.c             |   64 +++++----
 dlls/wined3d/Makefile.in         |    1 +
 dlls/wined3d/device.c            |  110 +++++++++++++----
 dlls/wined3d/surface.c           |    7 +-
 dlls/wined3d/surface_gdi.c       |  222 ++++----------------------------
 dlls/wined3d/swapchain_gdi.c     |  264 ++++++++++++++++++++++++++++++++++++++
 dlls/wined3d/wined3d_private.h   |    3 +-
 include/wine/wined3d_interface.h |    8 +-
 12 files changed, 517 insertions(+), 261 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=e178ddd9e1e16d1a3f52492799692e289eefcf8c



More information about the wine-cvs mailing list