wined3d: Add an IWineD3DDeviceParent interface.
commita966293f593e8b75e796a0a923626a1e73403a20
authorHenri Verbeet <hverbeet@codeweavers.com>
Fri, 16 Jan 2009 09:14:24 +0000 (16 10:14 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 16 Jan 2009 12:29:32 +0000 (16 13:29 +0100)
tree17eb7418d1146bf58834cbb1f6495f3d2e3a7df1
parentf4ca7d2d1ae32af6886eb22d141d35cc8ded8d34
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.
25 files changed:
dlls/d3d10core/d3d10core_main.c
dlls/d3d10core/d3d10core_private.h
dlls/d3d10core/device.c
dlls/d3d8/d3d8_private.h
dlls/d3d8/device.c
dlls/d3d8/directx.c
dlls/d3d8/volume.c
dlls/d3d9/cubetexture.c
dlls/d3d9/d3d9_private.h
dlls/d3d9/device.c
dlls/d3d9/directx.c
dlls/d3d9/swapchain.c
dlls/d3d9/texture.c
dlls/d3d9/volume.c
dlls/d3d9/volumetexture.c
dlls/ddraw/ddraw.c
dlls/ddraw/ddraw_private.h
dlls/ddraw/main.c
dlls/ddraw/parent.c
dlls/dxgi/dxgi_main.c
dlls/dxgi/dxgi_private.h
dlls/wined3d/device.c
dlls/wined3d/directx.c
dlls/wined3d/wined3d_private.h
include/wine/wined3d.idl