Henri Verbeet
d1327bbefe
wined3d: Get rid of the WINED3DDEVICE_CREATION_PARAMETERS typedef.
2011-11-28 16:40:47 +01:00
Henri Verbeet
376ffdf3d5
wined3d: Get rid of the WINED3DADAPTER_IDENTIFIER typedef.
2011-11-24 17:10:09 +01:00
Henri Verbeet
18a7653c78
wined3d: Get rid of the WINED3DDISPLAYMODE typedef.
2011-11-17 11:37:26 +01:00
Francois Gouget
903146bdcd
dxgi: Delete the static critical section when unloading the dll.
2011-11-16 17:02:43 +01:00
Francois Gouget
fb49b7fd5b
dxgi: Remove an unneeded refcount field.
2011-11-16 17:02:02 +01:00
Matteo Bruni
8af1c6ee19
dxgi: Refuse to create a D3D10 wined3d device if it is not supported by the GPU.
2011-10-26 12:41:35 +02:00
Henri Verbeet
c461d312ba
wined3d: Request per-surface palettes in the client libs.
2011-06-24 08:49:48 -05:00
Henri Verbeet
b296f181dd
wined3d: Explicitly set surface alignment in the client libs.
...
Instead of using dxVersion.
2011-06-24 08:49:42 -05:00
Michael Stefaniuc
219a830273
dxgi: COM cleanup for the IDXGISurface iface.
2011-06-07 14:18:33 +02:00
Michael Stefaniuc
2486da8250
dxgi: COM cleanup for the IWineDXGIAdapter iface.
2011-06-07 14:18:33 +02:00
Michael Stefaniuc
31510a1acf
dxgi: COM cleanup for the IWineDXGIDevice iface.
2011-06-07 14:18:33 +02:00
Michael Stefaniuc
a26925d38f
dxgi: COM cleanup for the IWineDXGIFactory iface.
2011-06-07 14:18:33 +02:00
Michael Stefaniuc
61f51eb47e
dxgi: COM cleanup in the IDXGISwapChain iface.
2011-06-06 16:30:12 +02:00
Michael Stefaniuc
125b949545
dxgi: COM cleanup for the IDXGIOutput iface.
2011-06-06 16:30:12 +02:00
Henri Verbeet
3032b40c80
wined3d: Get rid of the IWineD3DDeviceParent interface.
2011-05-19 10:06:21 +02:00
Ričardas Barkauskas
b59b68b86d
dxgi: Fix GetDisplayModeList parameter handling.
2011-05-18 17:07:22 +02:00
Henri Verbeet
8d4ca1f815
wined3d: Remove COM from the device implementation.
2011-05-17 10:06:18 +02:00
Henri Verbeet
00a5f38595
wined3d: Remove object creation methods from the IWineD3DDevice interface.
2011-05-11 14:56:48 +02:00
Henri Verbeet
1c1de920e3
wined3d: Remove COM from the surface implementation.
2011-04-29 16:52:13 +02:00
Henri Verbeet
3ec19590d5
wined3d: Remove COM from the swapchain implementation.
2011-04-14 17:13:57 +02:00
Henri Verbeet
d2e665230a
wined3d: Get rid of the swapchain destroy callback.
2011-04-13 14:13:51 +02:00
Henri Verbeet
dd2c7d0d8c
wined3d: Don't free D3D swapchains until the wined3d swapchain is destroyed.
...
This will allow us the get rid of the swapchain refcounting hacks in d3d9 in
particular. This is similar to the way we handle resources that are still in
use by a stateblock, but aren't referenced anywhere by the application.
2011-04-08 14:40:48 +02:00
Paul Vriens
a01b1a3974
dxgi: Only cast to a void pointer (Coverity).
2011-03-14 12:17:06 +01:00
Henri Verbeet
36d4268e3c
wined3d: Remove COM from IWineD3D.
2011-02-02 12:22:42 +01:00
Henri Verbeet
20043c0a46
dxgi: Try to create a software adapter when no regular adapters are found as well.
2010-10-25 14:29:44 +02:00
Rico Schüller
4a3da6e190
dxgi: Fix IWineD3DSwapChain_GetParent() call.
2010-09-27 14:10:43 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Henri Verbeet
6c4c351791
wined3d: Don't require wined3d object parents to be COM objects.
2010-09-01 14:01:02 +02:00
Henri Verbeet
2ef400901d
wined3d: Devices don't need parents.
2010-09-01 12:40:07 +02:00
Henri Verbeet
cc5271d1b7
wined3d: Rename WINED3DFORMAT to wined3d_format_id.
2010-08-24 12:25:01 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens
a9113f7b3c
dxgi/tests: Fix a test failure when no adapters are present.
2010-02-01 12:49:41 +01:00
Henri Verbeet
9e886423e7
dxgi: Add a separate function for factory initialization.
2009-12-30 13:31:42 +01:00
Henri Verbeet
044a989d79
dxgi: Add a separate function for swapchain initialization.
2009-12-29 11:06:06 +01:00
Henri Verbeet
f282db2408
dxgi: Implement IDXGIOutput::GetDisplayModeList().
2009-12-10 11:55:00 +01:00
Henri Verbeet
efbd38ae84
dxgi: The "unknown0" parameter to DXGID3D10CreateDevice() is a pointer.
...
Fixes stack corruption in the 64-bit tests. Thanks to Paul Vriens for debugging this.
2009-12-08 12:33:43 +01:00
Henri Verbeet
bf1255e2cd
dxgi: Implement IDXGISurface::GetParent().
2009-12-07 14:34:23 +01:00
Henri Verbeet
a6b9a637e2
dxgi: Implement IDXGISurface::GetDevice().
2009-12-07 14:34:19 +01:00
Henri Verbeet
4e29ade658
dxgi: Add a separate function for surface initialization.
2009-12-07 14:34:15 +01:00
Henri Verbeet
2800970d1a
dxgi/tests: Add a small test for IDXGIAdapter::GetDesc().
2009-12-04 14:34:59 +01:00
Henri Verbeet
0491fcce30
dxgi: Implement IDXGIAdapter::GetDesc().
2009-12-04 14:34:59 +01:00
Henri Verbeet
09dd10e7f5
dxgi/tests: Add some tests for IDXGIObject::GetParent().
2009-12-03 12:08:56 +01:00
Henri Verbeet
3543e3d8cc
dxgi: Implement IDXGIFactory::GetParent().
2009-12-03 12:08:51 +01:00
Henri Verbeet
bfdd5df7f0
dxgi: Implement IDXGIDevice::GetParent().
2009-12-03 12:08:46 +01:00
Henri Verbeet
aa85b4c61d
dxgi: Implement IDXGIOutput::GetParent().
2009-12-03 12:08:41 +01:00
Henri Verbeet
15b6bc6135
dxgi: Add a separate function for device initialization.
2009-11-19 12:22:11 +01:00
Henri Verbeet
a3f22d07d1
dxgi: Free the adapters array in dxgi_factory_Release() (Valgrind).
2009-10-21 16:05:57 +02:00
Henri Verbeet
d4a211f0be
dxgi: Mark internal symbols hidden.
2009-09-23 12:36:39 +02:00
Henri Verbeet
a5214c306f
wined3d: Don't free D3D surfaces until the wined3d surface is destroyed.
...
This prevents for example a d3d9 depth stencil from being destroyed when it
has no external references but is still in use by the device/stateblock. A
nice side effect is that it simplifies handling of "implicit" surfaces like
the frontbuffer and backbuffers, as well as the forwarding of reference counts
for surfaces that are part of a texture.
2009-09-16 13:04:32 -05:00
Henri Verbeet
9ed19bc61a
dxgi: Implement IDXGIAdapter::EnumOutputs().
...
Just a single output for each adapter so far, wined3d doesn't do
multihead yet.
2009-09-15 14:32:08 -05:00
Henri Verbeet
7170a20239
dxgi: Add a separate function for dxgi_adapter initialization.
2009-09-11 12:09:33 +02:00
Alexandre Julliard
56af92b073
makefiles: Regenerate the source lists using make_makefiles.
2009-07-03 13:26:38 +02:00
Henri Verbeet
964408d0bf
dxgi: Initial IDXGISwapChain::Present() implementation.
2009-02-24 16:57:29 +01:00
Henri Verbeet
f4879dcec1
dxgi: Implement IDXGISwapChain::GetBuffer().
2009-02-24 16:57:29 +01:00
Henri Verbeet
eda929d010
dxgi: Create a wined3d swapchain.
2009-02-24 16:57:29 +01:00
Henri Verbeet
8afd92154d
dxgi: Convert DXGI_FORMAT values to WINED3DFORMAT values.
2009-02-20 11:10:51 +01:00
Henri Verbeet
c9f116a56f
dxgi: Implement IDXGIDevice::CreateSurface().
2009-01-19 13:36:25 +01:00
Henri Verbeet
23094bfad8
dxgi: Allow dxgi_surface to be aggregated.
2009-01-19 13:36:25 +01:00
Henri Verbeet
43f469ec6a
d3d10core: Implement device_parent_CreateSurface().
2009-01-19 13:36:25 +01:00
Henri Verbeet
bd9320f822
dxgi: Add a small test for CreateSurface().
2009-01-16 13:29:38 +01:00
Henri Verbeet
a966293f59
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.
2009-01-16 13:29:32 +01:00
Henri Verbeet
529faa2cd4
dxgi: Add a stub IDXGISurface implementation.
2009-01-15 12:43:20 +01:00
Michael Stefaniuc
f93b29b04d
dxgi: Remove superfluous pointer casts.
2009-01-12 13:06:50 +01:00
Huw Davies
2392214427
dxgi: Don't crash and just skip the tests if glX in not available.
2008-12-04 14:43:31 +01:00
Andrew Talbot
c3b27ceb4d
dxgi: Memory allocation size fix.
2008-12-04 12:05:37 +01:00
Henri Verbeet
a6917b143d
wined3d: Use IDL to generate wined3d.h.
2008-11-25 13:37:22 +01:00
Henri Verbeet
5ee7536448
dxgi: Implement IDXGIAdapter::GetParent().
2008-11-20 14:25:18 +01:00
Henri Verbeet
ba532a3edb
dxgi: Implement IDXGIDevice::GetAdapter().
2008-11-20 14:25:15 +01:00
Henri Verbeet
1dea8291fb
dxgi: Add a test for DXGID3D10CreateDevice().
2008-11-18 11:54:02 +01:00
Henri Verbeet
1988ed16db
dxgi: Implement IDXGIFactory::EnumAdapters().
2008-11-18 11:53:28 +01:00
Henri Verbeet
808bbeb065
dxgi: Store an array of adapters in dxgi_factory.
2008-11-18 11:53:21 +01:00
Henri Verbeet
a42b7568b9
dxgi: Add a wined3d device to dxgi_device.
2008-11-17 14:38:52 +01:00
Henri Verbeet
20b042027c
dxgi: Add an ordinal field to dxgi_adapter.
2008-11-17 14:38:41 +01:00
Henri Verbeet
479e3672c4
dxgi: Add a IWineD3D field to dxgi_factory.
2008-11-17 14:38:24 +01:00
Henri Verbeet
ddbd4ab3b8
dxgi: Implement DXGID3D10CreateDevice().
2008-11-14 14:28:42 +01:00
Henri Verbeet
800fedc258
dxgi: Implement DXGID3D10RegisterLayers().
2008-11-14 14:28:34 +01:00
Henri Verbeet
56692e9c5d
dxgi: Add a stub for DXGID3D10RegisterLayers.
2008-11-13 12:04:54 +01:00
Henri Verbeet
926c47940c
dxgi: Add some stubs for IDXGISwapChain.
2008-10-29 13:29:33 +01:00
Henri Verbeet
0cea969608
dxgi: Add some stubs for IDXGIAdapter.
2008-10-29 13:29:33 +01:00
Henri Verbeet
fc17a99ef0
dxgi: Make some functions static.
2008-10-28 12:46:34 +01:00
Henri Verbeet
0f0f2a626b
dxgi: Add a debug function for DXGI_FORMAT.
2008-10-24 14:24:58 +02:00
Henri Verbeet
9e6f21463e
dxgi: Add a stub IDXGIDevice implementation.
2008-10-23 12:10:36 +02:00
Henri Verbeet
9fbd676b27
dxgi: Implement CreateDXGIFactory().
2008-10-22 11:57:30 +02:00
Henri Verbeet
9e376213b3
dxgi: Add a dxgi dll.
2008-10-22 11:56:11 +02:00