Fix some surfaces missed in b1192bea

This commit is contained in:
Adrian Johnson 2015-10-17 22:02:11 +10:30
parent 30eb1b0e97
commit aa1323f04c
12 changed files with 24 additions and 12 deletions

View file

@ -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;
}

View file

@ -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);

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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);

View file

@ -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);

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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);