[Spice-commits] 2 commits - server/red_worker.c

Alon Levy alon at kemper.freedesktop.org
Wed Jul 20 01:08:41 PDT 2011


 server/red_worker.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 16c844e3741ad28c12a6f6c27b28d001376742e5
Author: Alon Levy <alevy at redhat.com>
Date:   Thu Jul 7 17:43:28 2011 +0200

    server/red_worker: remove print on handle_dev_destroy_surfaces

diff --git a/server/red_worker.c b/server/red_worker.c
index 8337a9b..2349ac5 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -9550,7 +9550,7 @@ static inline void handle_dev_destroy_surfaces(RedWorker *worker)
 {
     int i;
     RedWorkerMessage message;
-    red_printf("");
+
     flush_all_qxl_commands(worker);
     //to handle better
     for (i = 0; i < NUM_SURFACES; ++i) {
commit 5120dfb284375fc745bb49d82e051edb34cc672e
Author: Alon Levy <alevy at redhat.com>
Date:   Thu Jul 7 17:39:02 2011 +0200

    server/red_worker: *_release_item: less frequent debug messages

diff --git a/server/red_worker.c b/server/red_worker.c
index bfb3cf9..8337a9b 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -9149,7 +9149,7 @@ static void display_channel_release_item(RedChannel *channel, PipeItem *item, in
     if (item_pushed) {
         display_channel_release_item_after_push((DisplayChannel *)channel, item);
     } else {
-        red_printf("not pushed");
+        red_printf_once("not pushed (%d)", item->type);
         display_channel_release_item_before_push((DisplayChannel *)channel, item);
     }
 }
@@ -9311,7 +9311,7 @@ static void cursor_channel_release_item(RedChannel *channel, PipeItem *item, int
     if (item_pushed) {
         cursor_channel_release_item_after_push((CursorChannel *)channel, item);
     } else {
-        red_printf("not pushed");
+        red_printf_once("not pushed (%d)", item->type);
         cursor_channel_release_item_before_push((CursorChannel *)channel, item);
     }
 }


More information about the Spice-commits mailing list