qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Revert "qxl: set mm_time in vga update"


From: Alon Levy
Subject: [Qemu-devel] [PATCH] Revert "qxl: set mm_time in vga update"
Date: Mon, 1 Aug 2011 13:21:41 +0300

This reverts commit 22795174a37e02200944c0d093d518e832650686.

Without this patch the windows logo animation during boot time was
correct, with it it jumps backwards and forwards erratically.
---
 ui/spice-display.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/ui/spice-display.c b/ui/spice-display.c
index 683d454..91b1cfc 100644
--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -134,7 +134,6 @@ static SimpleSpiceUpdate 
*qemu_spice_create_update(SimpleSpiceDisplay *ssd)
     QXLCommand *cmd;
     uint8_t *src, *dst;
     int by, bw, bh;
-    struct timespec time_space;
 
     if (qemu_spice_rect_is_empty(&ssd->dirty)) {
         return NULL;
@@ -161,10 +160,6 @@ static SimpleSpiceUpdate 
*qemu_spice_create_update(SimpleSpiceDisplay *ssd)
     drawable->surfaces_dest[0] = -1;
     drawable->surfaces_dest[1] = -1;
     drawable->surfaces_dest[2] = -1;
-    clock_gettime(CLOCK_MONOTONIC, &time_space);
-    /* time in milliseconds from epoch. */
-    drawable->mm_time = time_space.tv_sec * 1000
-                      + time_space.tv_nsec / 1000 / 1000;
 
     drawable->u.copy.rop_descriptor  = SPICE_ROPD_OP_PUT;
     drawable->u.copy.src_bitmap      = (intptr_t)image;
-- 
1.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]