summary refs log tree commit diff stats
path: root/scripts/qemu.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-08-26 13:47:11 +0400
committerGerd Hoffmann <kraxel@redhat.com>2016-09-28 12:49:26 +0200
commitcd958edb1fae85d0c7d1e1acbff82d22724e8d64 (patch)
tree6cbe468332cab73000187aab999bd8e8dc9a39b0 /scripts/qemu.py
parent7cfdc02dae0d2ff58c897496cfdbbafc0eda0f3f (diff)
downloadfocaccia-qemu-cd958edb1fae85d0c7d1e1acbff82d22724e8d64.tar.gz
focaccia-qemu-cd958edb1fae85d0c7d1e1acbff82d22724e8d64.zip
console: skip same-size resize
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-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20160826094711.14470-1-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/qemu.py')
0 files changed, 0 insertions, 0 deletions