Re: [PATCH 32/71] drm: fixed calls to _cairo_surface_init()

Bryce Harrington <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Mon, Apr 17, 2017 at 06:57:11PM +0200, Enrico Weigelt, metux IT consult wrote:
> This function now expects an additional parameter is_vector.
> 
> Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>

Reviewed-by: Bryce Harrington <[email protected]>

And pushed:
To ssh://git.freedesktop.org/git/cairo
   f7e686c..8455d88  master -> master

> ---
>  src/drm/cairo-drm-intel-surface.c  | 4 +++-
>  src/drm/cairo-drm-radeon-surface.c | 3 ++-
>  2 files changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/src/drm/cairo-drm-intel-surface.c b/src/drm/cairo-drm-intel-surface.c
> index ac540f88e..356dc4a4f 100644
> --- a/src/drm/cairo-drm-intel-surface.c
> +++ b/src/drm/cairo-drm-intel-surface.c
> @@ -279,7 +279,9 @@ intel_surface_init (intel_surface_t *surface,
>      _cairo_surface_init (&surface->drm.base,
>  			 backend,
>  			 &device->base,
> -			 _cairo_content_from_format (format));
> +			 _cairo_content_from_format (format),
> +			 FALSE);
> +
>      _cairo_drm_surface_init (&surface->drm, format, width, height);
>  
>      surface->snapshot_cache_entry.hash = 0;
> diff --git a/src/drm/cairo-drm-radeon-surface.c b/src/drm/cairo-drm-radeon-surface.c
> index 6406e536d..3adb0e0f2 100644
> --- a/src/drm/cairo-drm-radeon-surface.c
> +++ b/src/drm/cairo-drm-radeon-surface.c
> @@ -269,7 +269,8 @@ radeon_surface_init (radeon_surface_t *surface,
>      _cairo_surface_init (&surface->base.base,
>  			 &radeon_surface_backend,
>  			 &device->base,
> -			 _cairo_content_from_format (format));
> +			 _cairo_content_from_format (format),
> +			FALSE);
>      _cairo_drm_surface_init (&surface->base, format, width, height);
>  }
>  
> -- 
> 2.11.0.rc0.7.gbe5a750
> 
> -- 
> cairo mailing list
> [email protected]
> https://lists.cairographics.org/mailman/listinfo/cairo
-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.