mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-07-02 16:02:38 +00:00
This library provides a "Mouse, Keyboard, and Screen" to QEMU using the D-Bus device support in QEMU and GTK 4.
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. |
||
---|---|---|
lib | ||
tools | ||
.editorconfig | ||
COPYING | ||
meson.build | ||
README.md |
libmks
This library provides a "Mouse, Keyboard, and Screen" to Qemu using the D-Bus device support in Qemu and GTK 4.