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
f99a548148
dxgi: Update to IDXGIFactory2.
...
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:07 +01:00
Józef Kucia
b2192ea19a
dxgi/tests: Add test for creating IDXGIFactory2.
...
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:03 +01:00
Józef Kucia
e8aaad290a
dxgi/tests: Skip tests if DXGI_ERROR_NOT_CURRENTLY_AVAILABLE is returned.
...
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-09 20:32:14 +01:00
Józef Kucia
d3a67bc334
dxgi: Return iface instead of object pointer.
...
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>
2017-04-28 15:01:39 +02:00
Józef Kucia
cb7c0b72bb
dxgi: Fix HMODULE leak in register_d3d10core_layers().
...
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>
2017-04-28 15:01:39 +02:00
Nikolay Sivov
cb2b733b5a
dxgi: Fix naming in error traces.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-27 09:56:29 +01:00
Nikolay Sivov
1a7ddf8dd9
dxgi: Added support for DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 13:16:57 +01:00
Nikolay Sivov
0b4ca25198
dxgi/tests: Basic test for DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 17:00:09 +01:00
Nikolay Sivov
1502436ea7
dxgi/tests: Switch to D3D10.1.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 17:00:08 +01:00
Alistair Leslie-Hughes
a55cf3586d
dxgi: Silence a noisy fixme.
...
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>
2017-02-08 17:00:08 +01:00
Huw Davies
083b35e7c7
dxgi/tests: Fix test failure on Windows 7.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-12 20:03:23 +01:00
Francois Gouget
0ed0e6785d
dxgi: Make wined3d_scanline_ordering_from_dxgi() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 20:49:10 +01:00
Francois Gouget
442bbe921c
dxgi/tests: Some spelling fixes in ok() messages.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 20:49:10 +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
Nikolay Sivov
16a2095556
dxgi: Use texture pointer instead of resource pointer for DXGI surface.
...
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-01 21:21:35 +09:00
Józef Kucia
a1b0752585
dxgi: Release target output when releasing swapchain.
...
It should never happen because applications are required to call
SetFullscreenState() to exit fullscreen mode before releasing the
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>
2016-08-29 23:54:41 +09:00
Józef Kucia
7c5f60f2d8
dxgi: Update swapchain fullscreen state when state change is successful.
...
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-29 23:54:40 +09:00
Józef Kucia
bd10362667
wined3d: Optionally use closest matching mode in wined3d_swapchain_resize_target().
...
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-26 23:23:36 +09:00
Józef Kucia
f94ef02dbc
dxgi: Enable WINED3D_SWAPCHAIN_USE_CLOSEST_MATCHING_MODE.
...
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-26 23:23:36 +09:00
Józef Kucia
09a4957401
dxgi/tests: Add test for IDXGIOutput_FindClosestMatchingMode().
...
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-26 23:23:35 +09:00
Józef Kucia
8d89d0ec1e
dxgi: Implement dxgi_output_FindClosestMatchingMode().
...
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-26 23:23:34 +09:00
Józef Kucia
9381ad89fb
dxgi: Introduce helper functions for converting wined3d_display_mode.
...
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-26 23:23:33 +09:00
Józef Kucia
87891518b7
dxgi/tests: Add test for switching display mode to inexact resolution.
...
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-26 23:23:33 +09:00
Józef Kucia
ce4e01387e
dxgi/tests: Extend test for 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>
2016-08-26 23:23:32 +09:00
Józef Kucia
20b39d41e1
dxgi/tests: Check fullscreen state in test_create_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>
2016-08-17 11:52:51 +09:00
Józef Kucia
0d92a9a7a4
dxgi: Properly switch to fullscreen mode when creating fullscreen swapchains.
...
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-17 11:52:49 +09:00
Józef Kucia
2c67e1c9c3
dxgi/tests: Also test IDXGISwapChain_ResizeTarget() in fullscreen with disabled mode switch.
...
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-17 11:52:47 +09:00
Józef Kucia
4323924b2d
wined3d: Add few missing 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-08-12 12:31:09 +09:00
Józef Kucia
37661a3bd1
dxgi/tests: Add test for 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:59 -05:00
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
709ca356cd
dxgi/tests: Add test for default fullscreen target output.
...
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:18 -05:00
Józef Kucia
47430b9264
dxgi/tests: Add multi-monitor 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-08-03 09:56:18 -05:00
Józef Kucia
476cbd2f8a
dxgi/tests: Add test for IDXGISwapChain_SetFullscreenState().
...
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:18 -05:00
Józef Kucia
587a4d9810
dxgi/tests: Add tests for IDXGISwapChain_GetFullscreenState() to test_create_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>
2016-08-03 09:56:18 -05:00
Józef Kucia
8b646aef63
dxgi: Return swapchain target output when available in 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-08-03 09:56:18 -05:00
Józef Kucia
005a6c6396
dxgi: Switch display mode when creating fullscreen swapchains.
...
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:18 -05:00
Józef Kucia
bbc2d604ce
dxgi: Implement dxgi_swapchain_SetFullscreenState().
...
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:18 -05:00
Józef Kucia
f586cc98a0
dxgi: Implement dxgi_swapchain_GetFullscreenState().
...
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
2f5850c56a
wined3d: Add WINED3D_SWAPCHAIN_RESTORE_WINDOW_RECT 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
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
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
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