Commit Graph

55 Commits

Author SHA1 Message Date
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