[cairo] [PATCH 22/72] drm: fixed missing includes

Bryce Harrington bryce at osg.samsung.com
Fri Jan 15 12:33:16 PST 2016


On Tue, Dec 29, 2015 at 10:17:00AM +0100, Enrico Weigelt, metux IT consult wrote:
> Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>

Seems straightforward enough.
I'd push it but it appears to depend on one of the earlier patches that
hasn't been pushed yet, so for now just marking R-b.

Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

> ---
>  src/drm/cairo-drm-i915-glyphs.c    | 1 +
>  src/drm/cairo-drm-i915-shader.c    | 1 +
>  src/drm/cairo-drm-i915-surface.c   | 1 +
>  src/drm/cairo-drm-intel-private.h  | 1 +
>  src/drm/cairo-drm-intel-surface.c  | 2 ++
>  src/drm/cairo-drm-intel.c          | 2 ++
>  src/drm/cairo-drm-radeon-surface.c | 1 +
>  src/drm/cairo-drm-radeon.c         | 1 +
>  8 files changed, 10 insertions(+)
> 
> diff --git a/src/drm/cairo-drm-i915-glyphs.c b/src/drm/cairo-drm-i915-glyphs.c
> index c648030..9800f1c 100644
> --- a/src/drm/cairo-drm-i915-glyphs.c
> +++ b/src/drm/cairo-drm-i915-glyphs.c
> @@ -39,6 +39,7 @@
>  #include "cairo-drm-i915-private.h"
>  #include "cairo-error-private.h"
>  #include "cairo-rtree-private.h"
> +#include "cairo-clip-inline.h"
>  
>  static void
>  i915_emit_glyph_rectangle_zero (i915_device_t *device,
> diff --git a/src/drm/cairo-drm-i915-shader.c b/src/drm/cairo-drm-i915-shader.c
> index e2dba9b..370c86d 100644
> --- a/src/drm/cairo-drm-i915-shader.c
> +++ b/src/drm/cairo-drm-i915-shader.c
> @@ -38,6 +38,7 @@
>  #include "cairo-surface-offset-private.h"
>  #include "cairo-surface-subsurface-private.h"
>  #include "cairo-surface-snapshot-private.h"
> +#include "cairo-image-surface-private.h"
>  
>  #if 0
>  static cairo_status_t
> diff --git a/src/drm/cairo-drm-i915-surface.c b/src/drm/cairo-drm-i915-surface.c
> index 92016dd..1db6e5f 100644
> --- a/src/drm/cairo-drm-i915-surface.c
> +++ b/src/drm/cairo-drm-i915-surface.c
> @@ -109,6 +109,7 @@
>  #include "cairo-path-fixed-private.h"
>  #include "cairo-region-private.h"
>  #include "cairo-surface-offset-private.h"
> +#include "cairo-image-surface-private.h"
>  
>  #include <sys/ioctl.h>
>  #include <sys/mman.h>
> diff --git a/src/drm/cairo-drm-intel-private.h b/src/drm/cairo-drm-intel-private.h
> index 1bb30c6..4ba36a8 100644
> --- a/src/drm/cairo-drm-intel-private.h
> +++ b/src/drm/cairo-drm-intel-private.h
> @@ -39,6 +39,7 @@
>  #include "cairo-mutex-private.h"
>  #include "cairo-rtree-private.h"
>  #include "cairo-types-private.h"
> +#include "cairo-pattern-private.h"
>  
>  #include "cairo-drm-intel-ioctl-private.h"
>  
> diff --git a/src/drm/cairo-drm-intel-surface.c b/src/drm/cairo-drm-intel-surface.c
> index f69ae46..cc0b29b 100644
> --- a/src/drm/cairo-drm-intel-surface.c
> +++ b/src/drm/cairo-drm-intel-surface.c
> @@ -35,6 +35,8 @@
>  #include "cairo-default-context-private.h"
>  #include "cairo-error-private.h"
>  
> +#include "cairo-image-surface-private.h"
> +
>  /* Basic generic/stub surface for intel chipsets */
>  
>  #define MAX_SIZE 2048
> diff --git a/src/drm/cairo-drm-intel.c b/src/drm/cairo-drm-intel.c
> index 1bde957..c70f6d2 100644
> --- a/src/drm/cairo-drm-intel.c
> +++ b/src/drm/cairo-drm-intel.c
> @@ -35,6 +35,8 @@
>  
>  #include "cairo-error-private.h"
>  #include "cairo-freelist-private.h"
> +#include "cairo-pattern-private.h"
> +#include "cairo-image-surface-private.h"
>  
>  #include <sys/ioctl.h>
>  #include <sys/mman.h>
> diff --git a/src/drm/cairo-drm-radeon-surface.c b/src/drm/cairo-drm-radeon-surface.c
> index f01922f..cb245f3 100644
> --- a/src/drm/cairo-drm-radeon-surface.c
> +++ b/src/drm/cairo-drm-radeon-surface.c
> @@ -38,6 +38,7 @@
>  
>  #include "cairo-default-context-private.h"
>  #include "cairo-error-private.h"
> +#include "cairo-image-surface-private.h"
>  
>  /* Basic stub surface for radeon chipsets */
>  
> diff --git a/src/drm/cairo-drm-radeon.c b/src/drm/cairo-drm-radeon.c
> index 37601c3..842994d 100644
> --- a/src/drm/cairo-drm-radeon.c
> +++ b/src/drm/cairo-drm-radeon.c
> @@ -33,6 +33,7 @@
>  #include "cairo-drm-radeon-private.h"
>  
>  #include "cairo-error-private.h"
> +#include "cairo-image-surface-private.h"
>  
>  #include <sys/ioctl.h>
>  #include <sys/mman.h>
> -- 
> 2.6.4.442.g545299f
> 
> -- 
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list