Akihiko Odaki d9c32b8f7f ui/cocoa: Fix stride resolution of pixman image
A display can receive an image which its stride is greater than its
width. In fact, when a guest requests virtio-gpu to scan out a
smaller part of an image, virtio-gpu passes it to a display as an
image which its width represents the one of the part and its stride
equals to the one of the whole image.

This change makes ui/cocoa to cover such cases.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20210222144012.21486-1-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2021-03-04 09:35:03 +01:00
..
2020-09-30 19:09:19 +02:00
2019-03-11 08:39:02 +01:00
2021-02-04 15:58:54 +01:00
2021-02-04 15:58:54 +01:00
2020-10-15 16:35:06 +01:00
2019-08-16 13:31:52 +02:00
2020-12-10 12:15:18 -05:00
2021-02-04 15:58:54 +01:00
2020-08-21 06:30:21 -04:00
2017-07-27 14:23:09 +02:00
2019-08-16 13:31:52 +02:00
2016-02-04 17:01:04 +00:00
2019-02-05 16:50:18 +01:00
2021-01-23 15:55:07 -05:00