Henri Verbeet : wined3d: Add an IWineD3DDeviceParent interface.

Alexandre Julliard julliard at winehq.org
Fri Jan 16 07:41:53 CST 2009


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Jan 16 10:14:24 2009 +0100

wined3d: Add an IWineD3DDeviceParent interface.

Other than being a bit nicer than passing function pointers all over the
place, this helps dxgi/d3d10. While the swapchain itself is created in dxgi,
its surfaces are constructed in d3d10core, which makes it impractical for dxgi
to pass the appropriate function pointers.

---

 dlls/d3d10core/d3d10core_main.c    |    2 +
 dlls/d3d10core/d3d10core_private.h |    7 +
 dlls/d3d10core/device.c            |  100 +++++++
 dlls/d3d8/d3d8_private.h           |   22 +--
 dlls/d3d8/device.c                 |  282 ++++++++++++++++---
 dlls/d3d8/directx.c                |  104 +-------
 dlls/d3d8/volume.c                 |   38 +---
 dlls/d3d9/cubetexture.c            |    3 +-
 dlls/d3d9/d3d9_private.h           |   27 +--
 dlls/d3d9/device.c                 |  271 ++++++++++++++++--
 dlls/d3d9/directx.c                |  107 +-------
 dlls/d3d9/swapchain.c              |    3 +-
 dlls/d3d9/texture.c                |    3 +-
 dlls/d3d9/volume.c                 |   38 +---
 dlls/d3d9/volumetexture.c          |    7 +-
 dlls/ddraw/ddraw.c                 |  554 +++++++++++++++++-------------------
 dlls/ddraw/ddraw_private.h         |    7 +-
 dlls/ddraw/main.c                  |   12 +-
 dlls/ddraw/parent.c                |    2 -
 dlls/dxgi/dxgi_main.c              |   34 ++-
 dlls/dxgi/dxgi_private.h           |    2 +-
 dlls/wined3d/device.c              |  116 ++++-----
 dlls/wined3d/directx.c             |    9 +-
 dlls/wined3d/wined3d_private.h     |    1 +
 include/wine/wined3d.idl           |   93 +++++--
 25 files changed, 1032 insertions(+), 812 deletions(-)

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



More information about the wine-cvs mailing list