sluggish interactive resize
In a Wayland session on Gnome Shell 42 with proprietary Nvidia driver version 510 (Ubuntu 22.04), the interactive resize of the window with cairo plugin is very sluggish. The rest (resize via keyboard, maximise, fullscreen) works normally.
1x scale:
2x scale:
This seems to be related to the absolute buffer size. Resizing of smaller sizes at smaller scales is relatively smooth. Only when the size or scale increases (i.e. larger buffer size), the resizing becomes jerky.
Edit:
Actually, resizing on Intel GPUs at 2x scale is not so smooth either for large windows sizes:
I am not sure if there is much we can do on the libdecor side. If the client cannot repaint the window content within 1/60s, then resizing will be lagging. Apart from this, we can just benchmark what consumes most time in libdecor and the plugins.