<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/ui, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/ui?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/ui?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-08-06T14:24:14Z</updated>
<entry>
<title>ui/console: Note in '-display help' that some backends support suboptions</title>
<updated>2024-08-06T14:24:14Z</updated>
<author>
<name>Peter Maydell</name>
<email>peter.maydell@linaro.org</email>
</author>
<published>2024-07-31T15:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=ef0a1212c9c9c4b50fb6f7d83fbb6cbb3c8e5355'/>
<id>urn:sha1:ef0a1212c9c9c4b50fb6f7d83fbb6cbb3c8e5355</id>
<content type='text'>
Currently '-display help' only prints the available backends. Some
of those backends support suboptions (e.g. '-display gtk,gl=on').
Mention that in the help output, and point the user to where they
might be able to find more information about the suboptions.
The new output looks like this:

  $ qemu-system-aarch64 -display help
  Available display backend types:
  none
  gtk
  sdl
  egl-headless
  curses
  spice-app
  dbus

  Some display backends support suboptions, which can be set with
     -display backend,option=value,option=value...
  For a short list of the suboptions for each display, see the top-level -help output; more detail is in the documentation.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Acked-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-ID: &lt;20240731154136.3494621-4-peter.maydell@linaro.org&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>util/fifo8: Rename fifo8_pop_buf() -&gt; fifo8_pop_bufptr()</title>
<updated>2024-07-23T20:34:54Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2024-07-22T11:25:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=06252bf5122f047ed5c14fb75f3167f11b882352'/>
<id>urn:sha1:06252bf5122f047ed5c14fb75f3167f11b882352</id>
<content type='text'>
Since fifo8_pop_buf() return a const buffer (which points
directly into the FIFO backing store). Rename it using the
'bufptr' suffix to better reflect that it is a pointer to
the internal buffer that is being returned. This will help
differentiate with methods *copying* the FIFO data.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Pierrick Bouvier &lt;pierrick.bouvier@linaro.org&gt;
Reviewed-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Message-Id: &lt;20240722160745.67904-6-philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>ui/vdagent: send caps on fe_open</title>
<updated>2024-07-22T08:47:28Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2024-07-17T17:15:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=865714cb3b88320e2e840eb851d084c757511a12'/>
<id>urn:sha1:865714cb3b88320e2e840eb851d084c757511a12</id>
<content type='text'>
The spice-vdagentd doesn't send capabilities again on host/client
disconnect (but when the session agent connects and sends a
GUEST_XORG_RESOLUTION message)

When the dbus client disconnects, vdagent_disconnect() is called to
reset the agent state. Capabilities must be negotiated again on
reconnection.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Message-Id: &lt;20240717171541.201525-5-marcandre.lureau@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/vdagent: notify clipboard peers of serial reset</title>
<updated>2024-07-22T08:47:28Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2024-07-17T17:15:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=63a5d4de589330f0a1c46f59a4b7336adda4635b'/>
<id>urn:sha1:63a5d4de589330f0a1c46f59a4b7336adda4635b</id>
<content type='text'>
Since we reset the serial counters, peers should also be reset to be sync.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Message-Id: &lt;20240717171541.201525-4-marcandre.lureau@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/vdagent: improve vdagent_fe_open() trace</title>
<updated>2024-07-22T08:47:28Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2024-07-17T17:15:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=81c88ce0b84db9395463901d79f7e87e9210527a'/>
<id>urn:sha1:81c88ce0b84db9395463901d79f7e87e9210527a</id>
<content type='text'>
Place the trace when the function enters, with arg value.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Message-Id: &lt;20240717171541.201525-3-marcandre.lureau@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui: add more tracing for dbus</title>
<updated>2024-07-22T08:47:28Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2024-07-17T17:15:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=2e35439f2521770d909b00b6984de8ff82ce9c7b'/>
<id>urn:sha1:2e35439f2521770d909b00b6984de8ff82ce9c7b</id>
<content type='text'>
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Message-Id: &lt;20240717171541.201525-2-marcandre.lureau@redhat.com&gt;
</content>
</entry>
<entry>
<title>Cursor: 8 -&gt; 1 bit alpha downsampling improvement</title>
<updated>2024-07-22T08:47:28Z</updated>
<author>
<name>Phil Dennis-Jordan</name>
<email>phil@philjordan.eu</email>
</author>
<published>2024-06-24T10:10:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=b4189dbf805c297fdd6dd228ffab673d44560bcd'/>
<id>urn:sha1:b4189dbf805c297fdd6dd228ffab673d44560bcd</id>
<content type='text'>
Mouse cursors with 8 bit alpha were downsampled to 1-bit opacity maps by
turning alpha values of 255 into 1 and everything else into 0. This
means that mostly-opaque pixels ended up completely invisible.

This patch changes the behaviour so that only pixels with less than 50%
alpha (0-127) are treated as transparent when converted to 1-bit alpha.

This greatly improves the subjective appearance of anti-aliased mouse
cursors, such as those used by macOS, when using a front-end UI without
support for alpha-blended cursors, such as some VNC clients.

Signed-off-by: Phil Dennis-Jordan &lt;phil@philjordan.eu&gt;
Reviewed-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20240624101040.82726-1-phil@philjordan.eu&gt;
</content>
</entry>
<entry>
<title>vnc: increase max display size</title>
<updated>2024-07-22T06:18:36Z</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2024-05-30T11:10:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=1f1736a8f16d27a99abd371caaeedc10e6411d15'/>
<id>urn:sha1:1f1736a8f16d27a99abd371caaeedc10e6411d15</id>
<content type='text'>
It's 2024.  4k display resolutions are a thing these days.
Raise width and height limits of the qemu vnc server.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1596
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-ID: &lt;20240530111029.1726329-1-kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/console: Remove dpy_cursor_define_supported()</title>
<updated>2024-07-16T18:04:08Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-07-15T05:25:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=4bba839808bb1c4f500a11462220a687b4d9ab25'/>
<id>urn:sha1:4bba839808bb1c4f500a11462220a687b4d9ab25</id>
<content type='text'>
Remove dpy_cursor_define_supported() as it brings no benefit today and
it has a few inherent problems.

All graphical displays except egl-headless support cursor composition
without DMA-BUF, and egl-headless is meant to be used in conjunction
with another graphical display, so dpy_cursor_define_supported()
always returns true and meaningless.

Even if we add a new display without cursor composition in the future,
dpy_cursor_define_supported() will be problematic as a cursor display
fix for it because some display devices like virtio-gpu cannot tell the
lack of cursor composition capability to the guest and are unable to
utilize the value the function returns. Therefore, all non-headless
graphical displays must actually implement cursor composition for
correct cursor display.

Another problem with dpy_cursor_define_supported() is that it returns
true even if only some of the display listeners support cursor
composition, which is wrong unless all display listeners that lack
cursor composition is headless.

Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Phil Dennis-Jordan &lt;phil@philjordan.eu&gt;
Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Message-ID: &lt;20240715-cursor-v3-4-afa5b9492dbf@daynix.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>ui/cocoa: Add cursor composition</title>
<updated>2024-07-16T18:04:08Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-07-15T05:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=d2277f02b819c795e671ce27f4a48d5e8fce97b9'/>
<id>urn:sha1:d2277f02b819c795e671ce27f4a48d5e8fce97b9</id>
<content type='text'>
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.

Co-authored-by: Phil Dennis-Jordan &lt;phil@philjordan.eu&gt;
Tested-by: Phil Dennis-Jordan &lt;phil@philjordan.eu&gt;
Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Message-ID: &lt;20240715-cursor-v3-3-afa5b9492dbf@daynix.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
</content>
</entry>
</feed>
