[Spice-devel] [spice-common 1/3] Remove another redundant (SW_CANVAS_CACHE) || (SW_CANVAS_IMAGE_CACHE) #ifdef

Christophe Fergeau cfergeau at redhat.com
Tue Feb 3 01:50:17 PST 2015


Ping for patch series ?

Christophe

On Mon, Jan 26, 2015 at 01:18:24PM +0100, Christophe Fergeau wrote:
> ---
>  common/canvas_base.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/common/canvas_base.c b/common/canvas_base.c
> index 7ebea7b..417741e 100644
> --- a/common/canvas_base.c
> +++ b/common/canvas_base.c
> @@ -1588,12 +1588,10 @@ static pixman_image_t *canvas_get_mask(CanvasBase *canvas, SpiceQMask *mask, int
>          surface = canvas_get_bitmap_mask(canvas, &image->u.bitmap, is_invers);
>          break;
>      }
> -#if defined(SW_CANVAS_CACHE) || defined(SW_CANVAS_IMAGE_CACHE)
>      case SPICE_IMAGE_TYPE_FROM_CACHE:
>          surface = canvas->bits_cache->ops->get(canvas->bits_cache, image->descriptor.id);
>          is_invers = 0;
>          break;
> -#endif
>  #ifdef SW_CANVAS_CACHE
>      case SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS:
>          surface = canvas->bits_cache->ops->get_lossless(canvas->bits_cache, image->descriptor.id);
> -- 
> 2.1.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150203/8b39357c/attachment.sig>


More information about the Spice-devel mailing list