Module: wine
Branch: master
Commit: 48a4f670d1a8e6c940e629b6cf9c49677d1409a4
URL: https://gitlab.winehq.org/wine/wine/-/commit/48a4f670d1a8e6c940e629b6cf9c49…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Thu Sep 7 15:21:12 2023 +0300
d3d8/tests: Mark the hidden test WM_WINDOWPOSCHANGED test flaky.
---
dlls/d3d8/tests/device.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index ae7d3b28a10..df7ff865835 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -3246,7 +3246,12 @@ static void test_wndproc(void)
SetForegroundWindow(GetDesktopWindow());
ok(!expect_messages->message, "Expected message %#x for window %#x, but didn't receive it.\n",
expect_messages->message, expect_messages->window);
+
+ /* kwin sometimes resizes hidden windows. The d3d8 version of this test has been reliable on
+ * Windows so far, but the d3d9 equivalent rarely fails since Windows 8. */
+ flaky
ok(!windowposchanged_received, "Received WM_WINDOWPOSCHANGED but did not expect it.\n");
+
expect_messages = NULL;
flush_events();
Module: wine
Branch: master
Commit: ac85fa8d0f85c8b9fb6ca7b4be027d0ba5270100
URL: https://gitlab.winehq.org/wine/wine/-/commit/ac85fa8d0f85c8b9fb6ca7b4be027d…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Thu Sep 7 19:32:36 2023 +0300
d3d9/tests: Request a 3 mip level cube texture in test_getdc().
If we let d3d9 decide we get a single-level texture on HW that does not
support mipmapped cubes, e.g. r200 GPUs. By explicitly requesting the 3
levels we need we'll skip the test.
The test demonstrates that only one subresource can be locked / have a
DC, so it makes sense to show that this applies to the whole texture and
not just one level.
---
dlls/d3d9/tests/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 2347841b66f..85d72fff8f7 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -9113,7 +9113,7 @@ static void test_getdc(void)
if (!testdata[i].getdc_supported)
continue;
- if (FAILED(hr = IDirect3DDevice9_CreateCubeTexture(device, 64, 0, 0,
+ if (FAILED(hr = IDirect3DDevice9_CreateCubeTexture(device, 64, 3, 0,
testdata[i].format, D3DPOOL_MANAGED, &cube_texture, NULL)))
{
skip("Failed to create cube texture for format %s (hr %#lx), skipping tests.\n", testdata[i].name, hr);