diff options
author | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2014-08-12 17:29:55 +0400 |
---|---|---|
committer | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2014-08-12 17:30:45 +0400 |
commit | 46f2826d5822c23e3fa108809d2ca1fc976c4754 (patch) | |
tree | 3c267c8f6ced6549b4a613d3da7dcdd3c8052888 /hw | |
parent | 805cd22786fc0b337d9e9f7e9009da8196cfaa92 (diff) | |
download | qemu-46f2826d5822c23e3fa108809d2ca1fc976c4754.tar.gz qemu-46f2826d5822c23e3fa108809d2ca1fc976c4754.tar.bz2 qemu-46f2826d5822c23e3fa108809d2ca1fc976c4754.zip |
VIGS/qt5: support sw backend
sw backend is working again, but still need
to handle skin rotation properly
Change-Id: I8f42f562aef839ff257a87db9fb346af9bf3c907
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/vigs/vigs_server.c | 1 | ||||
-rw-r--r-- | hw/vigs/vigs_sw_backend.c | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/hw/vigs/vigs_server.c b/hw/vigs/vigs_server.c index 082506c4d3..54d712e62a 100644 --- a/hw/vigs/vigs_server.c +++ b/hw/vigs/vigs_server.c @@ -746,7 +746,6 @@ bool vigs_server_process_captured(struct vigs_server *server, bool force) } server->captured->dirty = false; - updated = true; server->display_ops->resize(server->display_user_data, server->captured->width, diff --git a/hw/vigs/vigs_sw_backend.c b/hw/vigs/vigs_sw_backend.c index 35224c0628..613f6e557a 100644 --- a/hw/vigs/vigs_sw_backend.c +++ b/hw/vigs/vigs_sw_backend.c @@ -379,15 +379,13 @@ static bool vigs_sw_backend_composite(struct vigs_surface *surface, memcpy(display_data, surface->ptr, surface->stride * surface->ws_sfc->height); - return true; - } else if (surface->is_dirty) { + } else { memcpy(display_data, sw_sfc->data, surface->stride * surface->ws_sfc->height); - return true; } - return false; + return true; } static void vigs_sw_backend_batch_end(struct vigs_backend *backend) |