Age | Commit message (Collapse) | Author | Files | Lines |
|
This freezes the current (buggy) poppler result in the test suite
so that we will notice any future regressions.
|
|
We had several pdf tests disabled waiting for this bug fix:
Poppler does not correctly handle knockout groups
https://bugs.freedesktop.org/show_bug.cgi?id=12185
That's in place for poppler now, so we're turning the tests
back on. Some of the affected tests now pass perfectly:
over-above-source
over-around-source
over-below-source
over-between-source
Some just needed new reference images:
operator-clear
clip-operator-pdf-argb32
The remaining tests still fail, but none of the failures can
obviously be ascribed to just poppler problems:
clip-operator-pdf-rgb24
operator-source
unbounded-operator
The first two have some serious problems, while in the case
of unbounded-operator the problem is extremely minor (a white
grid appears in the background where the reference image is
all black).
|
|
Remember to compile the _cairo_getopts() function into the boilerplate
convenience library for cairo-perf.
|
|
Allocate the string to the next integer boundary to hide a valgrind
warning.
|
|
|
|
Otherwise, these files were being omitted from the tar files.
|
|
Fixup the headers and boilerplate to compile and run correctly when
configured with --disable-xlib-xrender.
|
|
Using the Win32 printing backend requires ghostscript, so only enable
those tests if we detect 'gs' during configure.
|
|
|
|
Testing win32-printing requires setting the default printer to
a PostScript level 3 color printer. The PostScript output is
saved to a file and converted to png using ghostscript.
|
|
|
|
Check that cairo_surface_show_page() did not generate any errors before
reading back the image buffer and saving it as a png.
|
|
Cleanup the local resource if we fail to create the X window and
surface for the xlib fallback test target.
|
|
If we fail to exclude a target because it was not in the list of
targets - job done and no need to throw a tantrum.
|
|
This patch adds cairo_surface_copy_page and cairo_surface_show_page
as public methods, leaving the previous cairo_show_page variants as
shorthands. copy_page/show_page are specific to the surface, not
to the context, so they need to be surface methods.
|
|
|
|
As opposed to the CAIRO_TEST_TARGET env var which lists the exact
targets to test, CAIRO_TEST_TARGET_EXCLUDE instead supplies a list of
targets to filter from the testing set. This is useful under
circumstances where the build environment prevents testing of a target,
for example no DirectFB support or the glitz library is broken, but where
you still want to perform the minimal check that the code compiles.
|
|
These are failing due to (already reported) poppler bugs.
There were also problems with the gradients in the PDF
files previously, but these have recently been fixed.
|
|
Happy building with msys, one location for CFLAGS/etc changes (toplevel),
new pdiff makefile.
|
|
The following 7 tests currently fail with poppler due to:
Poppler does not correctly handle knockout groups
https://bugs.freedesktop.org/show_bug.cgi?id=12185
and we've verified with acroread that the cairo-pdf output
does render as intended there. The disabled tests are
clip-operator, operator-clear, operator-source, over-above-source,
over-around-source, over-below-source, and over-between-source.
|
|
|
|
Whilst testing the fallback surface, the resultant image was being
clipped to the screen size. Be conservative and refuse to create
windows (for CAIRO_CONTENT_COLOR surfaces) that are larger than the
screen.
|
|
As well as marking the XRender extension unavailable in
_cairo_boiler_player_xlib_disable_render(), we need to clear any
XRender derived information stored during the surface creation.
|
|
|
|
the Render extension
|
|
malloc(0) can return NULL so double check the requested size before
exiting with an out-of-memory error.
|
|
Testing for XRender support (xrender_format != NULL) after
dereferencing said format doesn't work as intended.
|
|
During configure check for the ghostscript command line tool (gs) before
enabling the PostScript surface tests for make check.
|
|
Remember to destroy the ptc->target as well as the ordinary surface, if
we need to.
|
|
Beware the NULL pointer deference when trying to adjust the max glyph
cache size...
|
|
|
|
The following four tests are disabled:
gradient-alpha, linear-gradient, text-pattern, trap-clip
We don't use XFAIL as that would disable all backends, (but
we can still usefully use these tests on backends other than
PDF).
|
|
I blame git for it...
|
|
in favor of cairo_boilerplate_scaled_font_set_max_glyphs_cached.
|
|
in favor of cairo_boilerplate_svg_surface_force_fallbacks.
|
|
|
|
in favor of cairo_boilerplate_ps_surface_force_fallbacks.
|
|
in favor of cairo_boilerplate_pdf_surface_force_fallbacks.
|
|
|
|
in favor of cairo_boilerplate_xlib_surface_disable_render.
|
|
|
|
Prefer to abort gracefully if we run out of memory (or simply to protect
them from memfault).
|
|
|
|
cairo-boilerplate-test-surfaces*
|
|
|
|
|
|
|
|
|
|
|
|
|