reactos.git
3 years ago[WINESYNC] d3dx9: Don't release textures when D3DXSPRITE_DO_NOT_ADDREF_TEXTURE is...
winesync [Tue, 5 Jan 2021 12:16:38 +0000 (13:16 +0100)]
[WINESYNC] 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>
wine commit id 9eda5c043047fd117441473651b2089b80a4ed80 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Use wide-char string literals.
winesync [Tue, 5 Jan 2021 12:16:35 +0000 (13:16 +0100)]
[WINESYNC] d3dx9/tests: Use wide-char string literals.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id bffe111672972cb26c319c029ca469520742c720 by Michael Stefaniuc <mstefani@winehq.org>

3 years ago[WINESYNC] d3dx9: Simplify D3DXSphereBoundProbe() a bit.
winesync [Mon, 21 Sep 2020 21:07:40 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Simplify D3DXSphereBoundProbe() a bit.

Spurred by a patch by Alex Henrie.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 18ae539c914a9b5a89f63d8cf9c2a21273eccc6c by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add a few D3DXLoadSurfaceFromSurface() tests with different...
winesync [Mon, 21 Sep 2020 21:07:40 +0000 (23:07 +0200)]
[WINESYNC] d3dx9/tests: Add a few D3DXLoadSurfaceFromSurface() tests with different rects.

Signed-off-by: Robin Kertels <robin.kertels@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id ea7cf679150f790d2e375d99ee226ea4881b490a by Robin Kertels <robin.kertels@gmail.com>

3 years ago[WINESYNC] d3dx9: Ignore filter in D3DXLoadSurfaceFromSurface() when rects match.
winesync [Mon, 21 Sep 2020 21:07:40 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Ignore filter in D3DXLoadSurfaceFromSurface() when rects match.

This allows us to use IDirect3DDevice9_StretchRect
and avoid GPU synchronization.
It massively improves performance in Dead Space 1 which
calls LoadSurfaceFromSurface every frame before presenting.

Signed-off-by: Robin Kertels <robin.kertels@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 625622ad4182061ee3111032ab0ae4a494b74e73 by Robin Kertels <robin.kertels@gmail.com>

3 years ago[WINESYNC] d3dx9: Implement ID3DXSkinInfo_Clone().
winesync [Mon, 21 Sep 2020 21:07:38 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Implement ID3DXSkinInfo_Clone().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48779
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 35a4093eff75e5bf7fee0dc8d2a708d960b03768 by Gijs Vermeulen <gijsvrm@gmail.com>

3 years ago[WINESYNC] d3dx9: Use BitScanReverse in make_pow2.
winesync [Mon, 21 Sep 2020 21:07:38 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Use BitScanReverse in make_pow2.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 22970932d014f024fcf7f0f98b1a5384b1b1eb99 by Jacek Caban <jacek@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Remove useless '\n' within some ok() messages.
winesync [Mon, 21 Sep 2020 21:07:35 +0000 (23:07 +0200)]
[WINESYNC] d3dx9/tests: Remove useless '\n' within some ok() messages.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id c1cf13a7512387885616684130b605a7640f5187 by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9: Add support for D3DFMT_P8 in DDS files.
winesync [Mon, 21 Sep 2020 21:07:34 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Add support for D3DFMT_P8 in DDS files.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48731
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id bb222133a81581622c88c0d34534bc88a556f1f2 by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>

3 years ago[WINESYNC] d3dx9: Handle horizontal alignment in ID3DXFont_DrawText.
winesync [Mon, 21 Sep 2020 21:07:33 +0000 (23:07 +0200)]
[WINESYNC] 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>
wine commit id d511853d45bc3302b2a4501b1aa0097a4e78b3d9 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Handle vertical alignment in ID3DXFont_DrawText.
winesync [Mon, 21 Sep 2020 21:07:33 +0000 (23:07 +0200)]
[WINESYNC] 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>
wine commit id fd9808b45af4bf4c6771fe2932e3169cb193bf44 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Add a helper for computing the bounding rectangle in ID3DXFont_Draw...
winesync [Mon, 21 Sep 2020 21:07:33 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Add a helper for computing the bounding rectangle 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>
wine commit id 53769e7bde9cfb808e26cf67057314c2ca03345a by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Switch character count to unsigned int in the DrawText implementation.
winesync [Mon, 21 Sep 2020 21:07:33 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Switch character count to unsigned int in the DrawText implementation.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id b5df43b9118074485a1f4a917b16d37bc068839d by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Introduce compare_uint().
winesync [Mon, 21 Sep 2020 21:07:32 +0000 (23:07 +0200)]
[WINESYNC] d3dx9/tests: Introduce compare_uint().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 9bcb1f5195d1e65e0e7afb288d36fee716fe3a60 by Henri Verbeet <hverbeet@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Use stricmp() instead of _strnicmp(..., -1).
winesync [Mon, 21 Sep 2020 21:07:32 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Use stricmp() instead of _strnicmp(..., -1).

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id aab980a16253ff6bb6286572576899bfc0f83945 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Validate state operation in d3dx_parse_state().
winesync [Mon, 21 Sep 2020 21:07:32 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Validate state operation in d3dx_parse_state().

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 2b5b069dd70ba328dc0ce660861ad802feae912c by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Use an assert() to validate access to const_tbl[].
winesync [Mon, 21 Sep 2020 21:07:32 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Use an assert() to validate access to const_tbl[].

This check is essentially validating that the hardcoded state_table[]
has reasonable values for the shader constant states. Use ARRAY_SIZE()
to avoid warnings if the compiler chooses an unsigned integer to back
enum SHADER_CONSTANT_TYPE.

Based on an idea by Henri Verbeet.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id cfc533b40d2d1426a8f05501152b28aa1ec78f07 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Remove a recursive call to ID3DXFont_DrawTextW when no rect is...
winesync [Mon, 21 Sep 2020 21:07:32 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Remove a recursive call to ID3DXFont_DrawTextW when no rect 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>
wine commit id 9796bdc966a89cd31829f3a094bb37ec71e21871 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Add two more DT_SINGLELINE tests.
winesync [Mon, 21 Sep 2020 21:07:32 +0000 (23:07 +0200)]
[WINESYNC] 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>
wine commit id 787d98f47ce7254dda7f644fa6d033fe1776ae38 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Handle DT_CALCRECT in ID3DXFont_DrawText.
winesync [Mon, 21 Sep 2020 21:07:31 +0000 (23:07 +0200)]
[WINESYNC] 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>
wine commit id 143a2a30f89dfc79cc2a49cd34af6fd587ce3f69 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Handle DT_SINGLELINE in ID3DXFont_DrawText.
winesync [Mon, 21 Sep 2020 21:07:31 +0000 (23:07 +0200)]
[WINESYNC] 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>
wine commit id 333687f522730befb8c64d297dc52f654e53a744 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Handle word breaks in ID3DXFont_DrawText.
winesync [Mon, 21 Sep 2020 21:06:33 +0000 (23:06 +0200)]
[WINESYNC] 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>
wine commit id e6a1116c2a3b196dea496f77747209f67982652c by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Handle clipping in ID3DXFont_DrawText.
winesync [Mon, 21 Sep 2020 21:03:28 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id 6da3e904a1efc921030fdbe34070b981bf57524c by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Handle newlines in ID3DXFont_DrawText.
winesync [Mon, 21 Sep 2020 21:03:28 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id 330c3f9108191feb6eb888384befb5cb54645233 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Add a very basic ID3DXFont_DrawText implementation.
winesync [Mon, 21 Sep 2020 21:03:28 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id 316a8d0ae11ae1a9654bc731d2c9dc23febc7a2d by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Implement ID3DXFont_PreloadText.
winesync [Mon, 21 Sep 2020 21:03:28 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id cc03400e322edea97f0e425c04cd9069f77b4c9f by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Implement ID3DXFont_PreloadCharacters.
winesync [Mon, 21 Sep 2020 21:03:28 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Implement ID3DXFont_PreloadCharacters.

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>
wine commit id 21fc1f37e76eaced9228eaf62a45489a2bf8ac11 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Implement ID3DXFont_GetGlyphData.
winesync [Mon, 21 Sep 2020 21:03:28 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id e9ea8a05e54f1c950e5c15979d1393ad013402b1 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Implement ID3DXFont_PreloadGlyphs.
winesync [Mon, 21 Sep 2020 21:03:28 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id ac5687463700b070fc1eecca67c4a46ec15127fa by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Reimplement make_pow2() in d3dx9_private.h.
winesync [Mon, 21 Sep 2020 21:03:27 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Reimplement make_pow2() in d3dx9_private.h.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 1b0ad92db1c21d5052c45be2291759d60553476c by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add more ID3DXFont_DrawTextW tests.
winesync [Mon, 21 Sep 2020 21:03:27 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id e0ce80561bf046c9dc7837e1c7f3c999f18b0361 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Implement D3DXCreateKeyframedAnimationSet.
winesync [Mon, 21 Sep 2020 21:03:26 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Implement D3DXCreateKeyframedAnimationSet.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45481
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 0854a7eab7ac69057a3bf8c44ef90ce18497d964 by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>

3 years ago[WINESYNC] d3dx9: Support D3DFMT_X8L8V8U8 in DDS files.
winesync [Mon, 21 Sep 2020 21:03:26 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Support D3DFMT_X8L8V8U8 in DDS files.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 06918ba76bdc109e59fdc1d8ee00c46f6857bbd2 by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9/tests: Add some more ID3DXFont tests.
winesync [Mon, 21 Sep 2020 21:03:25 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id ef889fe654e8bef81c009b93501b6c0411cd8354 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add some tests for ID3DXFont_DrawText().
winesync [Mon, 21 Sep 2020 21:03:25 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id db7539f9f3ead16cb94ff03c2b8f9ca11b44a253 by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>

3 years ago[WINESYNC] d3dx9/tests: Get rid of redundant handling for D3DXCreateFontA() failures.
winesync [Mon, 21 Sep 2020 21:03:25 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id da62db437aca4a434ab88297ac78cbcd83f6152e by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Use Tahoma in all font tests.
winesync [Mon, 21 Sep 2020 21:03:25 +0000 (23:03 +0200)]
[WINESYNC] 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>
wine commit id 2465220a0c93f8e55948061772c2a39fb5753bd9 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Pass D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY when appropriate.
winesync [Mon, 21 Sep 2020 21:03:24 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Pass D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY when appropriate.

Manual testing shows that the backward compatible compilation is used
in d3dx9 versions below 37.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48302
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 13880f8e6a0a972382de7de04b56bd1a414bef67 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Fix some spec file entries.
winesync [Mon, 21 Sep 2020 21:03:24 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Fix some spec file entries.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 96dab5abeedbb0908ac11915464f71eb74383bd7 by André Hentschel <nerv@dawncrow.de>

3 years ago[WINESYNC] d3dx9: Make ID3DXLine::OnResetDevice() return S_OK.
winesync [Mon, 21 Sep 2020 21:03:24 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Make ID3DXLine::OnResetDevice() return S_OK.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38615
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 4f0212c4fd35ac4b03a082cab27e629130ac1b13 by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>

3 years ago[WINESYNC] d3dx9_36/tests: Fix some constant conversion warnings.
winesync [Mon, 21 Sep 2020 21:03:24 +0000 (23:03 +0200)]
[WINESYNC] d3dx9_36/tests: Fix some constant conversion warnings.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 863da013a216bb50b925bbb9e3987b21206fb782 by Alexandre Julliard <julliard@winehq.org>

3 years ago[WINESYNC] d3dx9_36: Fix the spelling of a comment.
winesync [Mon, 21 Sep 2020 21:03:23 +0000 (23:03 +0200)]
[WINESYNC] d3dx9_36: Fix the spelling of a comment.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 5d7fcf52106bbb11544e8dbc5777150c8f55d726 by Francois Gouget <fgouget@free.fr>

3 years ago[WINESYNC] d3dx9: Implement D3DXCreateFragmentLinker[Ex]().
winesync [Mon, 21 Sep 2020 21:03:22 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Implement D3DXCreateFragmentLinker[Ex]().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38086
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id fd06827bca416dfec8835f109834ad0729c996a8 by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>

3 years ago[WINESYNC] d3dx9_36: Fix the spelling of a TRACE() message.
winesync [Mon, 21 Sep 2020 21:03:22 +0000 (23:03 +0200)]
[WINESYNC] d3dx9_36: Fix the spelling of a TRACE() message.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 0611e27caf5105795cb94e60dec5ff0561e8ec44 by Francois Gouget <fgouget@free.fr>

3 years ago[WINESYNC] d3dx9: Implement d3dx_effect_ApplyParameterBlock().
winesync [Mon, 21 Sep 2020 21:03:22 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Implement d3dx_effect_ApplyParameterBlock().

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id e28888c9fe504f75d985e34a2c271f43abd95497 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Implement recording parameters to parameter block.
winesync [Mon, 21 Sep 2020 21:03:22 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Implement recording parameters to parameter block.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 7d512a1e0ef58fad25e53af5316d445cb0cfc5e7 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Factor out free_parameter_object_data() function.
winesync [Mon, 21 Sep 2020 21:03:21 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Factor out free_parameter_object_data() function.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 07562f1e3927b2aa1521811f0c16a7f05c175cba by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Factor out set_value() function.
winesync [Mon, 21 Sep 2020 21:03:21 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Factor out set_value() function.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 4020a38259774c64035e5783d595ff88097cedf8 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Implement d3dx_effect_DeleteParameterBlock().
winesync [Mon, 21 Sep 2020 21:03:21 +0000 (23:03 +0200)]
[WINESYNC] d3dx9: Implement d3dx_effect_DeleteParameterBlock().

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id f65e4854e37355a946b6e017a2cd595a1ddceb38 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Implement d3dx_effect_EndParameterBlock().
winesync [Mon, 21 Sep 2020 21:01:50 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Implement d3dx_effect_EndParameterBlock().

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id fd47b684487bab4664a31a3b670783b6d1a5aca3 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Implement d3dx_effect_BeginParameterBlock().
winesync [Mon, 21 Sep 2020 21:01:50 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Implement d3dx_effect_BeginParameterBlock().

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id e281ba4db6654850caf713ab09aa6a2057e1d064 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9/tests: Test ApplyParameterBlock() while recording.
winesync [Mon, 21 Sep 2020 21:01:50 +0000 (23:01 +0200)]
[WINESYNC] d3dx9/tests: Test ApplyParameterBlock() while recording.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 85d3ad879d5b13f7fce378009aaf80b419ad6185 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add test for effect parameter block.
winesync [Mon, 21 Sep 2020 21:01:50 +0000 (23:01 +0200)]
[WINESYNC] d3dx9/tests: Add test for effect parameter block.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 61ee765aa0ec0d0e478a9f82d73e602ea71419c2 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Avoid double freeing samplers.
winesync [Mon, 21 Sep 2020 21:01:49 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Avoid double freeing samplers.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 6aced396bad8bea61733fda24f0cecabaec5041e by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Remove redundant NULL check before heap_free().
winesync [Mon, 21 Sep 2020 21:01:49 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Remove redundant NULL check before heap_free().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a0a5c64bd5d4240d8a7a9913c77730458262d450 by Michael Stefaniuc <mstefani@winehq.org>

3 years ago[WINESYNC] d3dx9: Correctly handle NULL constant state for objects on 64 bit arch.
winesync [Mon, 21 Sep 2020 21:01:49 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Correctly handle NULL constant state for objects on 64 bit arch.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id aef11864a47a33830eca086de8bf337ee9b5114a by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Turn unimplemented interface ERR into a WARN.
winesync [Mon, 21 Sep 2020 21:01:48 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Turn unimplemented interface ERR into a WARN.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 5b66442bc95e42bcef2ca385168fc3d594182e4a by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Don't pass usage flags for staging texture in D3DXCreateVolumeTextu...
winesync [Mon, 21 Sep 2020 21:01:48 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Don't pass usage flags for staging texture in D3DXCreateVolumeTextureFromFileInMemoryEx().

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 29c02234eb2be9c8fa48cfc021d0d6f84de58add by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Use check_texture_requirements() in D3DXCheckVolumeTextureRequireme...
winesync [Mon, 21 Sep 2020 21:01:48 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Use check_texture_requirements() in D3DXCheckVolumeTextureRequirements() with correct resource type.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 0b03d21c8f89b3f9dbd68ac849f9923197095eb5 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Use check_texture_requirements() in D3DXCheckCubeTextureRequirement...
winesync [Mon, 21 Sep 2020 21:01:48 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Use check_texture_requirements() in D3DXCheckCubeTextureRequirements() with correct resource type.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id e50873f504b4693c9efcf7113afcb633155babbc by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Factor our check_texture_requirements() function.
winesync [Mon, 21 Sep 2020 21:01:48 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Factor our check_texture_requirements() function.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 92c8c0fc7fb95209fa9dec25234d16b1dbddcf2a by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Return an error if no fallback format is found.
winesync [Mon, 21 Sep 2020 21:01:48 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Return an error if no fallback format is found.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id fcdcd5d3cbb58a40894f661fd8a9285b81a55789 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Don't pass usage flags for staging texture in D3DXCreateCubeTexture...
winesync [Mon, 21 Sep 2020 21:01:48 +0000 (23:01 +0200)]
[WINESYNC] d3dx9: Don't pass usage flags for staging texture in D3DXCreateCubeTextureFromFileInMemoryEx().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47974
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a0840773f7ee00dc9373b4db825fec68d08ee53b by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Correctly align texture dimensions to block size in D3DXCheckTextur...
winesync [Mon, 21 Sep 2020 21:00:51 +0000 (23:00 +0200)]
[WINESYNC] d3dx9: Correctly align texture dimensions to block size in D3DXCheckTextureRequirements().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id f6f90daa3117cf493e0815c42bb0fa1740d31308 by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9: Fix pitch passed to DXTn [de]compression functions.
winesync [Mon, 21 Sep 2020 21:00:51 +0000 (23:00 +0200)]
[WINESYNC] d3dx9: Fix pitch passed to DXTn [de]compression functions.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47862
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 9069913dbba0914b80544ce4afb9e7285efad2a5 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Add a trace to D3DXCreateBuffer.
winesync [Mon, 21 Sep 2020 21:00:51 +0000 (23:00 +0200)]
[WINESYNC] d3dx9: Add a trace to D3DXCreateBuffer.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a172aead8d542b92709545d8bcd992f03ee19d82 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: WARN when the file doesn't exist in D3DXCreateTextureFromFileExW().
winesync [Mon, 21 Sep 2020 21:00:51 +0000 (23:00 +0200)]
[WINESYNC] d3dx9: WARN when the file doesn't exist in D3DXCreateTextureFromFileExW().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 81ababa864229a7e81abca76ef7e6a12fe5b256f by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Compute the correct source rect in D3DXLoadSurfaceFromFileInMemory().
winesync [Mon, 21 Sep 2020 21:00:51 +0000 (23:00 +0200)]
[WINESYNC] d3dx9: Compute the correct source rect in D3DXLoadSurfaceFromFileInMemory().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id f934ef1a14108aa535e76900b29cba0dd8253f80 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Don't pass the D3DLOCK_DISCARD flag when mapping a texture.
winesync [Mon, 21 Sep 2020 21:00:51 +0000 (23:00 +0200)]
[WINESYNC] d3dx9: Don't pass the D3DLOCK_DISCARD flag when mapping a texture.

We aren't necessarily rewriting the whole surface (e.g. rect smaller than
the whole surface, color key).

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 536fce7f3b887fcc087d4c00106ceb2f0ff93c01 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Implement DXTn compression for offset destination rect.
winesync [Mon, 21 Sep 2020 21:00:51 +0000 (23:00 +0200)]
[WINESYNC] d3dx9: Implement DXTn compression for offset destination rect.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a838e144dcaa55e227d7e99566a59f7a31d97227 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Handle non-zero source rect position in D3DXLoadSurfaceFromMemory().
winesync [Mon, 21 Sep 2020 21:00:50 +0000 (23:00 +0200)]
[WINESYNC] d3dx9: Handle non-zero source rect position in D3DXLoadSurfaceFromMemory().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41936
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 88d8ae383932ad1c292c74da7dcc19f00d8423f7 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Move the source rect alignment check into the condition for simple...
winesync [Mon, 21 Sep 2020 21:00:50 +0000 (23:00 +0200)]
[WINESYNC] d3dx9: Move the source rect alignment check into the condition for simple copy.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a9c158b72aae1efed159d40fde086cdc608bc62e by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Improve tests to check for DXTn fallback formats.
winesync [Mon, 21 Sep 2020 21:00:50 +0000 (23:00 +0200)]
[WINESYNC] d3dx9/tests: Improve tests to check for DXTn fallback formats.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id d2f3fc03cb1dbcae77e199f3fd8eb2ccf419cfa5 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Handle compressed surfaces in D3DXLoadSurfaceFromMemory.
winesync [Mon, 21 Sep 2020 20:57:00 +0000 (22:57 +0200)]
[WINESYNC] d3dx9: Handle compressed surfaces in D3DXLoadSurfaceFromMemory.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=24983
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 376182062ff1ab8e7835fd67bc650da83c2cc75d by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Add traces to filtering functions.
winesync [Mon, 21 Sep 2020 20:57:00 +0000 (22:57 +0200)]
[WINESYNC] d3dx9: Add traces to filtering functions.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 1f9243c757589c6ff2333794c3a44327d64855ae by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add even more tests for misaligned block textures.
winesync [Mon, 21 Sep 2020 20:57:00 +0000 (22:57 +0200)]
[WINESYNC] d3dx9/tests: Add even more tests for misaligned block textures.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 5472b8b98332400a7ad434ed94bed82b21f622fe by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add more tests loading misaligned block textures.
winesync [Mon, 21 Sep 2020 20:57:00 +0000 (22:57 +0200)]
[WINESYNC] d3dx9/tests: Add more tests loading misaligned block textures.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id c29f770e8bf1da56856b457cf92221e88f6323d4 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add a test with a larger DXT5 texture.
winesync [Mon, 21 Sep 2020 20:56:59 +0000 (22:56 +0200)]
[WINESYNC] d3dx9/tests: Add a test with a larger DXT5 texture.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id b7656110e6e83866a33418bc6b48984632010e00 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add a test for loading a texture smaller than the block size.
winesync [Mon, 21 Sep 2020 20:56:59 +0000 (22:56 +0200)]
[WINESYNC] d3dx9/tests: Add a test for loading a texture smaller than the block size.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 426d6776cff537e36bdb7c0fb7963a74e4a3251e by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add a test for loading surfaces not divisible by the block...
winesync [Mon, 21 Sep 2020 20:56:59 +0000 (22:56 +0200)]
[WINESYNC] d3dx9/tests: Add a test for loading surfaces not divisible by the block size.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 7f39c726fc91d84d4b26241c3a031381ad9e59cb by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Relax a block alignment check.
winesync [Mon, 21 Sep 2020 20:56:59 +0000 (22:56 +0200)]
[WINESYNC] d3dx9: Relax a block alignment check.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id e371085aaf4424e6ef9b5b76ebf3107121d22f50 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Simplify unsupported format check.
winesync [Mon, 21 Sep 2020 20:56:59 +0000 (22:56 +0200)]
[WINESYNC] d3dx9: Simplify unsupported format check.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id b744a309ace15a8c5494cf7134294c5869d2dade by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9_36/tests: Spelling fixes in ok() messages.
winesync [Mon, 21 Sep 2020 20:56:58 +0000 (22:56 +0200)]
[WINESYNC] d3dx9_36/tests: Spelling fixes in ok() messages.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 92c00c51b21594987d342b5ce00c174ab4e84595 by Francois Gouget <fgouget@free.fr>

3 years ago[WINESYNC] d3dx9: Make qsort() callback functions cdecl.
winesync [Mon, 21 Sep 2020 20:56:58 +0000 (22:56 +0200)]
[WINESYNC] d3dx9: Make qsort() callback functions cdecl.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 08b569d50599328df1531f20cceb5331bf718524 by Alexandre Julliard <julliard@winehq.org>

3 years ago[WINESYNC] d3dx9/tests: Make the pixels array static.
winesync [Mon, 21 Sep 2020 20:56:57 +0000 (22:56 +0200)]
[WINESYNC] d3dx9/tests: Make the pixels array static.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 15dd8e2b981ca32cae94409153627b3300bbeab8 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Get rid of unused unlock_surface() argument.
winesync [Mon, 21 Sep 2020 20:56:57 +0000 (22:56 +0200)]
[WINESYNC] d3dx9: Get rid of unused unlock_surface() argument.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id eadc7b3128afdf59891c6f9a1c568077c4e6d087 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Pass rectangle to {lock|unlock}_surface().
winesync [Mon, 21 Sep 2020 20:56:57 +0000 (22:56 +0200)]
[WINESYNC] d3dx9: Pass rectangle to {lock|unlock}_surface().

This fixes regressions introduced by commits
65956ae50a136fe8467a0332c7495f36617a16dc092c14b9d86ee1e96e465908cc524ec85988d0ff.
Surface source or destination rectangles were left behind.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47546
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 378204527e1f42ed1373a0cd7356770d235e319d by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] d3dx9: Build with msvcrt.
winesync [Mon, 21 Sep 2020 20:52:25 +0000 (22:52 +0200)]
[WINESYNC] d3dx9: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 9fb5745a7997bbfe033779650f1193d85369cef2 by Alexandre Julliard <julliard@winehq.org>

3 years ago[WINESYNC] include/msvcrt: Add INFINITY and NAN definitions.
winesync [Mon, 21 Sep 2020 20:51:59 +0000 (22:51 +0200)]
[WINESYNC] include/msvcrt: Add INFINITY and NAN definitions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a16ef96dc624edf2666aa125fbc1c197f5edcc1b by Alexandre Julliard <julliard@winehq.org>

3 years ago[WINESYNC] d3dx9: Always free samplers (Valgrind).
winesync [Mon, 21 Sep 2020 20:51:59 +0000 (22:51 +0200)]
[WINESYNC] d3dx9: Always free samplers (Valgrind).

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 7dc42119b40ad39165d881dd8d0e410d3e84fe5a by Sven Baars <sven.wine@gmail.com>

3 years ago[WINESYNC] d3dx9: Release the full parameter name when a parameter is released (Valgr...
winesync [Mon, 21 Sep 2020 20:51:59 +0000 (22:51 +0200)]
[WINESYNC] d3dx9: Release the full parameter name when a parameter is released (Valgrind).

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 63443f249f4dfe748ce3872e74ecf5c1d8aa55d9 by Sven Baars <sven.wine@gmail.com>

3 years ago[WINESYNC] d3dx9: Don't use strcasecmp.
winesync [Mon, 21 Sep 2020 20:50:20 +0000 (22:50 +0200)]
[WINESYNC] d3dx9: Don't use strcasecmp.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 5c5a8ae23ff7fe9c103de4e3dfce06bf1b8778c1 by Piotr Caban <piotr@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Fix argument type in convert_dib_to_bmp().
winesync [Mon, 21 Sep 2020 20:50:20 +0000 (22:50 +0200)]
[WINESYNC] d3dx9: Fix argument type in convert_dib_to_bmp().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 8bed853c4380ebf86220ffe2fd89d48d98a90921 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Generate ID3DXSkinInfo in D3DXLoadSkinMeshFromXof() when needed.
winesync [Mon, 21 Sep 2020 20:50:20 +0000 (22:50 +0200)]
[WINESYNC] d3dx9: Generate ID3DXSkinInfo in D3DXLoadSkinMeshFromXof() when needed.

Based on a patch by Michael Müller.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=33904
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 70d722340ad546ab988fffe4577e0c0ebe35a982 by Vijay Kiran Kamuju <infyquest@gmail.com>

3 years ago[WINESYNC] d3dx9/tests: Add tests for 32 bpp BMP with alpha.
winesync [Mon, 21 Sep 2020 20:50:19 +0000 (22:50 +0200)]
[WINESYNC] d3dx9/tests: Add tests for 32 bpp BMP with alpha.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a30fd8c0e44833b2a6412987a348273bfe42fe2f by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9/tests: Avoid a test failure on Vista testbot.
winesync [Mon, 21 Sep 2020 20:50:19 +0000 (22:50 +0200)]
[WINESYNC] d3dx9/tests: Avoid a test failure on Vista testbot.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id ccdb74d81ac4a95aa87414f6459a8b44d451358a by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Improve D3DXMatrixInverse() test a tiny bit.
winesync [Mon, 21 Sep 2020 20:50:19 +0000 (22:50 +0200)]
[WINESYNC] d3dx9/tests: Improve D3DXMatrixInverse() test a tiny bit.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 5c052b699e7ac5c0e4f2324fe31e2d022dcf4bb5 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add initial tests for dummy skin info interface.
winesync [Mon, 21 Sep 2020 20:50:19 +0000 (22:50 +0200)]
[WINESYNC] d3dx9/tests: Add initial tests for dummy skin info interface.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id aec8e12a3d71272b31aa8b5b075fe1cd88517c92 by Michael Müller <michael@fds-team.de>

3 years ago[WINESYNC] include: Fix D3DXF_FILELOADMEMORY definition.
winesync [Mon, 21 Sep 2020 20:50:19 +0000 (22:50 +0200)]
[WINESYNC] include: Fix D3DXF_FILELOADMEMORY definition.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id c9c74b8b10116c3f0b3bd4d08724963245499a92 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Secure against unsafe iface to COM object transitions.
winesync [Mon, 21 Sep 2020 20:50:18 +0000 (22:50 +0200)]
[WINESYNC] d3dx9: Secure against unsafe iface to COM object transitions.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id cd3e5020e4c87f49eb042fff9f607b6d745a5d55 by Michael Stefaniuc <mstefani@winehq.org>