wined3d: Use a swapchain for GDI surfaces.
commite178ddd9e1e16d1a3f52492799692e289eefcf8c
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 5 Aug 2008 19:23:00 +0000 (5 14:23 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 19 Aug 2008 10:21:32 +0000 (19 12:21 +0200)
treebd593a619938bfdca1b76d69abc16cd73e8a648b
parent66738fbb87e9e870288d755d795736adb6692f5b
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.
12 files changed:
dlls/d3d8/device.c
dlls/d3d9/swapchain.c
dlls/ddraw/ddraw.c
dlls/ddraw/ddraw_private.h
dlls/ddraw/surface.c
dlls/wined3d/Makefile.in
dlls/wined3d/device.c
dlls/wined3d/surface.c
dlls/wined3d/surface_gdi.c
dlls/wined3d/swapchain_gdi.c [new file with mode: 0644]
dlls/wined3d/wined3d_private.h
include/wine/wined3d_interface.h