winewayland.drv: Track damaged buffer regions.
commitd5b3ac08c9b3709e7c573decc8bef34de132d1ed
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Thu, 18 May 2023 13:20:18 +0000 (18 16:20 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 6 Jul 2023 18:54:30 +0000 (6 20:54 +0200)
tree42b1061d37c143887fefb8593f56467ebd13dbd0
parent4371a2604198b9ab126240400de3fbddd583abf1
winewayland.drv: Track damaged buffer regions.

Track the buffer regions that require an update since the last buffer
commit, and copy only those parts from the window_surface to the buffer.
dlls/winewayland.drv/wayland_surface.c
dlls/winewayland.drv/waylanddrv.h
dlls/winewayland.drv/window_surface.c