Commit Graph

27 Commits

Author SHA1 Message Date
Stefan Riesenberger c795487ab0 d3d10_1: Avoid calling D3D10CreateDevice1() from D3D10CreateDeviceAndSwapChain1().
Signed-off-by: Stefan Riesenberger <stefan.riesenberger@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-26 20:48:37 +01:00
Michael Stefaniuc be12dcf9da d3d10_1/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:38 +02:00
Sebastian Lackner c6251b0deb d3d10_1: Add missing forwards to d3d10.
Spotted by Jarkko Korpi.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:01 +01:00
Józef Kucia 7e72c2d4ac dxgi: Require window when creating swapchain.
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>
2018-01-30 20:42:07 +01:00
Józef Kucia 6141647a52 dxgi: Set BufferUsage in dxgi_swapchain_GetDesc().
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>
2018-01-22 22:26:46 +01:00
Józef Kucia 9e961e1fae dxgi: Update to IDXGISwapChain1.
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>
2018-01-19 19:45:10 +01:00
Józef Kucia e0c7d9039f d3d10_1/tests: Introduce check_interface() helper function.
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>
2018-01-19 19:45:05 +01:00
Alistair Leslie-Hughes 21f46b8fed d3d10_1: Check parameter in ID3D10Device1 CreateShaderResourceView1.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-29 16:56:20 +01:00
Nikolay Sivov 4cffa0e263 dxgi: Added partial implementation of GetDC()/ReleaseDC().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 20:56:46 +09:00
Alistair Leslie-Hughes d94a2c9bb8 d3d10_1/tests: Test for ID3D10InfoQueue interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:49:56 +09:00
Nikolay Sivov a566f6742a d3d10_1/tests: Add a IDXGISurface1 GetDC() test.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:48:37 +09:00
Alistair Leslie-Hughes e7003fd28a d3d10: Add D3D10CreateEffectPoolFromMemory stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-01 20:51:07 +09:00
Matteo Bruni fcc8553d8b d3d10core: Add feature level support.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 21:59:42 +09:00
Józef Kucia f1c58a93af d3d11: Translate WINED3DERR_INVALIDCALL to E_INVALIDARG in d3d_texture{2d, 3d}_init().
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-03-15 22:45:34 +09:00
Matteo Bruni 1e77bb01db d3d11: Implement device_GetFeatureLevel().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-11 20:23:05 +09:00
Józef Kucia 5d7c50dc3c d3d10_1/tests: Port test_create_device() from d3d11.
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-03-08 11:10:47 +09:00
Alistair Leslie-Hughes 93a48fb40e d3d10_1: Implement D3D10CreateDeviceAndSwapChain1().
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
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-03-08 11:10:34 +09:00
Józef Kucia 59193b0c47 d3d10_1: Validate parameters in D3D10CreateDevice1().
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-03-04 20:55:06 +09:00
Józef Kucia 8b0b82a580 d3d/tests: Check that device implements IDXGIDevice1.
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 ef6c1636f3 d3d10_1/tests: Port test_device_interfaces() from d3d11.
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:39 +09:00
Józef Kucia fe0b2e131a d3d10_1/tests: Port test_create_blend_state() from d3d11.
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-21 01:04:34 +09:00
Józef Kucia 22c05cb59f d3d10_1/tests: Port test_create_shader_resource_view() from d3d10core.
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-21 01:04:33 +09:00
Henri Verbeet 8fbdf4bcd9 d3d10_1: Forward stateblock functions to d3d10. 2014-09-03 11:22:13 +02:00
Henri Verbeet 90e662c4e7 d3d10_1: Forward D3D10CreateEffectFromMemory to d3d10. 2014-06-13 10:12:04 +02:00
Alexandre Julliard c5b19d4ad0 d3d10_1: Remove unnecessary DllMain implementation. 2014-05-15 19:04:52 +02:00
Francois Gouget 305ff1287b d3d10_1: Make debug_d3d10_{driver_type,feature_level}() static. 2014-02-26 09:05:54 -06:00
Henri Verbeet d799eb2d83 d3d10_1: Implement D3D10CreateDevice1(). 2014-02-11 19:19:14 +01:00