[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats |
Date: |
Fri, 12 Oct 2018 15:33:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 12.10.18 14:48, Gerd Hoffmann wrote:
> On Mon, Oct 08, 2018 at 08:50:13PM +0200, Max Reitz wrote:
>> There are some 2D resource formats that can be used through virtio-gpu,
>> but which are not supported by SDL2 when used for a scanout; these are
>> all alpha-channel formats and also XBGR (RGBX in non-BE pixman).
>>
>> Add these formats in the switch converting pixman to SDL format
>> constants so a guest cannot crash the VM by triggering the
>> g_assert_not_reached() with an unsupported format.
>
> fixed (sdl2_2d_check_format update) & queued.
Thanks!
Max
signature.asc
Description: OpenPGP digital signature