[Bug 59398] New: Vulkan child windows not excluded from parent GDI surface clip region
http://bugs.winehq.org/show_bug.cgi?id=59398 Bug ID: 59398 Summary: Vulkan child windows not excluded from parent GDI surface clip region Product: Wine Version: 10.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: win32u Assignee: wine-bugs@list.winehq.org Reporter: dethaway340@gmail.com Distribution: --- Created attachment 80359 --> http://bugs.winehq.org/attachment.cgi?id=80359 git format patch Longer explanation in the .patch attachment but TLDR; vkCreateWin32SurfaceKHR → surface added to win->vulkan_surfaces list → update_window_state(hwnd) → [if cross-thread: posts WM_WINE_UPDATEWINDOWSTATE, returns] → get_window_surface(hwnd, ...) → returns NULL (due to window.c change #1) → apply_window_pos(hwnd, ...) → sends SET_WINPOS_PIXEL_FORMAT to server (due to window.c change #2) → server: sets PAINT_HAS_PIXEL_FORMAT on child → server: update_pixel_format_flags() sets PAINT_PIXEL_FORMAT_CHILD on parents → server returns surface_win = parent that owns the GDI surface → update_surface_region(surface_win) → queries server for new surface clip region → server: get_surface_region() → clip_pixel_format_children() subtracts Vulkan child rect → sets XSetClipRectangles on parent's GC, excluding Vulkan child area → Parent GDI flush no longer paints over Vulkan viewport -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59398 Rémi Bernon <rbernon@codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com --- Comment #1 from Rémi Bernon <rbernon@codeweavers.com> --- Things have changed around there, and I suspect this is done more or less like that in Wine 11.0. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla