Signed-off-by: Henri Verbeet hverbeet@codeweavers.com --- dlls/wined3d/device.c | 24 ++++++------------------ dlls/wined3d/swapchain.c | 34 ++++++++++++++++------------------ dlls/wined3d/wined3d_main.c | 37 ++++++++++++++++++++++++++++++++++++- dlls/wined3d/wined3d_private.h | 4 ++-- 4 files changed, 60 insertions(+), 39 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 343e25b482c..71242bba111 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -930,8 +930,8 @@ static LONG fullscreen_exstyle(LONG exstyle) HRESULT wined3d_device_setup_fullscreen_window(struct wined3d_device *device, HWND window, unsigned int w, unsigned int h) { - BOOL filter_messages; LONG style, exstyle; + BOOL filter;
TRACE("Setting up window %p for fullscreen mode.\n", window);
@@ -956,14 +956,13 @@ HRESULT wined3d_device_setup_fullscreen_window(struct wined3d_device *device, TRACE("Old style was %08x, %08x, setting to %08x, %08x.\n", device->style, device->exStyle, style, exstyle);
- filter_messages = device->filter_messages; - device->filter_messages = TRUE; + filter = wined3d_filter_messages(window, TRUE);
SetWindowLongW(window, GWL_STYLE, style); SetWindowLongW(window, GWL_EXSTYLE, exstyle); SetWindowPos(window, HWND_TOPMOST, 0, 0, w, h, SWP_FRAMECHANGED | SWP_SHOWWINDOW | SWP_NOACTIVATE);
- device->filter_messages = filter_messages; + wined3d_filter_messages(window, filter);
return WINED3D_OK; } @@ -972,9 +971,9 @@ void wined3d_device_restore_fullscreen_window(struct wined3d_device *device, HWND window, const RECT *window_rect) { unsigned int window_pos_flags = SWP_FRAMECHANGED | SWP_NOZORDER | SWP_NOACTIVATE; - BOOL filter_messages; LONG style, exstyle; RECT rect = {0}; + BOOL filter;
if (!device->style && !device->exStyle) return; @@ -994,8 +993,7 @@ void wined3d_device_restore_fullscreen_window(struct wined3d_device *device, TRACE("Restoring window style of window %p to %08x, %08x.\n", window, device->style, device->exStyle);
- filter_messages = device->filter_messages; - device->filter_messages = TRUE; + filter = wined3d_filter_messages(window, TRUE);
/* Only restore the style if the application didn't modify it during the * fullscreen phase. Some applications change it before calling Reset() @@ -1014,7 +1012,7 @@ void wined3d_device_restore_fullscreen_window(struct wined3d_device *device, SetWindowPos(window, 0, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, window_pos_flags);
- device->filter_messages = filter_messages; + wined3d_filter_messages(window, filter);
/* Delete the old values. */ device->style = 0; @@ -5994,16 +5992,6 @@ void device_invalidate_state(const struct wined3d_device *device, DWORD state) LRESULT device_process_message(struct wined3d_device *device, HWND window, BOOL unicode, UINT message, WPARAM wparam, LPARAM lparam, WNDPROC proc) { - if (device->filter_messages && message != WM_DISPLAYCHANGE) - { - TRACE("Filtering message: window %p, message %#x, wparam %#lx, lparam %#lx.\n", - window, message, wparam, lparam); - if (unicode) - return DefWindowProcW(window, message, wparam, lparam); - else - return DefWindowProcA(window, message, wparam, lparam); - } - if (message == WM_DESTROY) { TRACE("unregister window %p.\n", window); diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c index ac2afa27431..c5db2e919eb 100644 --- a/dlls/wined3d/swapchain.c +++ b/dlls/wined3d/swapchain.c @@ -1148,16 +1148,16 @@ void swapchain_update_draw_bindings(struct wined3d_swapchain *swapchain) void wined3d_swapchain_activate(struct wined3d_swapchain *swapchain, BOOL activate) { struct wined3d_device *device = swapchain->device; - BOOL filter_messages = device->filter_messages; - BOOL focus_messages = device->wined3d->flags & WINED3D_FOCUS_MESSAGES; + HWND window = swapchain->device_window; + BOOL focus_messages, filter;
/* This code is not protected by the wined3d mutex, so it may run while * wined3d_device_reset is active. Testing on Windows shows that changing * focus during resets and resetting during focus change events causes * the application to crash with an invalid memory access. */
- if (!focus_messages) - device->filter_messages = 1; + if (!(focus_messages = device->wined3d->flags & WINED3D_FOCUS_MESSAGES)) + filter = wined3d_filter_messages(window, TRUE);
if (activate) { @@ -1170,9 +1170,8 @@ void wined3d_swapchain_activate(struct wined3d_swapchain *swapchain, BOOL activa * * Guild Wars 1 wants a WINDOWPOSCHANGED message on the device window to * resume drawing after a focus loss. */ - SetWindowPos(swapchain->device_window, NULL, 0, 0, - swapchain->desc.backbuffer_width, swapchain->desc.backbuffer_height, - SWP_NOACTIVATE | SWP_NOZORDER); + SetWindowPos(window, NULL, 0, 0, swapchain->desc.backbuffer_width, + swapchain->desc.backbuffer_height, SWP_NOACTIVATE | SWP_NOZORDER); }
if (device->wined3d->flags & WINED3D_RESTORE_MODE_ON_ACTIVATE) @@ -1204,13 +1203,12 @@ void wined3d_swapchain_activate(struct wined3d_swapchain *swapchain, BOOL activa if (swapchain == device->swapchains[0]) device->device_parent->ops->activate(device->device_parent, FALSE);
- if (!(device->create_parms.flags & WINED3DCREATE_NOWINDOWCHANGES) - && IsWindowVisible(swapchain->device_window)) - ShowWindow(swapchain->device_window, SW_MINIMIZE); + if (!(device->create_parms.flags & WINED3DCREATE_NOWINDOWCHANGES) && IsWindowVisible(window)) + ShowWindow(window, SW_MINIMIZE); }
if (!focus_messages) - device->filter_messages = filter_messages; + wined3d_filter_messages(window, filter); }
HRESULT CDECL wined3d_swapchain_resize_buffers(struct wined3d_swapchain *swapchain, unsigned int buffer_count, @@ -1454,14 +1452,14 @@ HRESULT CDECL wined3d_swapchain_set_fullscreen(struct wined3d_swapchain *swapcha } else { - /* Fullscreen -> fullscreen mode change */ - BOOL filter_messages = device->filter_messages; - device->filter_messages = TRUE; + HWND window = swapchain->device_window; + BOOL filter;
- MoveWindow(swapchain->device_window, 0, 0, width, height, TRUE); - ShowWindow(swapchain->device_window, SW_SHOW); - - device->filter_messages = filter_messages; + /* Fullscreen -> fullscreen mode change */ + filter = wined3d_filter_messages(window, TRUE); + MoveWindow(window, 0, 0, width, height, TRUE); + ShowWindow(window, SW_SHOW); + wined3d_filter_messages(window, filter); } swapchain->d3d_mode = actual_mode; } diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c index 716a2b088c8..2d74d6f9d94 100644 --- a/dlls/wined3d/wined3d_main.c +++ b/dlls/wined3d/wined3d_main.c @@ -36,6 +36,7 @@ struct wined3d_wndproc struct wined3d *wined3d; HWND window; BOOL unicode; + BOOL filter; WNDPROC proc; struct wined3d_device *device; uint32_t flags; @@ -474,11 +475,32 @@ static struct wined3d_wndproc *wined3d_find_wndproc(HWND window, struct wined3d return NULL; }
+BOOL wined3d_filter_messages(HWND window, BOOL filter) +{ + struct wined3d_wndproc *entry; + BOOL ret; + + wined3d_wndproc_mutex_lock(); + + if (!(entry = wined3d_find_wndproc(window, NULL))) + { + wined3d_wndproc_mutex_unlock(); + return FALSE; + } + + ret = entry->filter; + entry->filter = filter; + + wined3d_wndproc_mutex_unlock(); + + return ret; +} + static LRESULT CALLBACK wined3d_wndproc(HWND window, UINT message, WPARAM wparam, LPARAM lparam) { struct wined3d_wndproc *entry; struct wined3d_device *device; - BOOL unicode; + BOOL unicode, filter; WNDPROC proc;
wined3d_wndproc_mutex_lock(); @@ -492,11 +514,24 @@ static LRESULT CALLBACK wined3d_wndproc(HWND window, UINT message, WPARAM wparam
device = entry->device; unicode = entry->unicode; + filter = entry->filter; proc = entry->proc; wined3d_wndproc_mutex_unlock();
if (device) + { + if (filter && message != WM_DISPLAYCHANGE) + { + TRACE("Filtering message: window %p, message %#x, wparam %#lx, lparam %#lx.\n", + window, message, wparam, lparam); + + if (unicode) + return DefWindowProcW(window, message, wparam, lparam); + return DefWindowProcA(window, message, wparam, lparam); + } + return device_process_message(device, window, unicode, message, wparam, lparam, proc); + } if (unicode) return CallWindowProcW(proc, window, message, wparam, lparam); return CallWindowProcA(proc, window, message, wparam, lparam); diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 9d429a8d893..e7da3488315 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -2993,6 +2993,7 @@ struct wined3d struct wined3d_adapter *adapters[1]; };
+BOOL wined3d_filter_messages(HWND window, BOOL filter) DECLSPEC_HIDDEN; void wined3d_hook_swapchain(struct wined3d_swapchain *swapchain) DECLSPEC_HIDDEN; HRESULT wined3d_init(struct wined3d *wined3d, DWORD flags) DECLSPEC_HIDDEN; void wined3d_unhook_swapchain(struct wined3d_swapchain *swapchain) DECLSPEC_HIDDEN; @@ -3183,8 +3184,7 @@ struct wined3d_device BYTE d3d_initialized : 1; BYTE inScene : 1; /* A flag to check for proper BeginScene / EndScene call pairs */ BYTE softwareVertexProcessing : 1; /* process vertex shaders using software or hardware */ - BYTE filter_messages : 1; - BYTE padding : 3; + BYTE padding : 4;
unsigned char surface_alignment; /* Line Alignment of surfaces */
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=54906
Your paranoid android.
=== debian10 (32 bit report) ===
d3d8: visual.c:6623: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 0, location 3x2. visual.c:6623: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 2, location 3x2. visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 0, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 1, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 2, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 3, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 4, 7, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 5, 7, size 0). visual.c:8791: Test failed: Test 0 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 6 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 10 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 11 shading has color1 000000ff, expected 0000ff00. visual.c:10297: Test failed: Expected unsynchronised map for flags 0x1000. visual.c:10297: Test failed: Expected unsynchronised map for flags 0x3000.
d3d9: visual.c:9410: Test failed: Test 0 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 6 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 10 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 11 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 12 shading has color1 000000ff, expected 0000ff00. visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 0, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 1, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 2, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 3, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 4, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 5, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 6, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 7, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 8, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 9, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 10, 7, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 11, 7, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 12, 7, size 0). visual.c:20743: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 0, location 3x2. visual.c:20743: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 2, location 3x2. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 80. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 80. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 80. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 77. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 77. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 77. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 75. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 75. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 75. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 1515474505. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 1515474505. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 1515474505. visual.c:25153: Test failed: Expected unsynchronised map for flags 0x1000. visual.c:25153: Test failed: Expected unsynchronised map for flags 0x3000.
Report errors: d3d8:device has no test summary line (early exit of the main process?) d3d8:device has unaccounted for todo messages d3d8:device has unaccounted for skip messages d3d9:d3d9ex has no test summary line (early exit of the main process?) d3d9:d3d9ex has unaccounted for todo messages d3d9:d3d9ex has unaccounted for skip messages d3d9:device has no test summary line (early exit of the main process?) d3d9:device has unaccounted for todo messages d3d9:device has unaccounted for skip messages ddraw:ddraw1 has no test summary line (early exit of the main process?) ddraw:ddraw1 has unaccounted for todo messages ddraw:ddraw2 has no test summary line (early exit of the main process?) ddraw:ddraw2 has unaccounted for todo messages ddraw:ddraw4 has no test summary line (early exit of the main process?) ddraw:ddraw4 has unaccounted for todo messages ddraw:ddraw7 has no test summary line (early exit of the main process?) ddraw:ddraw7 has unaccounted for todo messages
=== debian10 (32 bit Chinese:China report) ===
d3d8: visual.c:6623: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 0, location 3x2. visual.c:6623: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 2, location 3x2. visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 0, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 1, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 2, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 3, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 4, 7, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 5, 7, size 0). visual.c:8791: Test failed: Test 0 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 6 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 10 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 11 shading has color1 000000ff, expected 0000ff00. visual.c:10297: Test failed: Expected unsynchronised map for flags 0x1000. visual.c:10297: Test failed: Expected unsynchronised map for flags 0x3000.
d3d9: visual.c:9410: Test failed: Test 0 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 6 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 10 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 11 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 12 shading has color1 000000ff, expected 0000ff00. visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 0, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 1, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 2, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 3, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 4, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 5, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 6, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 7, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 8, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 9, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 10, 7, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 11, 7, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 12, 7, size 0). visual.c:20743: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 0, location 3x2. visual.c:20743: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 2, location 3x2. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 80. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 80. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 80. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 77. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 77. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 77. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 75. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 75. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 75. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 1515474505. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 1515474505. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 1515474505. visual.c:25153: Test failed: Expected unsynchronised map for flags 0x1000. visual.c:25153: Test failed: Expected unsynchronised map for flags 0x3000.
Report errors: d3d8:device has no test summary line (early exit of the main process?) d3d8:device has unaccounted for skip messages d3d9:d3d9ex has no test summary line (early exit of the main process?) d3d9:d3d9ex has unaccounted for todo messages d3d9:device has no test summary line (early exit of the main process?) d3d9:device has unaccounted for todo messages d3d9:device has unaccounted for skip messages ddraw:ddraw1 has no test summary line (early exit of the main process?) ddraw:ddraw1 has unaccounted for todo messages ddraw:ddraw2 has no test summary line (early exit of the main process?) ddraw:ddraw2 has unaccounted for todo messages ddraw:ddraw4 has no test summary line (early exit of the main process?) ddraw:ddraw4 has unaccounted for todo messages ddraw:ddraw7 has no test summary line (early exit of the main process?) ddraw:ddraw7 has unaccounted for todo messages
=== debian10 (build log) ===
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
=== debian10 (32 bit WoW report) ===
d3d8: visual.c:6623: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 0, location 3x2. visual.c:6623: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 2, location 3x2. visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 0, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 1, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 2, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 3, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 4, 7, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 5, 7, size 0). visual.c:8791: Test failed: Test 0 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 6 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 10 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 11 shading has color1 000000ff, expected 0000ff00. visual.c:10297: Test failed: Expected unsynchronised map for flags 0x1000. visual.c:10297: Test failed: Expected unsynchronised map for flags 0x3000.
d3d9: visual.c:9410: Test failed: Test 0 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 6 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 10 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 11 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 12 shading has color1 000000ff, expected 0000ff00. visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 0, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 1, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 2, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 3, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 4, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 5, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 6, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 7, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 8, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 9, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 10, 7, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 11, 7, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 12, 7, size 0). visual.c:20743: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 0, location 3x2. visual.c:20743: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 2, location 3x2. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 80. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 80. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 80. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 77. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 77. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 77. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 75. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 75. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 75. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 1515474505. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 1515474505. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 1515474505. visual.c:25153: Test failed: Expected unsynchronised map for flags 0x1000. visual.c:25153: Test failed: Expected unsynchronised map for flags 0x3000.
Report errors: d3d8:device has no test summary line (early exit of the main process?) d3d8:device has unaccounted for todo messages d3d8:device has unaccounted for skip messages d3d9:d3d9ex has no test summary line (early exit of the main process?) d3d9:d3d9ex has unaccounted for todo messages d3d9:device has no test summary line (early exit of the main process?) d3d9:device has unaccounted for todo messages d3d9:device has unaccounted for skip messages ddraw:ddraw1 has no test summary line (early exit of the main process?) ddraw:ddraw1 has unaccounted for todo messages ddraw:ddraw2 has no test summary line (early exit of the main process?) ddraw:ddraw2 has unaccounted for todo messages ddraw:ddraw4 has no test summary line (early exit of the main process?) ddraw:ddraw4 has unaccounted for todo messages ddraw:ddraw7 has no test summary line (early exit of the main process?) ddraw:ddraw7 has unaccounted for todo messages ddraw:visual has no test summary line (early exit of the main process?)
=== debian10 (64 bit WoW report) ===
d3d8: visual.c:6623: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 0, location 3x2. visual.c:6623: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 2, location 3x2. visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 0, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 1, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 2, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 3, 3, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 4, 7, size 0). visual.c:7464: Test failed: Got unexpected color 0x0000ff00 (case 5, 7, size 0). visual.c:8791: Test failed: Test 0 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 6 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 10 shading has color1 000000ff, expected 0000ff00. visual.c:8791: Test failed: Test 11 shading has color1 000000ff, expected 0000ff00. visual.c:10297: Test failed: Expected unsynchronised map for flags 0x1000. visual.c:10297: Test failed: Expected unsynchronised map for flags 0x3000.
d3d9: visual.c:9410: Test failed: Test 0 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 6 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 10 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 11 shading has color1 000000ff, expected 0000ff00. visual.c:9410: Test failed: Test 12 shading has color1 000000ff, expected 0000ff00. visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 0, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 1, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 2, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 3, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 4, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 5, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 6, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 7, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 8, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x00ff0000 (case 9, 3, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 10, 7, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 11, 7, size 0). visual.c:11914: Test failed: Got unexpected color 0x0000ff00 (case 12, 7, size 0). visual.c:20743: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 0, location 3x2. visual.c:20743: Test failed: Expected color 0x00000000, got 0x000000ff, format D3DFMT_Q8W8V8U8, test 2, location 3x2. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 80. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 80. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 80. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 77. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 77. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 77. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 75. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 75. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 75. visual.c:22006: Test failed: Got unexpected color 00ffffff at x=64, format 1515474505. visual.c:22013: Test failed: Got unexpected color 000000ff at x=194, format 1515474505. visual.c:22023: Test failed: Got unexpected color 00000000 at x=446, format 1515474505. visual.c:25153: Test failed: Expected unsynchronised map for flags 0x1000. visual.c:25153: Test failed: Expected unsynchronised map for flags 0x3000.
Report errors: d3d8:device has no test summary line (early exit of the main process?) d3d8:device has unaccounted for skip messages d3d9:d3d9ex has no test summary line (early exit of the main process?) d3d9:d3d9ex has unaccounted for todo messages d3d9:device has no test summary line (early exit of the main process?) d3d9:device has unaccounted for todo messages d3d9:device has unaccounted for skip messages ddraw:ddraw1 has no test summary line (early exit of the main process?) ddraw:ddraw1 has unaccounted for todo messages ddraw:ddraw2 has no test summary line (early exit of the main process?) ddraw:ddraw2 has unaccounted for todo messages ddraw:ddraw4 has no test summary line (early exit of the main process?) ddraw:ddraw4 has unaccounted for todo messages ddraw:ddraw7 has no test summary line (early exit of the main process?) ddraw:ddraw7 has unaccounted for todo messages ddraw:visual has no test summary line (early exit of the main process?)
=== debian10 (build log) ===
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)