qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 0/4] ui/cocoa: Add cursor composition


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 0/4] ui/cocoa: Add cursor composition
Date: Tue, 16 Jul 2024 19:55:30 +0200
User-agent: Mozilla Thunderbird

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

[Prev in Thread] Current Thread [Next in Thread]