Commit Graph

210 Commits

Author SHA1 Message Date
Henri Verbeet 3beaf224ea dxgi: Implement dxgi_swapchain_GetPrivateData(). 2015-02-18 23:21:11 +09:00
Henri Verbeet e37272ee86 dxgi: Implement dxgi_swapchain_SetPrivateDataInterface(). 2015-02-17 18:42:24 +09:00
Henri Verbeet 59ffc7bc8d dxgi: Implement dxgi_swapchain_SetPrivateData(). 2015-02-17 18:42:22 +09:00
Henri Verbeet 9bdc153313 dxgi: Implement dxgi_surface_GetPrivateData(). 2015-02-17 18:42:20 +09:00
Henri Verbeet 1c9016c703 dxgi: Implement dxgi_surface_SetPrivateDataInterface(). 2015-02-17 18:42:17 +09:00
Henri Verbeet 64b23f6ca7 dxgi: Implement dxgi_surface_SetPrivateData(). 2015-02-17 18:42:15 +09:00
Henri Verbeet 3fe5d9b6d2 dxgi: Implement dxgi_output_GetPrivateData(). 2015-02-16 20:31:06 +09:00
Henri Verbeet c8221e293e dxgi: Implement dxgi_output_SetPrivateDataInterface(). 2015-02-16 20:31:04 +09:00
Henri Verbeet 7e2423e16a dxgi: Implement dxgi_output_SetPrivateData(). 2015-02-16 20:31:01 +09:00
Henri Verbeet 00daa8bc64 dxgi: Implement dxgi_factory_GetPrivateData(). 2015-02-16 20:30:59 +09:00
Henri Verbeet b315932010 dxgi: Implement dxgi_factory_SetPrivateDataInterface(). 2015-02-16 20:30:37 +09:00
Henri Verbeet 49ad383e89 dxgi: Implement dxgi_factory_SetPrivateData(). 2015-02-13 18:53:26 +09:00
Henri Verbeet 70b2fd3a32 dxgi: Implement dxgi_adapter_GetPrivateData(). 2015-02-13 18:53:24 +09:00
Henri Verbeet 141b024eb0 dxgi: Implement dxgi_adapter_SetPrivateDataInterface(). 2015-02-13 18:53:22 +09:00
Henri Verbeet 9dfd95c6cf dxgi: Implement dxgi_adapter_SetPrivateData(). 2015-02-13 18:53:20 +09:00
Henri Verbeet 2d18cf57ac dxgi: Implement dxgi_device_GetPrivateData(). 2015-02-12 22:12:20 +09:00
Henri Verbeet 2190f0266f dxgi: Implement dxgi_device_SetPrivateDataInterface(). 2015-02-12 22:12:18 +09:00
Henri Verbeet 4e93a02aaf dxgi: Implement dxgi_device_SetPrivateData(). 2015-02-12 22:12:16 +09:00
Matteo Bruni 5883c9ece3 dxgi: Fix a comment typo. 2015-01-20 16:08:52 +01:00
Marcus Meissner fec49d1182 dxgi: Added missing unlock (Coverity). 2014-09-23 13:01:47 +02:00
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