Re: [Qemu-devel] [PATCH] console: skip same-size resize

2016-09-07 Thread Marc-André Lureau
Hi On Wed, Sep 7, 2016 at 4:10 PM Gerd Hoffmann wrote: > On Fr, 2016-08-26 at 13:47 +0400, Marc-André Lureau wrote: > > virtio-gpu does a set-scanout at each frame (it might be a driver > > regression). > > xorg vs wayland maybe? as far I know only wayland pageflips for each > frame. > Don't k

Re: [Qemu-devel] [PATCH] console: skip same-size resize

2016-09-07 Thread Gerd Hoffmann
On Fr, 2016-08-26 at 13:47 +0400, Marc-André Lureau wrote: > virtio-gpu does a set-scanout at each frame (it might be a driver > regression). xorg vs wayland maybe? as far I know only wayland pageflips for each frame. > qemu_console_resize() recreate a surface even if the size > didn't change, a

[Qemu-devel] [PATCH] console: skip same-size resize

2016-08-26 Thread Marc-André Lureau
virtio-gpu does a set-scanout at each frame (it might be a driver regression). qemu_console_resize() recreate a surface even if the size didn't change, and this shows up in profiling reports because the surface is cleared. With this patch, I get a +15-20% glmark2 improvement. Signed-off-by: Marc-A