[cairo-commit] src/cairo-cogl-surface.c src/cairo-directfb-surface.c src/cairo-gl-surface.c src/cairo-os2-surface.c src/cairo-quartz-image-surface.c src/cairo-quartz-surface.c src/cairo-tee-surface.c src/cairo-vg-surface.c src/cairo-xml-surface.c src/test-compositor-surface.c src/test-null-compositor-surface.c src/test-paginated-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Sat Oct 17 04:33:58 PDT 2015


 src/cairo-cogl-surface.c           |    3 ++-
 src/cairo-directfb-surface.c       |    3 ++-
 src/cairo-gl-surface.c             |    3 ++-
 src/cairo-os2-surface.c            |    3 ++-
 src/cairo-quartz-image-surface.c   |    3 ++-
 src/cairo-quartz-surface.c         |    3 ++-
 src/cairo-tee-surface.c            |    3 ++-
 src/cairo-vg-surface.c             |    3 ++-
 src/cairo-xml-surface.c            |    3 ++-
 src/test-compositor-surface.c      |    3 ++-
 src/test-null-compositor-surface.c |    3 ++-
 src/test-paginated-surface.c       |    3 ++-
 12 files changed, 24 insertions(+), 12 deletions(-)

New commits:
commit aa1323f04cd2c71317e9173fbe26fe7d0ba34908
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sat Oct 17 22:02:11 2015 +1030

    Fix some surfaces missed in b1192bea

diff --git a/src/cairo-cogl-surface.c b/src/cairo-cogl-surface.c
index c57fd7f..f61e16c 100644
--- a/src/cairo-cogl-surface.c
+++ b/src/cairo-cogl-surface.c
@@ -2544,7 +2544,8 @@ _cairo_cogl_surface_create_full (cairo_cogl_device_t *dev,
     _cairo_surface_init (&surface->base,
                          &_cairo_cogl_surface_backend,
                          &dev->base,
-                         CAIRO_CONTENT_COLOR_ALPHA);
+                         CAIRO_CONTENT_COLOR_ALPHA,
+			 FALSE); /* is_vector */
 
     return &surface->base;
 }
diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
index 5ac64ba..0deedf0 100644
--- a/src/cairo-directfb-surface.c
+++ b/src/cairo-directfb-surface.c
@@ -522,7 +522,8 @@ cairo_directfb_surface_create (IDirectFB *dfb, IDirectFBSurface *dfbsurface)
     _cairo_surface_init (&surface->image.base,
                          &_cairo_dfb_surface_backend,
 			 NULL, /* device */
-			 _directfb_format_to_content (format));
+			 _directfb_format_to_content (format),
+			 FALSE); /* is_vector */
 
     surface->image.pixman_format = pixman_format;
     surface->image.format = _cairo_format_from_pixman_format (pixman_format);
diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c
index cfccf4d..5950fbb 100644
--- a/src/cairo-gl-surface.c
+++ b/src/cairo-gl-surface.c
@@ -389,7 +389,8 @@ _cairo_gl_surface_init (cairo_device_t *device,
     _cairo_surface_init (&surface->base,
 			 &_cairo_gl_surface_backend,
 			 device,
-			 content);
+			 content,
+			 FALSE); /* is_vector */
 
     surface->width = width;
     surface->height = height;
diff --git a/src/cairo-os2-surface.c b/src/cairo-os2-surface.c
index 1ab50f9..226eec0 100644
--- a/src/cairo-os2-surface.c
+++ b/src/cairo-os2-surface.c
@@ -780,7 +780,8 @@ cairo_os2_surface_create (HPS hps_client_window,
     _cairo_surface_init (&local_os2_surface->base,
                          &cairo_os2_surface_backend,
                          NULL, /* device */
-                         _cairo_content_from_format (CAIRO_FORMAT_ARGB32));
+                         _cairo_content_from_format (CAIRO_FORMAT_ARGB32),
+			 FALSE); /* is_vector */
 
     /* Successful exit */
     return (cairo_surface_t *)local_os2_surface;
diff --git a/src/cairo-quartz-image-surface.c b/src/cairo-quartz-image-surface.c
index 498a7b0..8dc3c79 100644
--- a/src/cairo-quartz-image-surface.c
+++ b/src/cairo-quartz-image-surface.c
@@ -361,7 +361,8 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface)
     _cairo_surface_init (&qisurf->base,
 			 &cairo_quartz_image_surface_backend,
 			 NULL, /* device */
-			 _cairo_content_from_format (format));
+			 _cairo_content_from_format (format),
+			 FALSE); /* is_vector */
 
     qisurf->width = width;
     qisurf->height = height;
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 5e9b376..e047b22 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -2262,7 +2262,8 @@ _cairo_quartz_surface_create_internal (CGContextRef cgContext,
     _cairo_surface_init (&surface->base,
 			 &cairo_quartz_surface_backend,
 			 NULL, /* device */
-			 content);
+			 content,
+			 FALSE); /* is_vector */
 
     _cairo_surface_clipper_init (&surface->clipper,
 				 _cairo_quartz_surface_clipper_intersect_clip_path);
diff --git a/src/cairo-tee-surface.c b/src/cairo-tee-surface.c
index 294e5f1..48e9d43 100644
--- a/src/cairo-tee-surface.c
+++ b/src/cairo-tee-surface.c
@@ -435,7 +435,8 @@ cairo_tee_surface_create (cairo_surface_t *master)
     _cairo_surface_init (&surface->base,
 			 &cairo_tee_surface_backend,
 			 master->device,
-			 master->content);
+			 master->content,
+			 TRUE); /* is_vector */
 
     _cairo_surface_wrapper_init (&surface->master, master);
 
diff --git a/src/cairo-vg-surface.c b/src/cairo-vg-surface.c
index 6e0d9a0..b94b7aa 100644
--- a/src/cairo-vg-surface.c
+++ b/src/cairo-vg-surface.c
@@ -1529,7 +1529,8 @@ _vg_surface_create_internal (cairo_vg_context_t *context,
     _cairo_surface_init (&surface->base,
 			 &cairo_vg_surface_backend,
 			 NULL, /* device */
-			 _vg_format_to_content (format));
+			 _vg_format_to_content (format),
+			 FALSE); /* is_vector */
 
     surface->width  = width;
     surface->height = height;
diff --git a/src/cairo-xml-surface.c b/src/cairo-xml-surface.c
index 6dbafdb..b885fff 100644
--- a/src/cairo-xml-surface.c
+++ b/src/cairo-xml-surface.c
@@ -1105,7 +1105,8 @@ _cairo_xml_surface_create_internal (cairo_device_t *device,
     _cairo_surface_init (&surface->base,
 			 &_cairo_xml_surface_backend,
 			 device,
-			 content);
+			 content,
+			 TRUE); /* is_vector */
 
     surface->width = width;
     surface->height = height;
diff --git a/src/test-compositor-surface.c b/src/test-compositor-surface.c
index 1cc5f69..945d65b 100644
--- a/src/test-compositor-surface.c
+++ b/src/test-compositor-surface.c
@@ -87,7 +87,8 @@ test_compositor_surface_create (const cairo_compositor_t *compositor,
     _cairo_surface_init (&surface->base.base,
 			 &test_compositor_surface_backend,
 			 NULL, /* device */
-			 content);
+			 content,
+			 FALSE); /* is_vector */
     _cairo_image_surface_init (&surface->base, pixman_image, pixman_format);
 
     surface->base.compositor = compositor;
diff --git a/src/test-null-compositor-surface.c b/src/test-null-compositor-surface.c
index 2301055..d5d98c8 100644
--- a/src/test-null-compositor-surface.c
+++ b/src/test-null-compositor-surface.c
@@ -90,7 +90,8 @@ test_compositor_surface_create (const cairo_compositor_t *compositor,
     _cairo_surface_init (&surface->base.base,
 			 &test_compositor_surface_backend,
 			 NULL, /* device */
-			 content);
+			 content,
+			 FALSE); /* is_vector */
     _cairo_image_surface_init (&surface->base, pixman_image, pixman_format);
 
     surface->base.compositor = compositor;
diff --git a/src/test-paginated-surface.c b/src/test-paginated-surface.c
index 0a7c79b..a0d4c1c 100644
--- a/src/test-paginated-surface.c
+++ b/src/test-paginated-surface.c
@@ -81,7 +81,8 @@ _cairo_test_paginated_surface_create (cairo_surface_t *target)
     _cairo_surface_init (&surface->base,
 			 &test_paginated_surface_backend,
 			 NULL, /* device */
-			 target->content);
+			 target->content,
+			 TRUE); /* is_vector */
 
     surface->target = cairo_surface_reference (target);
 


More information about the cairo-commit mailing list