[Spice-devel] [PATCH 13/16] red_worker: cleanup red_clear_surface_drawables_from_pipes

Frediano Ziglio fziglio at redhat.com
Thu Nov 26 08:06:10 PST 2015


From: Yonit Halperin <yhalperi at redhat.com>

(1) merge 'force' and 'wait_for_outgoing_item' to one parameter.
    'wait_for_outgoing_item' is a derivative of 'force'.
(2) move the call to red_wait_outgoing_item to red_clear_surface_drawables_from_pipe
---
 server/dcc.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/dcc.h b/server/dcc.h
index 14981ca..7b8a3b8 100644
--- a/server/dcc.h
+++ b/server/dcc.h
@@ -204,7 +204,8 @@ void                       dcc_release_item                          (DisplayCha
 void                       dcc_send_item                             (DisplayChannelClient *dcc,
                                                                       PipeItem *item);
 int                        dcc_clear_surface_drawables_from_pipe     (DisplayChannelClient *dcc,
-                                                                      int surface_id, int force);
+                                                                      int surface_id,
+                                                                      int wait_if_used);
 int                        dcc_drawable_is_in_pipe                   (DisplayChannelClient *dcc,
                                                                       Drawable *drawable);
 
-- 
2.4.3



More information about the Spice-devel mailing list