diff options
| author | Akihiko Odaki <akihiko.odaki@gmail.com> | 2021-02-22 23:40:12 +0900 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-04 09:35:03 +0100 |
| commit | d9c32b8f7f5f05511d77a1ec1d1d35bf7bff2961 (patch) | |
| tree | af057dd59799f4af9271adf7a8afb3413ec6bd46 /ui/sdl2-gl.c | |
| parent | 8eb13bbbac08aa077efcf9877c9646c4497d766c (diff) | |
| download | focaccia-qemu-d9c32b8f7f5f05511d77a1ec1d1d35bf7bff2961.tar.gz focaccia-qemu-d9c32b8f7f5f05511d77a1ec1d1d35bf7bff2961.zip | |
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>
Diffstat (limited to 'ui/sdl2-gl.c')
0 files changed, 0 insertions, 0 deletions