On 15/7/24 07:25, Akihiko Odaki wrote:
Add accelerated cursor composition to ui/cocoa. This does not only
improve performance for display devices that exposes the capability to
the guest according to dpy_cursor_define_supported(), but fixes the
cursor display for devices that unconditionally expects the availability
of the capability (e.g., virtio-gpu).

The common pattern to implement accelerated cursor composition is to
replace the cursor and warp it so that the replaced cursor is shown at
the correct position on the guest display for relative pointer devices.
Unfortunately, ui/cocoa cannot do the same because warping the cursor
position interfers with the mouse input so it uses CALayer instead;
although it is not specialized for cursor composition, it still can
compose images with hardware acceleration.


Akihiko Odaki (4):
       ui/cocoa: Release CGColorSpace
       ui/console: Convert mouse visibility parameter into bool
       ui/cocoa: Add cursor composition
       ui/console: Remove dpy_cursor_define_supported()

No issue with rudimentary testing, so series queued, thanks!

Reply via email to