mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2025-04-01 20:14:16 +00:00
This is intended to be the software fallback path where we have to take Update() and Scanout() method invocations from the Qemu instance. It implements paintable and tries to reuse a backing texture until a threshold has been met at which point it does a full redraw. The backing texture is reused between snapshots to increase the chance that we may skip a followup VRAM upload to the GPU. The damage rectangles will be re-uploaded each frame. There is some opportunity to optimize that last part by keeping them around and adding a secondary damage region. Of course, we would still want things to go the MksDmabufTexture path when possible.
libmks
This library provides a "Mouse, Keyboard, and Screen" to Qemu using the D-Bus device support in Qemu and GTK 4.
Description
This library provides a "Mouse, Keyboard, and Screen" to QEMU using the D-Bus device support in QEMU and GTK 4.
Languages
C
96.6%
Meson
3.2%
Shell
0.2%