summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-05-02 18:05:20 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-07-10 19:06:48 +0300
commit9686331cb07a8f9018f28dc7d6d6e3726e289fda (patch)
treecdc147ff9a0b7d4a65d8b530b40555808c242ecc /test
parentfbd88db938bf3bb03934795da9b3d184c4f43608 (diff)
[spans] Round rasterization grid pixel areas instead of truncating.
When converting a grid pixel area into the range [0,255] the GRID_AREA_TO_ALPHA() macro would truncate extra bits off the result rather than rounding. This could cause seams between abutting collinear edges of separately rendered polygons even when the coordinates of the abutting edges were the same. Reported by Soeren Sandmann on the cairo mailing list: http://lists.cairographics.org/archives/cairo/2009-May/017043.html
Diffstat (limited to 'test')
-rw-r--r--test/clip-operator.ref.pngbin8210 -> 8191 bytes
-rw-r--r--test/clip-operator.test-paginated.argb32.ref.pngbin8247 -> 8189 bytes
-rw-r--r--test/fill-degenerate-sort-order.ref.pngbin2406 -> 2399 bytes
-rw-r--r--test/fill-rule.ref.pngbin2061 -> 2065 bytes
-rw-r--r--test/finer-grained-fallbacks.ref.pngbin1069 -> 1070 bytes
-rw-r--r--test/linear-gradient.pdf.argb32.ref.pngbin1112 -> 0 bytes
-rw-r--r--test/linear-gradient.pdf.ref.pngbin935 -> 1125 bytes
-rw-r--r--test/linear-gradient.pdf.rgb24.ref.pngbin1112 -> 0 bytes
-rw-r--r--test/mask-alpha.ref.pngbin643 -> 632 bytes
-rw-r--r--test/mask.pdf.argb32.ref.pngbin9918 -> 9946 bytes
-rw-r--r--test/mask.ref.pngbin8581 -> 8603 bytes
-rw-r--r--test/operator-clear.ref.pngbin1084 -> 1070 bytes
-rw-r--r--test/operator-clear.test-fallback.ref.pngbin0 -> 1071 bytes
-rw-r--r--test/operator-clear.xlib.ref.pngbin0 -> 1071 bytes
-rw-r--r--test/operator-source.ref.pngbin4425 -> 4395 bytes
-rw-r--r--test/radial-gradient.pdf.argb32.ref.pngbin79601 -> 0 bytes
-rw-r--r--test/radial-gradient.pdf.ref.pngbin79490 -> 79612 bytes
-rw-r--r--test/radial-gradient.pdf.rgb24.ref.pngbin79601 -> 0 bytes
-rw-r--r--test/trap-clip.pdf.argb32.ref.pngbin6745 -> 6746 bytes
-rw-r--r--test/trap-clip.pdf.rgb24.ref.pngbin6621 -> 6616 bytes
-rw-r--r--test/trap-clip.ref.pngbin5829 -> 5820 bytes
-rw-r--r--test/trap-clip.test-paginated.argb32.ref.pngbin5865 -> 5898 bytes
22 files changed, 0 insertions, 0 deletions
diff --git a/test/clip-operator.ref.png b/test/clip-operator.ref.png
index 3a685f5e3..7296a2d86 100644
--- a/test/clip-operator.ref.png
+++ b/test/clip-operator.ref.png
Binary files differ
diff --git a/test/clip-operator.test-paginated.argb32.ref.png b/test/clip-operator.test-paginated.argb32.ref.png
index 22e080a26..0203b1db5 100644
--- a/test/clip-operator.test-paginated.argb32.ref.png
+++ b/test/clip-operator.test-paginated.argb32.ref.png
Binary files differ
diff --git a/test/fill-degenerate-sort-order.ref.png b/test/fill-degenerate-sort-order.ref.png
index 3a95c2571..fa92ad463 100644
--- a/test/fill-degenerate-sort-order.ref.png
+++ b/test/fill-degenerate-sort-order.ref.png
Binary files differ
diff --git a/test/fill-rule.ref.png b/test/fill-rule.ref.png
index 6e19b621b..8ed850d2a 100644
--- a/test/fill-rule.ref.png
+++ b/test/fill-rule.ref.png
Binary files differ
diff --git a/test/finer-grained-fallbacks.ref.png b/test/finer-grained-fallbacks.ref.png
index 5b1e532ba..0671d36c1 100644
--- a/test/finer-grained-fallbacks.ref.png
+++ b/test/finer-grained-fallbacks.ref.png
Binary files differ
diff --git a/test/linear-gradient.pdf.argb32.ref.png b/test/linear-gradient.pdf.argb32.ref.png
deleted file mode 100644
index f820c3748..000000000
--- a/test/linear-gradient.pdf.argb32.ref.png
+++ /dev/null
Binary files differ
diff --git a/test/linear-gradient.pdf.ref.png b/test/linear-gradient.pdf.ref.png
index ede7c9011..b221a95fd 100644
--- a/test/linear-gradient.pdf.ref.png
+++ b/test/linear-gradient.pdf.ref.png
Binary files differ
diff --git a/test/linear-gradient.pdf.rgb24.ref.png b/test/linear-gradient.pdf.rgb24.ref.png
deleted file mode 100644
index f820c3748..000000000
--- a/test/linear-gradient.pdf.rgb24.ref.png
+++ /dev/null
Binary files differ
diff --git a/test/mask-alpha.ref.png b/test/mask-alpha.ref.png
index d100da468..20f066340 100644
--- a/test/mask-alpha.ref.png
+++ b/test/mask-alpha.ref.png
Binary files differ
diff --git a/test/mask.pdf.argb32.ref.png b/test/mask.pdf.argb32.ref.png
index dfdfdc06f..30feceafe 100644
--- a/test/mask.pdf.argb32.ref.png
+++ b/test/mask.pdf.argb32.ref.png
Binary files differ
diff --git a/test/mask.ref.png b/test/mask.ref.png
index 2c2fa117c..b6c49ca5a 100644
--- a/test/mask.ref.png
+++ b/test/mask.ref.png
Binary files differ
diff --git a/test/operator-clear.ref.png b/test/operator-clear.ref.png
index a3f8b7f02..5b6b1f1a3 100644
--- a/test/operator-clear.ref.png
+++ b/test/operator-clear.ref.png
Binary files differ
diff --git a/test/operator-clear.test-fallback.ref.png b/test/operator-clear.test-fallback.ref.png
new file mode 100644
index 000000000..2f12e5e8b
--- /dev/null
+++ b/test/operator-clear.test-fallback.ref.png
Binary files differ
diff --git a/test/operator-clear.xlib.ref.png b/test/operator-clear.xlib.ref.png
new file mode 100644
index 000000000..2f12e5e8b
--- /dev/null
+++ b/test/operator-clear.xlib.ref.png
Binary files differ
diff --git a/test/operator-source.ref.png b/test/operator-source.ref.png
index 006bf9509..376a70700 100644
--- a/test/operator-source.ref.png
+++ b/test/operator-source.ref.png
Binary files differ
diff --git a/test/radial-gradient.pdf.argb32.ref.png b/test/radial-gradient.pdf.argb32.ref.png
deleted file mode 100644
index 6cee5d12f..000000000
--- a/test/radial-gradient.pdf.argb32.ref.png
+++ /dev/null
Binary files differ
diff --git a/test/radial-gradient.pdf.ref.png b/test/radial-gradient.pdf.ref.png
index 18368c14a..dbb7312a6 100644
--- a/test/radial-gradient.pdf.ref.png
+++ b/test/radial-gradient.pdf.ref.png
Binary files differ
diff --git a/test/radial-gradient.pdf.rgb24.ref.png b/test/radial-gradient.pdf.rgb24.ref.png
deleted file mode 100644
index 6cee5d12f..000000000
--- a/test/radial-gradient.pdf.rgb24.ref.png
+++ /dev/null
Binary files differ
diff --git a/test/trap-clip.pdf.argb32.ref.png b/test/trap-clip.pdf.argb32.ref.png
index e42fee81b..4697690b1 100644
--- a/test/trap-clip.pdf.argb32.ref.png
+++ b/test/trap-clip.pdf.argb32.ref.png
Binary files differ
diff --git a/test/trap-clip.pdf.rgb24.ref.png b/test/trap-clip.pdf.rgb24.ref.png
index 06163675c..6ddbfa7bf 100644
--- a/test/trap-clip.pdf.rgb24.ref.png
+++ b/test/trap-clip.pdf.rgb24.ref.png
Binary files differ
diff --git a/test/trap-clip.ref.png b/test/trap-clip.ref.png
index e8c26d32a..832a2c6cd 100644
--- a/test/trap-clip.ref.png
+++ b/test/trap-clip.ref.png
Binary files differ
diff --git a/test/trap-clip.test-paginated.argb32.ref.png b/test/trap-clip.test-paginated.argb32.ref.png
index dee57e7bd..7259edc49 100644
--- a/test/trap-clip.test-paginated.argb32.ref.png
+++ b/test/trap-clip.test-paginated.argb32.ref.png
Binary files differ