diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-08-26 13:47:11 +0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-09-28 12:49:26 +0200 |
commit | cd958edb1fae85d0c7d1e1acbff82d22724e8d64 (patch) | |
tree | 6cbe468332cab73000187aab999bd8e8dc9a39b0 /slirp | |
parent | 7cfdc02dae0d2ff58c897496cfdbbafc0eda0f3f (diff) | |
download | qemu-cd958edb1fae85d0c7d1e1acbff82d22724e8d64.tar.gz qemu-cd958edb1fae85d0c7d1e1acbff82d22724e8d64.tar.bz2 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 'slirp')
0 files changed, 0 insertions, 0 deletions