Commit Graph

48 Commits

Author SHA1 Message Date
Józef Kucia 537bd43ea8 dxgi: Implement IDXGISwapChain_ResizeTarget().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 09:07:56 -05:00
Józef Kucia 8d032351f2 wined3d: Add WINED3D_SWAPCHAIN_ALLOW_MODE_SWITCH flag.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:17 -05:00
Józef Kucia eb039240e5 dxgi: Do not store IDXGIAdapters in IDXGIFactory.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-15 01:14:24 +09:00
Józef Kucia b835a35881 dxgi: Do not store IDXGIOutputs in IDXGIAdapter.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-15 01:14:23 +09:00
Józef Kucia 282afc4450 dxgi: Implement dxgi_swapchain_GetDevice().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 22:22:58 +09:00
Józef Kucia a36ae03c9f dxgi: Return S_OK in dxgi_factory_MakeWindowAssociation() stub.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:29 +09:00
Stefan Dösinger a971d4f2f6 dxgi/tests: Test DXGI_SWAP_EFFECT_FLIP_DISCARD.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:52 +09:00
Józef Kucia 2a1186db19 dxgi: Add locking around remaining wined3d calls. 2015-09-18 14:57:50 +02:00
Józef Kucia 0eefb93535 dxgi: Replace dxgi_cs with wined3d_mutex. 2015-09-18 14:57:46 +02:00
Stefan Dösinger f805fb11f6 dxgi/tests: Test presentation parameter combinations. 2015-08-28 19:52:45 +09:00
Henri Verbeet fbc8f59629 dxgi: Introduce a helper function to convert dxgi multisample info to wined3d. 2015-08-06 23:36:01 +09:00
Henri Verbeet eb27944e78 dxgi: Initialize auto_restore_display_mode in dxgi_factory_CreateSwapChain() (Valgrind). 2015-04-30 16:17:46 +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
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
Stefan Dösinger 938529e1f9 wined3d: Remove the version parameter. 2014-03-20 19:04:37 +01:00
Henri Verbeet a13a546573 dxgi: Implement CreateDXGIFactory1(). 2014-02-11 19:19:14 +01:00
Henri Verbeet 3d28b01916 dxgi: Implement IDXGIFactory1. 2014-01-28 10:53:50 +01:00
Henri Verbeet e9f9c15016 dxgi: Store IWineDXGIAdapter pointers in the factory. 2014-01-28 10:53:46 +01: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
Henri Verbeet 8fd7d3a2b3 wined3d: Just return the swapchain from wined3d_device_get_swapchain(). 2012-09-05 11:48:04 +02:00
Henri Verbeet 9267148705 wined3d: The wined3d object doesn't need a parent. 2012-05-03 11:18:00 +02: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 94c9b0b4fc wined3d: Get rid of the WINED3DPRESENT_PARAMETERS typedef. 2011-12-02 11:51:29 +01:00
Henri Verbeet c461d312ba wined3d: Request per-surface palettes in the client libs. 2011-06-24 08:49:48 -05:00
Michael Stefaniuc a26925d38f dxgi: COM cleanup for the IWineDXGIFactory iface. 2011-06-07 14:18:33 +02:00
Henri Verbeet 8d4ca1f815 wined3d: Remove COM from the device implementation. 2011-05-17 10:06:18 +02:00
Henri Verbeet 3ec19590d5 wined3d: Remove COM from the swapchain implementation. 2011-04-14 17:13:57 +02:00
Henri Verbeet 36d4268e3c wined3d: Remove COM from IWineD3D. 2011-02-02 12:22:42 +01:00
Rico Schüller 4a3da6e190 dxgi: Fix IWineD3DSwapChain_GetParent() call. 2010-09-27 14:10:43 +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 9e886423e7 dxgi: Add a separate function for factory initialization. 2009-12-30 13:31:42 +01:00
Henri Verbeet 3543e3d8cc dxgi: Implement IDXGIFactory::GetParent(). 2009-12-03 12:08:51 +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 eda929d010 dxgi: Create a wined3d swapchain. 2009-02-24 16:57:29 +01:00
Michael Stefaniuc f93b29b04d dxgi: Remove superfluous pointer casts. 2009-01-12 13:06:50 +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 479e3672c4 dxgi: Add a IWineD3D field to dxgi_factory. 2008-11-17 14:38:24 +01:00
Henri Verbeet 926c47940c dxgi: Add some stubs for IDXGISwapChain. 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 9fbd676b27 dxgi: Implement CreateDXGIFactory(). 2008-10-22 11:57:30 +02:00