winewayland.drv: Ensure Vulkan parent surface is mapped with proper size.
commitdc35c8a7b96f663e47326efc9bc39cad049bf777
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Tue, 7 Nov 2023 06:15:36 +0000 (7 08:15 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 29 Nov 2023 19:44:56 +0000 (29 20:44 +0100)
tree9bcce97b8eddcb7f541f3290c8af5abcfb08a9d9
parentd0fb8f637c2e3e09828a6017c9ef07026de3314d
winewayland.drv: Ensure Vulkan parent surface is mapped with proper size.

The client area subsurface (the target of Vulkan rendering) is not going
to be presented properly (or at all) by the compositor if its parent
surface is not mapped or doesn't have the right size, even though the
window may be visible from Wine's perspective. To avoid this issue,
ensure that the parent surface has up-to-date contents in terms of size,
in case these haven't been provided yet, or will never be provided
(e.g., when the Vulkan rendering is fullscreen).
dlls/winewayland.drv/vulkan.c
dlls/winewayland.drv/wayland_surface.c
dlls/winewayland.drv/waylanddrv.h
dlls/winewayland.drv/window.c