diff options
| author | Marc-André Lureau | 2016-08-26 11:47:11 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2016-09-28 12:49:26 +0200 |
| commit | cd958edb1fae85d0c7d1e1acbff82d22724e8d64 (patch) | |
| tree | 6cbe468332cab73000187aab999bd8e8dc9a39b0 /include | |
| parent | Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff) | |
| download | qemu-cd958edb1fae85d0c7d1e1acbff82d22724e8d64.tar.gz qemu-cd958edb1fae85d0c7d1e1acbff82d22724e8d64.tar.xz 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 'include')
0 files changed, 0 insertions, 0 deletions
