Henri Verbeet
810977446a
dxgi: Call wined3d_device_init_3d() on device creation.
2014-09-15 12:12:51 +02:00
Henri Verbeet
72aaaac486
dxgi: Get rid of IWineDXGIFactory.
2014-09-15 12:12:43 +02:00
Henri Verbeet
22abd896fa
dxgi: Get rid of IWineDXGIAdapter.
2014-09-15 12:12:41 +02:00
Henri Verbeet
d3c6d3425f
dxgi: Only use a single newline in the dxgi_factory_MakeWindowAssociation() FIXME.
2014-07-22 12:37:39 +02:00
Henri Verbeet
d17bd8d821
dxgi: Implement dxgi_surface_GetDesc().
2014-07-22 12:37:26 +02:00
Stefan Dösinger
7983d9974b
dxgi/tests: Add private data tests.
2014-04-08 19:23:23 +02:00
Stefan Dösinger
938529e1f9
wined3d: Remove the version parameter.
2014-03-20 19:04:37 +01:00
Henri Verbeet
387f65baf8
d3d10core: Implement d3d10_texture2d_GetDevice().
2014-02-13 17:52:13 +01:00
Henri Verbeet
28510c73c2
d3d10core: Implement ID3D10Multithread.
2014-02-12 19:15:19 +01:00
Henri Verbeet
409c872c99
d3d10core: Implement ID3D10Device1.
2014-02-11 19:19:14 +01:00
Henri Verbeet
2be432b4df
dxgi/tests: Also test for ID3D10Device1 and ID3D11Device in test_device_interfaces().
2014-02-11 19:19:14 +01:00
Henri Verbeet
e806b5bab9
dxgi/tests: Add tests for CreateDXGIFactory().
2014-02-11 19:19:14 +01:00
Henri Verbeet
a13a546573
dxgi: Implement CreateDXGIFactory1().
2014-02-11 19:19:14 +01:00
Henri Verbeet
852c61c595
dxgi: Properly check if the output array is large enough in dxgi_output_GetDisplayModeList().
2014-02-10 11:16:29 +01:00
Henri Verbeet
d9570c3935
dxgi: Return DXGI_ERROR_INVALID_CALL when given a NULL mode_count in dxgi_output_GetDisplayModeList().
2014-02-10 11:16:28 +01:00
Henri Verbeet
4d7bd4ce4a
dxgi/tests: Don't reuse the device.
2014-02-10 11:16:25 +01:00
Henri Verbeet
f97d599eb2
dxgi/tests: Use D3D10CreateDevice() to create a device.
...
At some point DXGID3D10CreateDevice() started always returning
E_NOTIMPL. My guess would be that that was with the introduction of
d3d11.
2014-02-10 11:16:21 +01:00
Henri Verbeet
19f2044375
dxgi/tests: Cleanup test_output().
...
In particular, actually test the return codes for most calls.
2014-02-10 11:15:52 +01:00
Henri Verbeet
3d28b01916
dxgi: Implement IDXGIFactory1.
2014-01-28 10:53:50 +01:00
Henri Verbeet
ac84e9b726
dxgi: Implement IDXGIAdapter1.
2014-01-28 10:53:48 +01:00
Henri Verbeet
e9f9c15016
dxgi: Store IWineDXGIAdapter pointers in the factory.
2014-01-28 10:53:46 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Alexandre Julliard
5e7416e5c8
makefiles: Get rid of the MAKE_DLL_RULES variable.
2014-01-02 12:08:18 +01:00
Michael Stefaniuc
22af120a7a
dxgi/tests: Compile with -D__WINESRC__.
2013-10-16 11:41:21 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Henri Verbeet
19f028ce6d
dxgi: Avoid LPVOID.
2013-09-16 12:51:13 +02:00
Henri Verbeet
e032d013d7
dxgi: Avoid LPCSTR.
2013-09-16 12:51:13 +02:00
Henri Verbeet
13a38e8d5e
wined3d: Pass a wined3d_resource_desc structure to device_parent_create_swapchain_surface().
2013-06-04 10:14:28 +02:00
Alexandre Julliard
575d0e6014
dxgi: Don't bother to free memory at process exit.
2013-05-15 10:18:37 +02:00
Henri Verbeet
31e8976910
wined3d: Get rid of the surface_type parameter to wined3d_swapchain_create().
2013-01-16 12:22:57 +01:00
Henri Verbeet
adddf10cd8
wined3d: wined3d_swapchain_get_desc() never fails.
2012-10-04 14:09:55 +02:00
Henri Verbeet
5fcc1f8f70
wined3d: Just return the surface from wined3d_swapchain_get_back_buffer().
2012-10-04 14:09:50 +02:00
Henri Verbeet
2ad5808996
wined3d: wined3d_device_get_creation_parameters() never fails.
2012-10-01 23:07:55 +02:00
Ričardas Barkauskas
a2534f9b6d
dxgi/tests: Test IDXGISwapChain_CreateSwapchain and IDXGISwapChain_GetDesc a bit.
2012-09-27 13:12:27 +02:00
Ričardas Barkauskas
342ce213e6
dxgi: Avoid division by zero.
...
Based on patch by Eduard - Gabriel Munteanu.
2012-09-25 11:20:17 +02:00
Ričardas Barkauskas
d9ce33bfb0
dxgi: Partially implement IDXGISwapChain_GetDesc.
2012-09-25 11:20:10 +02:00
Henri Verbeet
8fd7d3a2b3
wined3d: Just return the swapchain from wined3d_device_get_swapchain().
2012-09-05 11:48:04 +02:00
Jacek Caban
434b696c46
Fixed remaining wrong iface call helpers.
2012-08-28 14:41:12 +02:00
Henri Verbeet
2b4c72b13b
d3d10core: Always create a wined3d texture for d3d10core textures.
2012-07-12 11:45:21 -05:00
Henri Verbeet
0821c8024b
wined3d: Merge the device parent create_rendertarget() and create_depth_stencil() handlers.
2012-07-11 09:57:07 -05:00
Henri Verbeet
e97dc9f33d
d3d9: Implement d3d9_EnumAdapterModesEx().
2012-07-02 19:17:59 +02:00
Henri Verbeet
8d4e3d0d58
d3d9: Implement d3d9_GetAdapterModeCountEx().
2012-06-29 10:14:29 +02:00
Henri Verbeet
a1bfd0988f
wined3d: Take scanline ordering into account in the mode setting code.
2012-06-28 01:39:26 +02:00
Henri Verbeet
9267148705
wined3d: The wined3d object doesn't need a parent.
2012-05-03 11:18:00 +02:00
Henri Verbeet
5d358a2bac
dxgi: COM cleanup for the surface IUnknown interface.
2012-04-20 11:57:55 +02:00
Henri Verbeet
719eeea2ae
dxgi: Don't return a pointer to the implementation in dxgi_surface_inner_QueryInterface().
2012-04-06 20:11:26 +02:00
Henri Verbeet
3769afa33d
wined3d: Get rid of the WINED3DSURFTYPE typedef.
2012-01-20 13:31:33 +01:00
Henri Verbeet
e53a277305
wined3d: Get rid of the WINED3DPOOL typedef.
2012-01-18 12:37:38 +01:00
Henri Verbeet
a44b062aed
wined3d: Get rid of the WINED3DCUBEMAP_FACES typedef.
2012-01-13 17:34:31 +01:00
Henri Verbeet
9a8491045e
wined3d: Get rid of the WINED3DMULTISAMPLE_TYPE typedef.
2012-01-09 12:22:17 +01:00
Henri Verbeet
3d33887c2f
wined3d: Get rid of the WINED3DSWAPEFFECT typedef.
2012-01-06 19:24:22 +01:00
Henri Verbeet
45f6def784
wined3d: Get rid of the WINED3DBACKBUFFER_TYPE typedef.
2012-01-06 19:24:21 +01:00
Henri Verbeet
67bca436ee
wined3d: Get rid of the WINED3DDEVTYPE typedef.
2011-12-13 18:58:58 +01:00
Henri Verbeet
94c9b0b4fc
wined3d: Get rid of the WINED3DPRESENT_PARAMETERS typedef.
2011-12-02 11:51:29 +01:00
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