[Spice-devel] [PATCH spice-common 5/8] canvas: Remove dc parameter from SwCanvas::put_image

Frediano Ziglio fziglio at redhat.com
Thu Jan 18 14:59:03 UTC 2018


> 
> On Wed, Jan 17, 2018 at 11:31:07AM +0000, Frediano Ziglio wrote:
> > Not used anymore.
> > 
> > Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> > ---
> >  common/canvas_base.h | 3 ---
> >  common/sw_canvas.c   | 3 ---
> >  2 files changed, 6 deletions(-)
> > 
> > diff --git a/common/canvas_base.h b/common/canvas_base.h
> > index 2d3c35b..b746bcb 100644
> > --- a/common/canvas_base.h
> > +++ b/common/canvas_base.h
> > @@ -141,9 +141,6 @@ typedef struct {
> >      void (*draw_transparent)(SpiceCanvas *canvas, SpiceRect *bbox,
> >      SpiceClip *clip, SpiceTransparent* transparent);
> >      void (*draw_alpha_blend)(SpiceCanvas *canvas, SpiceRect *bbox,
> >      SpiceClip *clip, SpiceAlphaBlend* alpha_blend);
> >      void (*put_image)(SpiceCanvas *canvas,
> > -#ifdef WIN32
> > -                      HDC dc,
> > -#endif
> >                        const SpiceRect *dest, const uint8_t *src_data,
> >                        uint32_t src_width, uint32_t src_height, int
> >                        src_stride,
> >                        const QRegion *clip);
> 
> NB: This change needs a follow-up patch in spice-gtk or the build is
> broken.
> 
> Christophe
> 

Sure, sent updates.

Frediano


More information about the Spice-devel mailing list