Alex Henrie
4dd6408e89
d3dx9_36/tests: Add missing call to ID3DXSprite_End.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-07 16:19:23 +01:00
Sven Baars
9eda5c0430
d3dx9: Don't release textures when D3DXSPRITE_DO_NOT_ADDREF_TEXTURE is specified.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-18 20:28:05 +01:00
Sven Baars
d511853d45
d3dx9: Handle horizontal alignment in ID3DXFont_DrawText.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 20:58:15 +02:00
Sven Baars
fd9808b45a
d3dx9: Handle vertical alignment in ID3DXFont_DrawText.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 20:58:12 +02:00
Sven Baars
787d98f47c
d3dx9: Add two more DT_SINGLELINE tests.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-24 19:43:38 +01:00
Sven Baars
143a2a30f8
d3dx9: Handle DT_CALCRECT in ID3DXFont_DrawText.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-13 20:09:31 +01:00
Sven Baars
333687f522
d3dx9: Handle DT_SINGLELINE in ID3DXFont_DrawText.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-13 20:09:31 +01:00
Sven Baars
e6a1116c2a
d3dx9: Handle word breaks in ID3DXFont_DrawText.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:52:11 +01:00
Sven Baars
6da3e904a1
d3dx9: Handle clipping in ID3DXFont_DrawText.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:52:08 +01:00
Sven Baars
330c3f9108
d3dx9: Handle newlines in ID3DXFont_DrawText.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:52:05 +01:00
Sven Baars
316a8d0ae1
d3dx9: Add a very basic ID3DXFont_DrawText implementation.
...
Based on a patch by Tony Wasserka.
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-04 18:53:58 +01:00
Sven Baars
cc03400e32
d3dx9: Implement ID3DXFont_PreloadText.
...
Based on a patch by Tony Wasserka.
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-04 18:53:55 +01:00
Sven Baars
e9ea8a05e5
d3dx9: Implement ID3DXFont_GetGlyphData.
...
Based on a patch by Tony Wasserka.
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Sven Baars
ac56874637
d3dx9: Implement ID3DXFont_PreloadGlyphs.
...
Based on a patch by Tony Wasserka.
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Sven Baars
e0ce80561b
d3dx9/tests: Add more ID3DXFont_DrawTextW tests.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 23:43:18 +01:00
Sven Baars
ef889fe654
d3dx9/tests: Add some more ID3DXFont tests.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:40:41 +01:00
Alistair Leslie-Hughes
db7539f9f3
d3dx9/tests: Add some tests for ID3DXFont_DrawText().
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:40:39 +01:00
Sven Baars
da62db437a
d3dx9/tests: Get rid of redundant handling for D3DXCreateFontA() failures.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:40:35 +01:00
Sven Baars
2465220a0c
d3dx9/tests: Use Tahoma in all font tests.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:40:33 +01:00
Michael Stefaniuc
90a3911355
d3dx9/tests: Use SetRectEmpty() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-07 18:07:56 +01:00
Kieran Duggan
36ad988da8
d3dx9/tests: Add initial tests for ID3DXFont::DrawText().
...
Signed-off-by: Kieran Duggan <kieranduggan15@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-21 11:18:25 +02:00
Michael Stefaniuc
1a5339346f
d3dx9/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 23:49:56 +02:00
Andrey Gusev
37cbe0b882
d3dx9: Fix a typo.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 14:48:25 +09:00
Andrey Gusev
d3177504b1
Assorted spelling and typos fixes.
2015-08-31 20:18:46 +09:00
Michael Stefaniuc
ceef3a844a
d3dx9_36/tests: Actually test retrieve_device_state calls (PVS-Studio).
2015-01-13 19:54:03 +01:00
Alistair Leslie-Hughes
e5d7982c4d
d3dx9: Make ID3DXFont_PreloadCharacters return S_OK.
2014-12-12 11:07:26 +01:00
Stefan Dösinger
f85f733c79
d3dx9_36/tests: Use a window with a non-zero size.
2014-01-16 21:04:19 +01:00
Henri Verbeet
3e5dd54971
d3dx9/tests: Use explicit A calls.
2013-10-31 09:58:44 +01:00
Francois Gouget
7b2d297d3e
d3dx9_36/tests: Use software vertex processing so the tests can run on Intel GM950 graphics cards.
2012-12-14 17:37:43 +01:00
Józef Kucia
dcc09efe80
d3dx9/tests: Add cube texture tests for ID3DXRenderToEnvMap.
2012-08-13 17:28:12 +02:00
Józef Kucia
5a99be321b
d3dx9/tests: Add basic tests for ID3DXRenderToEnvMap.
2012-08-13 17:28:09 +02:00
Józef Kucia
c51bf7b082
d3dx9/tests: Clean up device state after tests.
2012-08-13 17:27:54 +02:00
Józef Kucia
720dfb9b95
d3dx9/tests: Add tests for ID3DXFont::GetGlyphData.
2012-06-19 11:12:17 +02:00
Józef Kucia
4f68916600
d3dx9/tests: Add tests for ID3DXFont::PreloadText.
2012-06-19 11:12:11 +02:00
Francois Gouget
bebcce32b0
d3dx9_36/tests: Make a couple of test functions static.
2012-06-12 11:11:36 +02:00
Józef Kucia
cda4738f52
d3dx9/tests: Improve test failure messages for check_{ref, release}.
2012-06-11 12:37:30 +02:00
Józef Kucia
35c13b0879
d3dx9: Add ID3DXRenderToEnvMap interface stub.
2012-06-11 12:37:22 +02:00
Józef Kucia
f072404f61
d3dx9/tests: Add tests for D3DXCreateRenderToEnvMap.
2012-06-11 12:37:16 +02:00
Józef Kucia
cda45bca92
d3dx9/tests: Add tests for device state changes for ID3DXRenderToSurface interface.
2012-06-07 21:42:49 +02:00
Józef Kucia
bccda19e8f
d3dx9/tests: Add tests for ID3DXRenderToSurface interface.
2012-06-07 21:42:43 +02:00
Józef Kucia
de1f2ffd52
d3dx9: Implement ID3DXRenderToSurface::GetDevice.
2012-06-06 11:56:18 +02:00
Józef Kucia
0ed3eb0120
d3dx9: Implement ID3DXRenderToSurface::GetDesc.
2012-06-06 11:56:14 +02:00
Józef Kucia
5c6438e834
d3dx9: Add ID3DXRenderToSurface interface stub.
2012-06-06 11:56:09 +02:00
Józef Kucia
4200198355
d3dx9/tests: Add basic tests for D3DXCreateRenderToSurface.
2012-06-06 11:55:56 +02:00
Józef Kucia
6953865e8d
d3dx9/tests: Fix indentation.
2012-06-06 11:55:01 +02:00
Rico Schüller
670f0efe5c
d3dx9: Add ID3DXBuffer test.
2011-04-04 13:43:15 +02:00
David Adam
de0b3b21d5
d3dx9_36: Fix the sprite tests to make them pass in Windows.
2009-07-06 14:35:25 +02:00
Tony Wasserka
0ac20c4bd3
d3dx9: Add tests for basic ID3DXFont functions.
2009-06-24 11:32:09 +02:00
Tony Wasserka
f9cf3ab1a0
d3dx9: Add ID3DXSprite tests.
2009-03-09 13:28:55 +01:00