[cairo-commit] src/cairo-image-source.c test/reference

Chris Wilson ickle at kemper.freedesktop.org
Sat Mar 3 04:38:26 PST 2012


 src/cairo-image-source.c                                              |   29 +++++-----
 test/reference/record-extend-none-similar.base.argb32.ref.png         |binary
 test/reference/record-extend-none-similar.base.rgb24.ref.png          |binary
 test/reference/record-extend-none.base.argb32.ref.png                 |binary
 test/reference/record-extend-none.base.rgb24.ref.png                  |binary
 test/reference/record-extend-pad-similar.base.argb32.ref.png          |binary
 test/reference/record-extend-pad-similar.base.rgb24.ref.png           |binary
 test/reference/record-extend-pad.base.argb32.ref.png                  |binary
 test/reference/record-extend-pad.base.rgb24.ref.png                   |binary
 test/reference/record-extend-reflect-similar.base.argb32.ref.png      |binary
 test/reference/record-extend-reflect-similar.base.rgb24.ref.png       |binary
 test/reference/record-extend-reflect.base.argb32.ref.png              |binary
 test/reference/record-extend-reflect.base.rgb24.ref.png               |binary
 test/reference/record-extend-repeat-similar.base.argb32.ref.png       |binary
 test/reference/record-extend-repeat-similar.base.rgb24.ref.png        |binary
 test/reference/record-extend-repeat.base.argb32.ref.png               |binary
 test/reference/record-extend-repeat.base.rgb24.ref.png                |binary
 test/reference/record-fill-alpha.base.argb32.ref.png                  |binary
 test/reference/record-fill-alpha.base.rgb24.ref.png                   |binary
 test/reference/record-fill-alpha.base.xfail.png                       |binary
 test/reference/record-mesh.base.argb32.ref.png                        |binary
 test/reference/record-mesh.base.rgb24.ref.png                         |binary
 test/reference/record-paint-alpha-clip-mask.base.argb32.ref.png       |binary
 test/reference/record-paint-alpha-clip-mask.base.rgb24.ref.png        |binary
 test/reference/record-paint-alpha-clip-mask.base.xfail.png            |binary
 test/reference/record-paint-alpha-clip.base.argb32.ref.png            |binary
 test/reference/record-paint-alpha-clip.base.rgb24.ref.png             |binary
 test/reference/record-paint-alpha-solid-clip.base.argb32.ref.png      |binary
 test/reference/record-paint-alpha-solid-clip.base.rgb24.ref.png       |binary
 test/reference/record-paint-alpha.base.argb32.ref.png                 |binary
 test/reference/record-paint-alpha.base.rgb24.ref.png                  |binary
 test/reference/record-paint.base.argb32.ref.png                       |binary
 test/reference/record-paint.base.rgb24.ref.png                        |binary
 test/reference/record-select-font-face.base.argb32.ref.png            |binary
 test/reference/record-select-font-face.base.rgb24.ref.png             |binary
 test/reference/record-self-intersecting.base.argb32.ref.png           |binary
 test/reference/record-self-intersecting.base.rgb24.ref.png            |binary
 test/reference/record-text-transform.base.argb32.ref.png              |binary
 test/reference/record-text-transform.base.rgb24.ref.png               |binary
 test/reference/record1414x-fill-alpha.base.argb32.ref.png             |binary
 test/reference/record1414x-fill-alpha.base.rgb24.ref.png              |binary
 test/reference/record1414x-fill-alpha.base.xfail.png                  |binary
 test/reference/record1414x-paint-alpha-clip-mask.base.argb32.ref.png  |binary
 test/reference/record1414x-paint-alpha-clip-mask.base.rgb24.ref.png   |binary
 test/reference/record1414x-paint-alpha-clip.base.argb32.ref.png       |binary
 test/reference/record1414x-paint-alpha-clip.base.rgb24.ref.png        |binary
 test/reference/record1414x-paint-alpha-solid-clip.base.argb32.ref.png |binary
 test/reference/record1414x-paint-alpha-solid-clip.base.rgb24.ref.png  |binary
 test/reference/record1414x-paint-alpha.base.argb32.ref.png            |binary
 test/reference/record1414x-paint-alpha.base.rgb24.ref.png             |binary
 test/reference/record1414x-paint.base.argb32.ref.png                  |binary
 test/reference/record1414x-paint.base.rgb24.ref.png                   |binary
 test/reference/record1414x-select-font-face.base.argb32.ref.png       |binary
 test/reference/record1414x-select-font-face.base.rgb24.ref.png        |binary
 test/reference/record1414x-self-intersecting.base.argb32.ref.png      |binary
 test/reference/record1414x-self-intersecting.base.rgb24.ref.png       |binary
 test/reference/record1414x-text-transform.base.argb32.ref.png         |binary
 test/reference/record1414x-text-transform.base.rgb24.ref.png          |binary
 test/reference/record2x-fill-alpha.base.argb32.ref.png                |binary
 test/reference/record2x-fill-alpha.base.rgb24.ref.png                 |binary
 test/reference/record2x-fill-alpha.base.xfail.png                     |binary
 test/reference/record2x-paint-alpha-clip-mask.base.argb32.ref.png     |binary
 test/reference/record2x-paint-alpha-clip-mask.base.rgb24.ref.png      |binary
 test/reference/record2x-paint-alpha-clip.base.argb32.ref.png          |binary
 test/reference/record2x-paint-alpha-clip.base.rgb24.ref.png           |binary
 test/reference/record2x-paint-alpha-solid-clip.base.argb32.ref.png    |binary
 test/reference/record2x-paint-alpha-solid-clip.base.rgb24.ref.png     |binary
 test/reference/record2x-paint-alpha.base.argb32.ref.png               |binary
 test/reference/record2x-paint-alpha.base.rgb24.ref.png                |binary
 test/reference/record2x-paint.base.argb32.ref.png                     |binary
 test/reference/record2x-paint.base.rgb24.ref.png                      |binary
 test/reference/record2x-select-font-face.base.argb32.ref.png          |binary
 test/reference/record2x-select-font-face.base.rgb24.ref.png           |binary
 test/reference/record2x-self-intersecting.base.argb32.ref.png         |binary
 test/reference/record2x-self-intersecting.base.rgb24.ref.png          |binary
 test/reference/record2x-text-transform.base.argb32.ref.png            |binary
 test/reference/record2x-text-transform.base.rgb24.ref.png             |binary
 test/reference/record90-fill-alpha.base.argb32.ref.png                |binary
 test/reference/record90-fill-alpha.base.rgb24.ref.png                 |binary
 test/reference/record90-paint-alpha-clip-mask.base.argb32.ref.png     |binary
 test/reference/record90-paint-alpha-clip-mask.base.rgb24.ref.png      |binary
 test/reference/record90-paint-alpha-clip.base.argb32.ref.png          |binary
 test/reference/record90-paint-alpha-clip.base.rgb24.ref.png           |binary
 test/reference/record90-paint-alpha-solid-clip.base.argb32.ref.png    |binary
 test/reference/record90-paint-alpha-solid-clip.base.rgb24.ref.png     |binary
 test/reference/record90-paint-alpha.base.argb32.ref.png               |binary
 test/reference/record90-paint-alpha.base.rgb24.ref.png                |binary
 test/reference/record90-paint.base.argb32.ref.png                     |binary
 test/reference/record90-paint.base.rgb24.ref.png                      |binary
 test/reference/record90-select-font-face.base.argb32.ref.png          |binary
 test/reference/record90-select-font-face.base.rgb24.ref.png           |binary
 test/reference/record90-self-intersecting.base.argb32.ref.png         |binary
 test/reference/record90-self-intersecting.base.rgb24.ref.png          |binary
 test/reference/record90-text-transform.base.argb32.ref.png            |binary
 test/reference/record90-text-transform.base.rgb24.ref.png             |binary
 95 files changed, 16 insertions(+), 13 deletions(-)

New commits:
commit 03df52a833f6d4845394e7e657dbbc5619079be7
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Mar 3 12:33:24 2012 +0000

    image: Correct origin of unbound recording surface source
    
    Clearly demonstrated by using the test-base with the recording surfaces
    and exemplified by the fallback-resolution with PDF, which is *almost*
    fixed!
    
    We're very close to making a release candidate for 1.12 now...
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo-image-source.c b/src/cairo-image-source.c
index c3fc7d7..be3d385 100644
--- a/src/cairo-image-source.c
+++ b/src/cairo-image-source.c
@@ -703,8 +703,6 @@ _pixman_image_for_recording (cairo_image_surface_t *dst,
     *ix = *iy = 0;
 
     source = _cairo_pattern_get_source (pattern, &limit);
-    tx = limit.x;
-    ty = limit.y;
 
     extend = pattern->base.extend;
     if (_cairo_rectangle_contains_rectangle (&limit, sample))
@@ -734,6 +732,8 @@ _pixman_image_for_recording (cairo_image_surface_t *dst,
 	    limit.height = ceil (y2) - limit.y;
 	}
     }
+    tx = limit.x;
+    ty = limit.y;
 
     /* XXX transformations! */
     proxy = _cairo_surface_has_snapshot (source, &proxy_backend);
@@ -742,14 +742,18 @@ _pixman_image_for_recording (cairo_image_surface_t *dst,
 	goto done;
     }
 
-    if (dst->base.content == source->content)
-	clone = cairo_image_surface_create (dst->format,
-					    limit.width, limit.height);
-    else
-	clone = _cairo_image_surface_create_with_content (source->content,
-							  limit.width,
-							  limit.height);
-    cairo_surface_set_device_offset (clone, -limit.x, -limit.y);
+    if (is_mask) {
+	    clone = cairo_image_surface_create (CAIRO_FORMAT_A8,
+						limit.width, limit.height);
+    } else {
+	if (dst->base.content == source->content)
+	    clone = cairo_image_surface_create (dst->format,
+						limit.width, limit.height);
+	else
+	    clone = _cairo_image_surface_create_with_content (source->content,
+							      limit.width,
+							      limit.height);
+    }
 
     m = NULL;
     if (extend == CAIRO_EXTEND_NONE) {
@@ -774,6 +778,8 @@ done:
     pixman_image = pixman_image_ref (((cairo_image_surface_t *)clone)->pixman_image);
     cairo_surface_destroy (clone);
 
+    *ix = -limit.x;
+    *iy = -limit.y;
     if (extend != CAIRO_EXTEND_NONE) {
 	if (! _pixman_image_set_properties (pixman_image,
 					    &pattern->base, extents,
@@ -781,9 +787,6 @@ done:
 	    pixman_image_unref (pixman_image);
 	    pixman_image= NULL;
 	}
-    } else {
-	*ix = -limit.x;
-	*iy = -limit.y;
     }
 
     return pixman_image;
diff --git a/test/reference/record-extend-none-similar.base.argb32.ref.png b/test/reference/record-extend-none-similar.base.argb32.ref.png
new file mode 100644
index 0000000..d63c31c
Binary files /dev/null and b/test/reference/record-extend-none-similar.base.argb32.ref.png differ
diff --git a/test/reference/record-extend-none-similar.base.rgb24.ref.png b/test/reference/record-extend-none-similar.base.rgb24.ref.png
new file mode 100644
index 0000000..d63c31c
Binary files /dev/null and b/test/reference/record-extend-none-similar.base.rgb24.ref.png differ
diff --git a/test/reference/record-extend-none.base.argb32.ref.png b/test/reference/record-extend-none.base.argb32.ref.png
new file mode 100644
index 0000000..d63c31c
Binary files /dev/null and b/test/reference/record-extend-none.base.argb32.ref.png differ
diff --git a/test/reference/record-extend-none.base.rgb24.ref.png b/test/reference/record-extend-none.base.rgb24.ref.png
new file mode 100644
index 0000000..d63c31c
Binary files /dev/null and b/test/reference/record-extend-none.base.rgb24.ref.png differ
diff --git a/test/reference/record-extend-pad-similar.base.argb32.ref.png b/test/reference/record-extend-pad-similar.base.argb32.ref.png
new file mode 100644
index 0000000..1291525
Binary files /dev/null and b/test/reference/record-extend-pad-similar.base.argb32.ref.png differ
diff --git a/test/reference/record-extend-pad-similar.base.rgb24.ref.png b/test/reference/record-extend-pad-similar.base.rgb24.ref.png
new file mode 100644
index 0000000..1291525
Binary files /dev/null and b/test/reference/record-extend-pad-similar.base.rgb24.ref.png differ
diff --git a/test/reference/record-extend-pad.base.argb32.ref.png b/test/reference/record-extend-pad.base.argb32.ref.png
new file mode 100644
index 0000000..1291525
Binary files /dev/null and b/test/reference/record-extend-pad.base.argb32.ref.png differ
diff --git a/test/reference/record-extend-pad.base.rgb24.ref.png b/test/reference/record-extend-pad.base.rgb24.ref.png
new file mode 100644
index 0000000..1291525
Binary files /dev/null and b/test/reference/record-extend-pad.base.rgb24.ref.png differ
diff --git a/test/reference/record-extend-reflect-similar.base.argb32.ref.png b/test/reference/record-extend-reflect-similar.base.argb32.ref.png
new file mode 100644
index 0000000..aec5c94
Binary files /dev/null and b/test/reference/record-extend-reflect-similar.base.argb32.ref.png differ
diff --git a/test/reference/record-extend-reflect-similar.base.rgb24.ref.png b/test/reference/record-extend-reflect-similar.base.rgb24.ref.png
new file mode 100644
index 0000000..aec5c94
Binary files /dev/null and b/test/reference/record-extend-reflect-similar.base.rgb24.ref.png differ
diff --git a/test/reference/record-extend-reflect.base.argb32.ref.png b/test/reference/record-extend-reflect.base.argb32.ref.png
new file mode 100644
index 0000000..aec5c94
Binary files /dev/null and b/test/reference/record-extend-reflect.base.argb32.ref.png differ
diff --git a/test/reference/record-extend-reflect.base.rgb24.ref.png b/test/reference/record-extend-reflect.base.rgb24.ref.png
new file mode 100644
index 0000000..aec5c94
Binary files /dev/null and b/test/reference/record-extend-reflect.base.rgb24.ref.png differ
diff --git a/test/reference/record-extend-repeat-similar.base.argb32.ref.png b/test/reference/record-extend-repeat-similar.base.argb32.ref.png
new file mode 100644
index 0000000..d4db9bf
Binary files /dev/null and b/test/reference/record-extend-repeat-similar.base.argb32.ref.png differ
diff --git a/test/reference/record-extend-repeat-similar.base.rgb24.ref.png b/test/reference/record-extend-repeat-similar.base.rgb24.ref.png
new file mode 100644
index 0000000..d4db9bf
Binary files /dev/null and b/test/reference/record-extend-repeat-similar.base.rgb24.ref.png differ
diff --git a/test/reference/record-extend-repeat.base.argb32.ref.png b/test/reference/record-extend-repeat.base.argb32.ref.png
new file mode 100644
index 0000000..d4db9bf
Binary files /dev/null and b/test/reference/record-extend-repeat.base.argb32.ref.png differ
diff --git a/test/reference/record-extend-repeat.base.rgb24.ref.png b/test/reference/record-extend-repeat.base.rgb24.ref.png
new file mode 100644
index 0000000..d4db9bf
Binary files /dev/null and b/test/reference/record-extend-repeat.base.rgb24.ref.png differ
diff --git a/test/reference/record-fill-alpha.base.argb32.ref.png b/test/reference/record-fill-alpha.base.argb32.ref.png
new file mode 100644
index 0000000..85df919
Binary files /dev/null and b/test/reference/record-fill-alpha.base.argb32.ref.png differ
diff --git a/test/reference/record-fill-alpha.base.rgb24.ref.png b/test/reference/record-fill-alpha.base.rgb24.ref.png
new file mode 100644
index 0000000..85df919
Binary files /dev/null and b/test/reference/record-fill-alpha.base.rgb24.ref.png differ
diff --git a/test/reference/record-fill-alpha.base.xfail.png b/test/reference/record-fill-alpha.base.xfail.png
new file mode 100644
index 0000000..5a2ebad
Binary files /dev/null and b/test/reference/record-fill-alpha.base.xfail.png differ
diff --git a/test/reference/record-mesh.base.argb32.ref.png b/test/reference/record-mesh.base.argb32.ref.png
new file mode 100644
index 0000000..4921ba3
Binary files /dev/null and b/test/reference/record-mesh.base.argb32.ref.png differ
diff --git a/test/reference/record-mesh.base.rgb24.ref.png b/test/reference/record-mesh.base.rgb24.ref.png
new file mode 100644
index 0000000..4921ba3
Binary files /dev/null and b/test/reference/record-mesh.base.rgb24.ref.png differ
diff --git a/test/reference/record-paint-alpha-clip-mask.base.argb32.ref.png b/test/reference/record-paint-alpha-clip-mask.base.argb32.ref.png
new file mode 100644
index 0000000..95746ff
Binary files /dev/null and b/test/reference/record-paint-alpha-clip-mask.base.argb32.ref.png differ
diff --git a/test/reference/record-paint-alpha-clip-mask.base.rgb24.ref.png b/test/reference/record-paint-alpha-clip-mask.base.rgb24.ref.png
new file mode 100644
index 0000000..95746ff
Binary files /dev/null and b/test/reference/record-paint-alpha-clip-mask.base.rgb24.ref.png differ
diff --git a/test/reference/record-paint-alpha-clip-mask.base.xfail.png b/test/reference/record-paint-alpha-clip-mask.base.xfail.png
new file mode 100644
index 0000000..f7bb8ff
Binary files /dev/null and b/test/reference/record-paint-alpha-clip-mask.base.xfail.png differ
diff --git a/test/reference/record-paint-alpha-clip.base.argb32.ref.png b/test/reference/record-paint-alpha-clip.base.argb32.ref.png
new file mode 100644
index 0000000..c1da67e
Binary files /dev/null and b/test/reference/record-paint-alpha-clip.base.argb32.ref.png differ
diff --git a/test/reference/record-paint-alpha-clip.base.rgb24.ref.png b/test/reference/record-paint-alpha-clip.base.rgb24.ref.png
new file mode 100644
index 0000000..c1da67e
Binary files /dev/null and b/test/reference/record-paint-alpha-clip.base.rgb24.ref.png differ
diff --git a/test/reference/record-paint-alpha-solid-clip.base.argb32.ref.png b/test/reference/record-paint-alpha-solid-clip.base.argb32.ref.png
new file mode 100644
index 0000000..59d226d
Binary files /dev/null and b/test/reference/record-paint-alpha-solid-clip.base.argb32.ref.png differ
diff --git a/test/reference/record-paint-alpha-solid-clip.base.rgb24.ref.png b/test/reference/record-paint-alpha-solid-clip.base.rgb24.ref.png
new file mode 100644
index 0000000..59d226d
Binary files /dev/null and b/test/reference/record-paint-alpha-solid-clip.base.rgb24.ref.png differ
diff --git a/test/reference/record-paint-alpha.base.argb32.ref.png b/test/reference/record-paint-alpha.base.argb32.ref.png
new file mode 100644
index 0000000..65d9c17
Binary files /dev/null and b/test/reference/record-paint-alpha.base.argb32.ref.png differ
diff --git a/test/reference/record-paint-alpha.base.rgb24.ref.png b/test/reference/record-paint-alpha.base.rgb24.ref.png
new file mode 100644
index 0000000..65d9c17
Binary files /dev/null and b/test/reference/record-paint-alpha.base.rgb24.ref.png differ
diff --git a/test/reference/record-paint.base.argb32.ref.png b/test/reference/record-paint.base.argb32.ref.png
new file mode 100644
index 0000000..22cc7a1
Binary files /dev/null and b/test/reference/record-paint.base.argb32.ref.png differ
diff --git a/test/reference/record-paint.base.rgb24.ref.png b/test/reference/record-paint.base.rgb24.ref.png
new file mode 100644
index 0000000..22cc7a1
Binary files /dev/null and b/test/reference/record-paint.base.rgb24.ref.png differ
diff --git a/test/reference/record-select-font-face.base.argb32.ref.png b/test/reference/record-select-font-face.base.argb32.ref.png
new file mode 100644
index 0000000..1334a9a
Binary files /dev/null and b/test/reference/record-select-font-face.base.argb32.ref.png differ
diff --git a/test/reference/record-select-font-face.base.rgb24.ref.png b/test/reference/record-select-font-face.base.rgb24.ref.png
new file mode 100644
index 0000000..1334a9a
Binary files /dev/null and b/test/reference/record-select-font-face.base.rgb24.ref.png differ
diff --git a/test/reference/record-self-intersecting.base.argb32.ref.png b/test/reference/record-self-intersecting.base.argb32.ref.png
new file mode 100644
index 0000000..f0068e6
Binary files /dev/null and b/test/reference/record-self-intersecting.base.argb32.ref.png differ
diff --git a/test/reference/record-self-intersecting.base.rgb24.ref.png b/test/reference/record-self-intersecting.base.rgb24.ref.png
new file mode 100644
index 0000000..f0068e6
Binary files /dev/null and b/test/reference/record-self-intersecting.base.rgb24.ref.png differ
diff --git a/test/reference/record-text-transform.base.argb32.ref.png b/test/reference/record-text-transform.base.argb32.ref.png
new file mode 100644
index 0000000..4603bc5
Binary files /dev/null and b/test/reference/record-text-transform.base.argb32.ref.png differ
diff --git a/test/reference/record-text-transform.base.rgb24.ref.png b/test/reference/record-text-transform.base.rgb24.ref.png
new file mode 100644
index 0000000..4603bc5
Binary files /dev/null and b/test/reference/record-text-transform.base.rgb24.ref.png differ
diff --git a/test/reference/record1414x-fill-alpha.base.argb32.ref.png b/test/reference/record1414x-fill-alpha.base.argb32.ref.png
new file mode 100644
index 0000000..415acef
Binary files /dev/null and b/test/reference/record1414x-fill-alpha.base.argb32.ref.png differ
diff --git a/test/reference/record1414x-fill-alpha.base.rgb24.ref.png b/test/reference/record1414x-fill-alpha.base.rgb24.ref.png
new file mode 100644
index 0000000..415acef
Binary files /dev/null and b/test/reference/record1414x-fill-alpha.base.rgb24.ref.png differ
diff --git a/test/reference/record1414x-fill-alpha.base.xfail.png b/test/reference/record1414x-fill-alpha.base.xfail.png
new file mode 100644
index 0000000..6967343
Binary files /dev/null and b/test/reference/record1414x-fill-alpha.base.xfail.png differ
diff --git a/test/reference/record1414x-paint-alpha-clip-mask.base.argb32.ref.png b/test/reference/record1414x-paint-alpha-clip-mask.base.argb32.ref.png
new file mode 100644
index 0000000..1a2d967
Binary files /dev/null and b/test/reference/record1414x-paint-alpha-clip-mask.base.argb32.ref.png differ
diff --git a/test/reference/record1414x-paint-alpha-clip-mask.base.rgb24.ref.png b/test/reference/record1414x-paint-alpha-clip-mask.base.rgb24.ref.png
new file mode 100644
index 0000000..1a2d967
Binary files /dev/null and b/test/reference/record1414x-paint-alpha-clip-mask.base.rgb24.ref.png differ
diff --git a/test/reference/record1414x-paint-alpha-clip.base.argb32.ref.png b/test/reference/record1414x-paint-alpha-clip.base.argb32.ref.png
new file mode 100644
index 0000000..a983613
Binary files /dev/null and b/test/reference/record1414x-paint-alpha-clip.base.argb32.ref.png differ
diff --git a/test/reference/record1414x-paint-alpha-clip.base.rgb24.ref.png b/test/reference/record1414x-paint-alpha-clip.base.rgb24.ref.png
new file mode 100644
index 0000000..a983613
Binary files /dev/null and b/test/reference/record1414x-paint-alpha-clip.base.rgb24.ref.png differ
diff --git a/test/reference/record1414x-paint-alpha-solid-clip.base.argb32.ref.png b/test/reference/record1414x-paint-alpha-solid-clip.base.argb32.ref.png
new file mode 100644
index 0000000..7a8e594
Binary files /dev/null and b/test/reference/record1414x-paint-alpha-solid-clip.base.argb32.ref.png differ
diff --git a/test/reference/record1414x-paint-alpha-solid-clip.base.rgb24.ref.png b/test/reference/record1414x-paint-alpha-solid-clip.base.rgb24.ref.png
new file mode 100644
index 0000000..7a8e594
Binary files /dev/null and b/test/reference/record1414x-paint-alpha-solid-clip.base.rgb24.ref.png differ
diff --git a/test/reference/record1414x-paint-alpha.base.argb32.ref.png b/test/reference/record1414x-paint-alpha.base.argb32.ref.png
new file mode 100644
index 0000000..eee74ce
Binary files /dev/null and b/test/reference/record1414x-paint-alpha.base.argb32.ref.png differ
diff --git a/test/reference/record1414x-paint-alpha.base.rgb24.ref.png b/test/reference/record1414x-paint-alpha.base.rgb24.ref.png
new file mode 100644
index 0000000..eee74ce
Binary files /dev/null and b/test/reference/record1414x-paint-alpha.base.rgb24.ref.png differ
diff --git a/test/reference/record1414x-paint.base.argb32.ref.png b/test/reference/record1414x-paint.base.argb32.ref.png
new file mode 100644
index 0000000..e0a1341
Binary files /dev/null and b/test/reference/record1414x-paint.base.argb32.ref.png differ
diff --git a/test/reference/record1414x-paint.base.rgb24.ref.png b/test/reference/record1414x-paint.base.rgb24.ref.png
new file mode 100644
index 0000000..e0a1341
Binary files /dev/null and b/test/reference/record1414x-paint.base.rgb24.ref.png differ
diff --git a/test/reference/record1414x-select-font-face.base.argb32.ref.png b/test/reference/record1414x-select-font-face.base.argb32.ref.png
new file mode 100644
index 0000000..6c52067
Binary files /dev/null and b/test/reference/record1414x-select-font-face.base.argb32.ref.png differ
diff --git a/test/reference/record1414x-select-font-face.base.rgb24.ref.png b/test/reference/record1414x-select-font-face.base.rgb24.ref.png
new file mode 100644
index 0000000..6c52067
Binary files /dev/null and b/test/reference/record1414x-select-font-face.base.rgb24.ref.png differ
diff --git a/test/reference/record1414x-self-intersecting.base.argb32.ref.png b/test/reference/record1414x-self-intersecting.base.argb32.ref.png
new file mode 100644
index 0000000..53af8ff
Binary files /dev/null and b/test/reference/record1414x-self-intersecting.base.argb32.ref.png differ
diff --git a/test/reference/record1414x-self-intersecting.base.rgb24.ref.png b/test/reference/record1414x-self-intersecting.base.rgb24.ref.png
new file mode 100644
index 0000000..53af8ff
Binary files /dev/null and b/test/reference/record1414x-self-intersecting.base.rgb24.ref.png differ
diff --git a/test/reference/record1414x-text-transform.base.argb32.ref.png b/test/reference/record1414x-text-transform.base.argb32.ref.png
new file mode 100644
index 0000000..5727f35
Binary files /dev/null and b/test/reference/record1414x-text-transform.base.argb32.ref.png differ
diff --git a/test/reference/record1414x-text-transform.base.rgb24.ref.png b/test/reference/record1414x-text-transform.base.rgb24.ref.png
new file mode 100644
index 0000000..5727f35
Binary files /dev/null and b/test/reference/record1414x-text-transform.base.rgb24.ref.png differ
diff --git a/test/reference/record2x-fill-alpha.base.argb32.ref.png b/test/reference/record2x-fill-alpha.base.argb32.ref.png
new file mode 100644
index 0000000..b75f358
Binary files /dev/null and b/test/reference/record2x-fill-alpha.base.argb32.ref.png differ
diff --git a/test/reference/record2x-fill-alpha.base.rgb24.ref.png b/test/reference/record2x-fill-alpha.base.rgb24.ref.png
new file mode 100644
index 0000000..b75f358
Binary files /dev/null and b/test/reference/record2x-fill-alpha.base.rgb24.ref.png differ
diff --git a/test/reference/record2x-fill-alpha.base.xfail.png b/test/reference/record2x-fill-alpha.base.xfail.png
new file mode 100644
index 0000000..b96ff8d
Binary files /dev/null and b/test/reference/record2x-fill-alpha.base.xfail.png differ
diff --git a/test/reference/record2x-paint-alpha-clip-mask.base.argb32.ref.png b/test/reference/record2x-paint-alpha-clip-mask.base.argb32.ref.png
new file mode 100644
index 0000000..6e70c77
Binary files /dev/null and b/test/reference/record2x-paint-alpha-clip-mask.base.argb32.ref.png differ
diff --git a/test/reference/record2x-paint-alpha-clip-mask.base.rgb24.ref.png b/test/reference/record2x-paint-alpha-clip-mask.base.rgb24.ref.png
new file mode 100644
index 0000000..6e70c77
Binary files /dev/null and b/test/reference/record2x-paint-alpha-clip-mask.base.rgb24.ref.png differ
diff --git a/test/reference/record2x-paint-alpha-clip.base.argb32.ref.png b/test/reference/record2x-paint-alpha-clip.base.argb32.ref.png
new file mode 100644
index 0000000..b3829d5
Binary files /dev/null and b/test/reference/record2x-paint-alpha-clip.base.argb32.ref.png differ
diff --git a/test/reference/record2x-paint-alpha-clip.base.rgb24.ref.png b/test/reference/record2x-paint-alpha-clip.base.rgb24.ref.png
new file mode 100644
index 0000000..b3829d5
Binary files /dev/null and b/test/reference/record2x-paint-alpha-clip.base.rgb24.ref.png differ
diff --git a/test/reference/record2x-paint-alpha-solid-clip.base.argb32.ref.png b/test/reference/record2x-paint-alpha-solid-clip.base.argb32.ref.png
new file mode 100644
index 0000000..06e350f
Binary files /dev/null and b/test/reference/record2x-paint-alpha-solid-clip.base.argb32.ref.png differ
diff --git a/test/reference/record2x-paint-alpha-solid-clip.base.rgb24.ref.png b/test/reference/record2x-paint-alpha-solid-clip.base.rgb24.ref.png
new file mode 100644
index 0000000..06e350f
Binary files /dev/null and b/test/reference/record2x-paint-alpha-solid-clip.base.rgb24.ref.png differ
diff --git a/test/reference/record2x-paint-alpha.base.argb32.ref.png b/test/reference/record2x-paint-alpha.base.argb32.ref.png
new file mode 100644
index 0000000..3a02b67
Binary files /dev/null and b/test/reference/record2x-paint-alpha.base.argb32.ref.png differ
diff --git a/test/reference/record2x-paint-alpha.base.rgb24.ref.png b/test/reference/record2x-paint-alpha.base.rgb24.ref.png
new file mode 100644
index 0000000..3a02b67
Binary files /dev/null and b/test/reference/record2x-paint-alpha.base.rgb24.ref.png differ
diff --git a/test/reference/record2x-paint.base.argb32.ref.png b/test/reference/record2x-paint.base.argb32.ref.png
new file mode 100644
index 0000000..792a1d0
Binary files /dev/null and b/test/reference/record2x-paint.base.argb32.ref.png differ
diff --git a/test/reference/record2x-paint.base.rgb24.ref.png b/test/reference/record2x-paint.base.rgb24.ref.png
new file mode 100644
index 0000000..792a1d0
Binary files /dev/null and b/test/reference/record2x-paint.base.rgb24.ref.png differ
diff --git a/test/reference/record2x-select-font-face.base.argb32.ref.png b/test/reference/record2x-select-font-face.base.argb32.ref.png
new file mode 100644
index 0000000..7a99795
Binary files /dev/null and b/test/reference/record2x-select-font-face.base.argb32.ref.png differ
diff --git a/test/reference/record2x-select-font-face.base.rgb24.ref.png b/test/reference/record2x-select-font-face.base.rgb24.ref.png
new file mode 100644
index 0000000..7a99795
Binary files /dev/null and b/test/reference/record2x-select-font-face.base.rgb24.ref.png differ
diff --git a/test/reference/record2x-self-intersecting.base.argb32.ref.png b/test/reference/record2x-self-intersecting.base.argb32.ref.png
new file mode 100644
index 0000000..2836dae
Binary files /dev/null and b/test/reference/record2x-self-intersecting.base.argb32.ref.png differ
diff --git a/test/reference/record2x-self-intersecting.base.rgb24.ref.png b/test/reference/record2x-self-intersecting.base.rgb24.ref.png
new file mode 100644
index 0000000..2836dae
Binary files /dev/null and b/test/reference/record2x-self-intersecting.base.rgb24.ref.png differ
diff --git a/test/reference/record2x-text-transform.base.argb32.ref.png b/test/reference/record2x-text-transform.base.argb32.ref.png
new file mode 100644
index 0000000..6c21785
Binary files /dev/null and b/test/reference/record2x-text-transform.base.argb32.ref.png differ
diff --git a/test/reference/record2x-text-transform.base.rgb24.ref.png b/test/reference/record2x-text-transform.base.rgb24.ref.png
new file mode 100644
index 0000000..6c21785
Binary files /dev/null and b/test/reference/record2x-text-transform.base.rgb24.ref.png differ
diff --git a/test/reference/record90-fill-alpha.base.argb32.ref.png b/test/reference/record90-fill-alpha.base.argb32.ref.png
new file mode 100644
index 0000000..8eb4453
Binary files /dev/null and b/test/reference/record90-fill-alpha.base.argb32.ref.png differ
diff --git a/test/reference/record90-fill-alpha.base.rgb24.ref.png b/test/reference/record90-fill-alpha.base.rgb24.ref.png
new file mode 100644
index 0000000..8eb4453
Binary files /dev/null and b/test/reference/record90-fill-alpha.base.rgb24.ref.png differ
diff --git a/test/reference/record90-paint-alpha-clip-mask.base.argb32.ref.png b/test/reference/record90-paint-alpha-clip-mask.base.argb32.ref.png
new file mode 100644
index 0000000..e14ce9a
Binary files /dev/null and b/test/reference/record90-paint-alpha-clip-mask.base.argb32.ref.png differ
diff --git a/test/reference/record90-paint-alpha-clip-mask.base.rgb24.ref.png b/test/reference/record90-paint-alpha-clip-mask.base.rgb24.ref.png
new file mode 100644
index 0000000..e14ce9a
Binary files /dev/null and b/test/reference/record90-paint-alpha-clip-mask.base.rgb24.ref.png differ
diff --git a/test/reference/record90-paint-alpha-clip.base.argb32.ref.png b/test/reference/record90-paint-alpha-clip.base.argb32.ref.png
new file mode 100644
index 0000000..12a1683
Binary files /dev/null and b/test/reference/record90-paint-alpha-clip.base.argb32.ref.png differ
diff --git a/test/reference/record90-paint-alpha-clip.base.rgb24.ref.png b/test/reference/record90-paint-alpha-clip.base.rgb24.ref.png
new file mode 100644
index 0000000..12a1683
Binary files /dev/null and b/test/reference/record90-paint-alpha-clip.base.rgb24.ref.png differ
diff --git a/test/reference/record90-paint-alpha-solid-clip.base.argb32.ref.png b/test/reference/record90-paint-alpha-solid-clip.base.argb32.ref.png
new file mode 100644
index 0000000..95e7da6
Binary files /dev/null and b/test/reference/record90-paint-alpha-solid-clip.base.argb32.ref.png differ
diff --git a/test/reference/record90-paint-alpha-solid-clip.base.rgb24.ref.png b/test/reference/record90-paint-alpha-solid-clip.base.rgb24.ref.png
new file mode 100644
index 0000000..95e7da6
Binary files /dev/null and b/test/reference/record90-paint-alpha-solid-clip.base.rgb24.ref.png differ
diff --git a/test/reference/record90-paint-alpha.base.argb32.ref.png b/test/reference/record90-paint-alpha.base.argb32.ref.png
new file mode 100644
index 0000000..57aa95d
Binary files /dev/null and b/test/reference/record90-paint-alpha.base.argb32.ref.png differ
diff --git a/test/reference/record90-paint-alpha.base.rgb24.ref.png b/test/reference/record90-paint-alpha.base.rgb24.ref.png
new file mode 100644
index 0000000..57aa95d
Binary files /dev/null and b/test/reference/record90-paint-alpha.base.rgb24.ref.png differ
diff --git a/test/reference/record90-paint.base.argb32.ref.png b/test/reference/record90-paint.base.argb32.ref.png
new file mode 100644
index 0000000..22cc7a1
Binary files /dev/null and b/test/reference/record90-paint.base.argb32.ref.png differ
diff --git a/test/reference/record90-paint.base.rgb24.ref.png b/test/reference/record90-paint.base.rgb24.ref.png
new file mode 100644
index 0000000..22cc7a1
Binary files /dev/null and b/test/reference/record90-paint.base.rgb24.ref.png differ
diff --git a/test/reference/record90-select-font-face.base.argb32.ref.png b/test/reference/record90-select-font-face.base.argb32.ref.png
new file mode 100644
index 0000000..189a315
Binary files /dev/null and b/test/reference/record90-select-font-face.base.argb32.ref.png differ
diff --git a/test/reference/record90-select-font-face.base.rgb24.ref.png b/test/reference/record90-select-font-face.base.rgb24.ref.png
new file mode 100644
index 0000000..189a315
Binary files /dev/null and b/test/reference/record90-select-font-face.base.rgb24.ref.png differ
diff --git a/test/reference/record90-self-intersecting.base.argb32.ref.png b/test/reference/record90-self-intersecting.base.argb32.ref.png
new file mode 100644
index 0000000..ea11582
Binary files /dev/null and b/test/reference/record90-self-intersecting.base.argb32.ref.png differ
diff --git a/test/reference/record90-self-intersecting.base.rgb24.ref.png b/test/reference/record90-self-intersecting.base.rgb24.ref.png
new file mode 100644
index 0000000..ea11582
Binary files /dev/null and b/test/reference/record90-self-intersecting.base.rgb24.ref.png differ
diff --git a/test/reference/record90-text-transform.base.argb32.ref.png b/test/reference/record90-text-transform.base.argb32.ref.png
new file mode 100644
index 0000000..22f6c1f
Binary files /dev/null and b/test/reference/record90-text-transform.base.argb32.ref.png differ
diff --git a/test/reference/record90-text-transform.base.rgb24.ref.png b/test/reference/record90-text-transform.base.rgb24.ref.png
new file mode 100644
index 0000000..22f6c1f
Binary files /dev/null and b/test/reference/record90-text-transform.base.rgb24.ref.png differ


More information about the cairo-commit mailing list