[cairo-commit] src/cairo-image-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Apr 28 03:39:19 PDT 2010
src/cairo-image-surface.c | 10 ++++++++++
1 file changed, 10 insertions(+)
New commits:
commit bb853916f3581af13cc1abff185ef5e0218f9f1e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Apr 28 11:37:59 2010 +0100
image: Generate clear/white/black images when !HAS_ATOMIC_OPS
Andrea reported that b74cc0f broke compilation without atomic ops.
diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c
index 7e0248b..891e5bc 100644
--- a/src/cairo-image-surface.c
+++ b/src/cairo-image-surface.c
@@ -943,6 +943,16 @@ _pixman_white_image (void)
}
#else
static pixman_image_t *
+_pixman_transparent_image (void)
+{
+ return _pixman_image_for_solid (&_cairo_pattern_clear);
+}
+static pixman_image_t *
+_pixman_black_image (void)
+{
+ return _pixman_image_for_solid (&_cairo_pattern_black);
+}
+static pixman_image_t *
_pixman_white_image (void)
{
return _pixman_image_for_solid (&_cairo_pattern_white);
More information about the cairo-commit
mailing list