summaryrefslogtreecommitdiff
path: root/src/cairo-vg-surface.c
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-10-22 02:13:36 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-10-22 02:29:47 +0300
commit43a775f60da57206b194039cd5d8b6a735284c45 (patch)
treed6336bb46cc3927819c1341900ae80ca54b71abc /src/cairo-vg-surface.c
parentdf357f26ff72571acb840715efa4930054d4fdbe (diff)
[meta] Rename cairo_meta_surface_t to cairo_recording_surface_t.
The new name is more descriptive than the rather opaque meta surface. Discussed with vigour on the mailing list and #cairo: http://lists.cairographics.org/archives/cairo/2009-July/017571.html
Diffstat (limited to 'src/cairo-vg-surface.c')
-rw-r--r--src/cairo-vg-surface.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cairo-vg-surface.c b/src/cairo-vg-surface.c
index de22c10d..5ca01b6e 100644
--- a/src/cairo-vg-surface.c
+++ b/src/cairo-vg-surface.c
@@ -39,7 +39,7 @@
#include "cairo-vg.h"
#include "cairo-path-fixed-private.h"
-#include "cairo-meta-surface-private.h"
+#include "cairo-recording-surface-private.h"
#include "cairo-surface-clipper-private.h"
#include "cairo-cache-private.h"
@@ -840,7 +840,7 @@ _vg_setup_solid_source (cairo_vg_context_t *context,
}
static cairo_vg_surface_t *
-_vg_clone_meta_surface (cairo_vg_context_t *context,
+_vg_clone_recording_surface (cairo_vg_context_t *context,
cairo_surface_t *surface)
{
VGImage vg_image;
@@ -870,7 +870,7 @@ _vg_clone_meta_surface (cairo_vg_context_t *context,
extents.width, extents.height);
cairo_surface_set_device_offset (&clone->base, -extents.x, -extents.y);
- status = _cairo_meta_surface_replay (surface, &clone->base);
+ status = _cairo_recording_surface_replay (surface, &clone->base);
if (unlikely (status)) {
cairo_surface_destroy (&clone->base);
return (cairo_vg_surface_t *) _cairo_surface_create_in_error (status);
@@ -965,8 +965,8 @@ _vg_setup_surface_source (cairo_vg_context_t *context,
goto DONE;
}
- if (_cairo_surface_is_meta (spat->surface))
- clone = _vg_clone_meta_surface (context, spat->surface);
+ if (_cairo_surface_is_recording (spat->surface))
+ clone = _vg_clone_recording_surface (context, spat->surface);
else
clone = _vg_clone_image_surface (context, spat->surface);
if (clone == NULL)