Re: [PATCH 13/16] red_worker: cleanup red_clear_surface_drawables_from_pipes

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

 



On Fri, 2015-11-27 at 04:23 -0500, Frediano Ziglio wrote:
> > 
> > From: Yonit Halperin <yhalperi@xxxxxxxxxx>
> > 
> > (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
> 
> Surely the original patch must had been bigger then this.

It looks like this is the original patch: 
http://lists.freedesktop.org/archives/spice-devel/2013-September/014516.html



> Now is just an argument name rename.
> The rename actually is making the argument name coherent
> between declaration and definition.
> 
> I would go for a comment like
> 
> 
> red_worker: make dcc_clear_surface_drawables_from_pipe declaration consistent
> with definition
> 
> 
> (also the name was changed)
> 
> Frediano
> 
> > ---
> >  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);
> >  
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]