Commit Graph

237 Commits

Author SHA1 Message Date
Henri Verbeet af196e5f25 dxgi: Implement dxgi_output_GetDesc().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 13:21:47 +09:00
Józef Kucia 718d35dcd6 dxgi/tests: Add test for maximum frame latency.
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>
2015-10-26 23:03:37 +09:00
Józef Kucia 6c9ff7df24 dxgi: Implement IDXGIDevice1 interface.
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>
2015-10-26 23:03:36 +09:00
Józef Kucia 6a508f26d1 dxgi/tests: Remove test_device_interfaces().
This test duplicates test_device_interfaces() in d3d10/tests.

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>
2015-10-22 17:32:42 +09:00
Józef Kucia e79bf35933 dxgi: Make dxgi_swapchain_SetFullscreenState() hotpatchable.
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>
2015-10-20 00:30:39 +09:00
Józef Kucia ce63546e02 dxgi/tests: Add test for IDXGIAdapter::CheckInterfaceSupport().
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>
2015-10-13 23:35:23 +09:00
Józef Kucia 895c5f8234 dxgi: Partially implement dxgi_adapter_CheckInterfaceSupport().
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>
2015-10-13 23:35:22 +09:00
Austin English 4114e04815 dxgi: Upgrade Direct3D 10 WARN to a FIXME. 2015-09-18 14:57:54 +02: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
Józef Kucia ef3afcf649 dxgi/tests: Remove leftover debug comment. 2015-09-14 22:31:07 +09:00
Józef Kucia 7d9049c2df dxgi/tests: Add missing DestroyWindow() call in test_createswapchain(). 2015-09-14 22:31:06 +09:00
Józef Kucia cee4d0bb91 dxgi/tests: Check that DXGI surface implements ID3D11Texture2D. 2015-09-14 22:31:03 +09:00
Stefan Dösinger 2936e4ac54 wined3d: Remove wined3d_backbuffer_type. 2015-09-08 21:59:16 +09:00
Stefan Dösinger fa0041954f wined3d: Return a texture from the swapchain resource creation callback. 2015-09-04 20:01:05 +09:00
Stefan Dösinger f010e5d88a wined3d: Return a texture from wined3d_swapchain_get_back_buffer. 2015-09-03 21:11:07 +09:00
Stefan Dösinger d344ebc98c dxgi/tests: Remove debug comments. 2015-08-31 20:13:33 +09:00
Stefan Dösinger f805fb11f6 dxgi/tests: Test presentation parameter combinations. 2015-08-28 19:52:45 +09:00
Stefan Dösinger 142bcb5d3c dxgi/tests: We don't need a custom window class. 2015-08-28 19:52:27 +09:00
Józef Kucia a9cb14dd71 d3d11: Move d3d10core to d3d11. 2015-08-21 21:49:43 +09:00
Józef Kucia 2d13e0f10c d3d11: Add ID3D11Device stub interface. 2015-08-21 21:48:31 +09:00
Józef Kucia 9e8b58ee18 dxgi: Remove 'stub!' from TRACE message in dxgi_swapchain_ResizeBuffers(). 2015-08-18 18:34:49 +09:00
Henri Verbeet fca2d19423 dxgi: Implement dxgi_swapchain_ResizeBuffers(). 2015-08-07 23:44:19 +09:00
Henri Verbeet 4a843f2826 dxgi: Implement dxgi_surface_GetDesc() on top of wined3d. 2015-08-06 23:36:01 +09:00
Henri Verbeet d29f263c79 dxgi: Introduce a helper function to convert wined3d multisample info to dxgi. 2015-08-06 23:36:01 +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 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