Commit Graph

59 Commits

Author SHA1 Message Date
Michael Stefaniuc 389c86c8c1 dxgi/tests: Use wine_dbgstr_rect() to print RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 22:04:46 +09:00
Józef Kucia cbf0a1b59a dxgi: Implement dxgi_swapchain_GetParent().
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 5cd719b867 dxgi: Do not store IDXGIFactory in IDXGIDevice.
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 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 02e5560d99 dxgi/tests: Add test for IDXGISwapChain_GetContainingOutput().
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-13 23:01:06 +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 d7b8c2e8f6 dxgi/tests: Add test for IDXGISwapChain_GetParent().
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:55 +09:00
Józef Kucia 6061d909ad dxgi/tests: Add tests for reference counting.
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:52 +09:00
Nikolay Sivov b537beb60f dxgi: Update to IDXGISurface1.
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-03-29 19:32:22 +09:00
Frédéric Delanoy d00254842b dxgi/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 01:50:12 +09:00
Francois Gouget 413c6f60cf Assorted spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 12:59:52 +09:00
Stefan Dösinger 8492b19395 dxgi/tests: Windows 10 properly makes buffers read only.
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
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
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 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 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 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 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 2d13e0f10c d3d11: Add ID3D11Device stub interface. 2015-08-21 21:48:31 +09:00
Henri Verbeet fca2d19423 dxgi: Implement dxgi_swapchain_ResizeBuffers(). 2015-08-07 23:44:19 +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
Stefan Dösinger 7983d9974b dxgi/tests: Add private data tests. 2014-04-08 19:23:23 +02: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 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 ac84e9b726 dxgi: Implement IDXGIAdapter1. 2014-01-28 10:53:48 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +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
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 b59b68b86d dxgi: Fix GetDisplayModeList parameter handling. 2011-05-18 17:07:22 +02: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
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
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