]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Use double buffering with SDL
authorSasha Levin <levinsasha928@gmail.com>
Thu, 9 Jun 2011 20:48:17 +0000 (16:48 -0400)
committerPekka Enberg <penberg@kernel.org>
Thu, 9 Jun 2011 05:32:28 +0000 (08:32 +0300)
commit7ae6095e5c1b28b4efc88056fea7fdd75e1fd82b
tree307b85c5df75fc9c03fa03fbd73c3b1e7dbaa2a3
parent35e50510660d26b1c8e76b3e8bce0bd0d527f86e
kvm tools: Use double buffering with SDL

Page flip every time we copy the buffer over instead of invalidating
rects.
This should improve performance by letting hardware do the page
flipping.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/ui/sdl.c