Commit Graph

210 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 7402e8116c dxgi: Trace requested feature levels.
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-22 21:19:36 +09:00
Henri Verbeet c21b51ad71 dxgi: Use the correct resource type in dxgi_device_CreateSurface().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 14:56:11 +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 25ad11cef7 dxgi: Store IDXGIAdapter 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 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 944190bad4 dxgi: Partially implement dxgi_swapchain_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-12 22:23:09 +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
Henri Verbeet 73da1b951d dxgi: Simplify the shader model comparison in dxgi_check_feature_level_support().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 11:50:55 +09:00
Henri Verbeet 240912c59b wined3d: Ignore the dirty region for swapchain presents more explicitly.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-18 12:20:49 +09:00
Matteo Bruni ffce30bc31 dxgi: 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-11 20:23:02 +09:00
Józef Kucia 71e35c46b0 dxgi: Add recently introduced wined3d formats.
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:54:52 +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
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
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 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