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

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

 



On Wed, Jan 17, 2018 at 11:31:07AM +0000, Frediano Ziglio wrote:
> Not used anymore.
> 
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://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]