1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00
Commit graph

85 commits

Author SHA1 Message Date
Nikolay Sivov
e91243a94e d3dx10/tests: Remove todo's from now passing tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-14 18:41:42 +01:00
Alexandre Julliard
acad49573a makefiles: Always use the global SOURCES variable for .c files. 2023-11-01 22:44:03 +01:00
Alexandre Julliard
8bec6d399f d3dx10/tests: Use nameless unions/structs. 2023-08-15 18:56:45 +02:00
Jeff Smith
11516e7cee d3dx10_43/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-08 11:57:23 +09:00
Zebediah Figura
9e9f3703b2 d3dx10: Map DXGI_FORMAT_R16_UNORM to DXGI_FORMAT_R16G16B16A16_UNORM in get_d3dx10_dds_format(). 2023-04-07 13:18:26 +02:00
Zebediah Figura
2d9b61d039 windowscodecs: Map GUID_WICPixelFormat32bppRGBA1010102 to DXGI_FORMAT_R10G10B10A2_UNORM as well. 2023-04-07 13:18:26 +02:00
Zebediah Figura
2666d020de d3dx10/tests: Port some additional D3DX10GetImageInfoFromMemory() tests from d3dx11. 2023-04-07 13:18:24 +02:00
Ziqing Hui
5412401a31 d3dx10/tests: Test block compressed texture data which has more than one block line. 2022-09-01 17:44:48 +02:00
Ziqing Hui
3fdc28c7f8 d3dx10: Return E_FAIL in D3DX10CreateEffectFromFile for NULL file name. 2022-08-31 22:22:21 +02:00
Ziqing Hui
d4ae51e226 d3dx10: Support effect creation for compiled shader. 2022-08-31 22:22:21 +02:00
Ziqing Hui
7e8bd13188 d3dx10: Introduce create_effect(). 2022-08-31 22:22:21 +02:00
Ziqing Hui
f40e707159 d3dx10/tests: Add tests for D3DX10CreateEffectFromResource. 2022-08-31 22:22:21 +02:00
Ziqing Hui
6b9ba3e2bf d3dx10/tests: Add tests for D3DX10CreateEffectFromFile. 2022-08-31 22:22:21 +02:00
Ziqing Hui
c6d46ff3f4 d3dx10/tests: Add tests for D3DX10CreateEffectFromMemory.
Passing NULL profile to effect creation will crash wine for now.
So we have to skip these tests in wine.
2022-08-31 22:22:19 +02:00
Matteo Bruni
b996a96981 d3dx10/tests: Add a test for D3DX10PreprocessShaderFromMemory(). 2022-08-30 21:38:39 +02:00
Piotr Caban
6fc4b80e5d d3dx10/tests: Improve cube textures data testing. 2022-08-30 21:38:39 +02:00
Piotr Caban
13801e63c9 d3dx10: Add support for loading MipLevels data in load_texture_data. 2022-08-30 21:38:39 +02:00
Piotr Caban
3265019d7c d3dx10: Add support for texture cubes in D3DX10CreateTexture functions. 2022-08-30 21:38:39 +02:00
Piotr Caban
a304924c61 d3dx10/tests: Add D3DX10CreateThreadPump tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-07-04 18:04:03 +02:00
Piotr Caban
87e5508469 d3dx10/tests: Fix texture leak in check_resource_data.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-07-04 17:48:00 +02:00
Eric Pouech
07be1c30e5 d3dx10/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-07-04 17:47:58 +02:00
Matteo Bruni
89110d1e4c d3dx10/tests: Add a couple D3DX10CreateAsyncTextureInfoProcessor() parameter tests.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-07-04 17:47:58 +02:00
Piotr Caban
1b46752126 d3dx10/tests: Add D3DX10CreateTextureFromMemory thread pump tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-17 20:38:19 +02:00
Piotr Caban
2e2377df21 d3dx10/tests: Add D3DX10CreateAsyncTextureProcessor tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-15 21:45:03 +02:00
Piotr Caban
802cbe14f9 d3dx10/tests: Add D3DX10CreateTextureFromMemory HRESULT argument tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-15 21:45:02 +02:00
Piotr Caban
56debb4918 d3dx10: Don't ignore HRESULT parameter in D3DX10CreateTextureFromMemory.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-15 21:45:02 +02:00
Matteo Bruni
35939bbe0c d3dx10/tests: Add a test for loading an invalid resource from a valid module.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-06-10 23:23:05 +02:00
Matteo Bruni
caa402ab91 d3dx10/tests: Initialize a function argument.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
4cbf8890dc d3dx10/tests: Add D3DX10GetImageInfoFromMemory thread pump tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
0d6b9b83eb d3dx10/tests: Add D3DX10GetImageInfoFromMemory HRESULT argument tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
47847a2064 d3dx10/tests: Add D3DX10CreateAsyncTextureInfoProcessor tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-07 08:54:50 +02:00
Sven Baars
07cb8ef5d0 d3dx10/tests: Disable a PreloadGlyphs test for d3dx10_34.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51827
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:38:14 +02:00
Alexandre Julliard
f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Fabian Maurer
cede46942e d3dx10_43/tests: Avoid "misleading indentation" warnings.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-26 21:53:43 +01:00
Nikolay Sivov
1c7323b192 d3dx10/tests: Remove crashing tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51827
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-10 22:00:18 +01:00
Ziqing Hui
94f8a077bb d3dx10: Implement D3DX10CreateTextureFromResource{A,W}.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 22:02:54 +01:00
Ziqing Hui
81bc256685 d3dx10: Implement D3DX10CreateTextureFromFile{A,W}.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 22:02:54 +01:00
Ziqing Hui
1a35f589c3 d3dx10/tests: Add tests for D3DX10CreateTextureFromResource{A, W}.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:35:45 +02:00
Ziqing Hui
133fa91a81 d3dx10/tests: Add tests for D3DX10CreateTextureFromFile{A, W}.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:35:43 +02:00
Matteo Bruni
ba149e1296 d3dx10/tests: Only accept D3DX10_IFF_WMP tests failure on Windows.
Since eb0180e7b4 we're guaranteed to
have support for the format in Wine.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:35:38 +02:00
Nikolay Sivov
737da3eb1c d3dx10: Partially implement D3DX10CreateEffectFromResource().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 17:27:33 +02:00
Nikolay Sivov
66d7ba2d8c d3dx10/sprite: Store projection matrix.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-02 21:57:39 +02:00
Nikolay Sivov
c09f114319 d3dx10/font: Add PreloadCharacters().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-02 21:57:39 +02:00
Nikolay Sivov
abbab131b8 d3dx10/font: Add PreloadTextW().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-02 21:57:39 +02:00
Nikolay Sivov
107562fdbf d3dx10/font: Implement GetTextMetrics().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 15:50:40 +02:00
Nikolay Sivov
5e0577c2b8 d3dx10/font: Create gdi objects on font object creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 15:50:38 +02:00
Nikolay Sivov
6c2fad576b d3dx10/font: Store font description data.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 15:50:35 +02:00
Nikolay Sivov
8b6be4426a d3dx10/tests: Add some tests for sprite object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-25 21:06:23 +02:00
Nikolay Sivov
7d60044e18 d3dx10_43/tests: Test all attributes of glyph textures.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 21:59:52 +02:00
Nikolay Sivov
c40896d269 d3dx10/tests: Add some tests for font object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-17 19:24:22 +02:00