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