Module: wine Branch: master Commit: 4371a2604198b9ab126240400de3fbddd583abf1 URL: https://gitlab.winehq.org/wine/wine/-/commit/4371a2604198b9ab126240400de3fbd...
Author: Alexandros Frantzis alexandros.frantzis@collabora.com Date: Thu May 18 14:13:27 2023 +0300
winewayland.drv: Use a buffer queue for window_surface.
Create a buffer queue to hold the SHM buffers for each window_surface, to be able to reuse released buffers instead of constantly creating new ones.
---
dlls/winewayland.drv/wayland_surface.c | 29 +++++- dlls/winewayland.drv/waylanddrv.h | 6 +- dlls/winewayland.drv/window_surface.c | 174 ++++++++++++++++++++++++++++++--- 3 files changed, 192 insertions(+), 17 deletions(-)