diff options
author | Carl Worth <cworth@cworth.org> | 2006-04-06 09:43:39 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-04-06 09:43:39 -0700 |
commit | b87726ee2aa0220b66ee4d97513c0ac89ffc4621 (patch) | |
tree | 72e79a4c3686e45d871dd2caa207664ba6a17c30 /test/clip-nesting-ps-argb32-ref.png | |
parent | c4fc7b06b53c811ddc20def91aaccd756c28a924 (diff) |
Tweak initial erase so it doesn't trigger fallbacks for every PS test case.
Add an optimization to cairo-ps-surface.c so that it ignores any
CAIRO_OPERATOR_CLEAR drawing operation that occurs on a blank page.
Also change the test suite to erase with OPERATOR_CLEAR instead of
OPERATOR_SOURCE with an all-0 source pattern.
With this change, 32 of the 61 test cases change from all-fallback to
all-native for the ps backend.
Of these 32 test cases, 13 pass the test suite with the original
reference images. Another 18 cases differ only in the single-pixel
boundary of objects due to cairo vs. ghostscript rasterization
differences. We ignore these by adding new ps-specific reference
images, (included in this commit).
Finally, there appears to be one genuine failure, (dash-caps-joins),
in which the PostScript dashes (at least as rendered by ghostscript)
differ significantly from the cairo-rendered dashes.
Diffstat (limited to 'test/clip-nesting-ps-argb32-ref.png')
-rw-r--r-- | test/clip-nesting-ps-argb32-ref.png | bin | 0 -> 488 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/clip-nesting-ps-argb32-ref.png b/test/clip-nesting-ps-argb32-ref.png Binary files differnew file mode 100644 index 00000000..1bd43d7a --- /dev/null +++ b/test/clip-nesting-ps-argb32-ref.png |