Module: wine Branch: master Commit: e178ddd9e1e16d1a3f52492799692e289eefcf8c URL: http://source.winehq.org/git/wine.git/?a=commit;h=e178ddd9e1e16d1a3f52492799...
Author: Stefan Dösinger stefan@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=e178ddd9e1e16d1a3f5249...