Re: [Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats

2018-10-12 Thread Max Reitz
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

Re: [Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats

2018-10-12 Thread Gerd Hoffmann
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

Re: [Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats

2018-10-11 Thread Gerd Hoffmann
On Wed, Oct 10, 2018 at 07:35:06PM +0200, Max Reitz wrote: > On 10.10.18 12:10, 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, > > > > Ahem, not really. XRGB is the only one which

Re: [Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats

2018-10-10 Thread Max Reitz
On 10.10.18 19:35, Max Reitz wrote: > On 10.10.18 12:10, 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, >> >> Ahem, not really. XRGB is the only one which works in practice, and >>

Re: [Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats

2018-10-10 Thread Max Reitz
On 10.10.18 12:10, 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, > > Ahem, not really. XRGB is the only one which works in practice, and > virtio-gpu kms driver will stop advertising

Re: [Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats

2018-10-10 Thread Gerd Hoffmann
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, Ahem, not really. XRGB is the only one which works in practice, and virtio-gpu kms driver will stop advertising anything else soon (patches should land upstream

Re: [Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats

2018-10-08 Thread Max Reitz
On 08.10.18 20:50, 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). Oops, it's the other way round. The virtio-gpu

[Qemu-devel] [PATCH] sdl2: Support all virtio-gpu formats

2018-10-08 Thread Max Reitz
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