Vladimir Vukicevic
dfe3e20a4a
[win32] Fix boilerplate for win32 surfaces to use new _with_dib function
...
Create test surfaces for win32 using _with_dib instead of creating the
dib locally; also test CONTENT_COLOR and CONTENT_COLOR_ALPHA.
2006-09-09 18:56:58 -07:00
Vladimir Vukicevic
97f26c5235
Merge branch 'master' of git+ssh://git.cairographics.org/git/cairo into cairo-master
2006-09-09 17:09:03 -07:00
Vladimir Vukicevic
0e59041321
[win32] win32-specific Makefiles for building with MSVC
...
This patch adds a bunch of makefiles for building cairo with Visual C++.
gnu make is still required, and make must be run from a command prompt
that has the Visual C++ paths set up, as well as has the cygwin environment
in the path. Run 'make -f Makefile.win32'.
2006-09-09 17:08:18 -07:00
Carl Worth
a37e667533
Use unsigned consistently to avoid compiler warning.
2006-09-09 16:04:51 -07:00
Carl Worth
195fd5cde6
boilerplate: Rename cairo_test_target_t to cairo_boilerplate_target_t
2006-09-09 16:04:51 -07:00
Behdad Esfahbod
e25add77df
Add
2006-09-06 13:58:31 -04:00
Behdad Esfahbod
8c9ea020ca
[Makefile] Fix typo
2006-09-06 12:45:07 -04:00
Carl Worth
d31037e421
perf: Report times not rates. Interface in integers not doubles.
2006-09-06 00:15:49 -07:00
Carl Worth
bcb7863f00
Move target tolerance to cairo_test_target structure (should let single-pixel SVG errors pass)
...
Previously we were setting the target tolerance based on the surface
type. But that doesn't work as multiple backends will provide a surface
of type meta. So instead we put the tolerance as a value in the
cairo_test_target data structure.
With this change, some single-pixel errors of 1 in the SVG backend
should now be ignored.
2006-09-05 22:25:21 -07:00
Benjamin Otte
2ebb9af434
boilerplate: Fix compilation for glitz.
2006-08-31 13:30:10 -07:00
Carl Worth
739c476767
Initial hookup of Vlad's timer/alarm code
2006-08-31 10:29:52 -07:00
Carl Worth
2c16aa6304
perf: Don't measure meta-surface-backed surface types.
2006-08-31 08:53:58 -07:00
Carl Worth
4915e0baa7
boilerplate: Fix missing include of config.h which was preventing many backends from being tested
2006-08-31 08:36:29 -07:00
Carl Worth
d52a1f762d
Move test-specific stuff out of boilerplate/ and back into test/
...
This now gives us two separate libtool convenience libraries,
so they have to have separate names now:
libcairoboilerplate.la and libcairotest.la.
2006-08-31 01:39:06 -07:00
Carl Worth
9547521885
boilerplate: Remove custom read/write-png code in favor of using cairo surfaces
...
Also combine image_diff and image_diff_flattened into a single function
2006-08-31 01:09:39 -07:00
Carl Worth
37ce705890
Separate the sharable stuff out of cairo-test.c into cairo-boilerplate.c
2006-08-30 22:57:36 -07:00
Carl Worth
a0ca4369ff
Add boilerplate/README explaining its purpose
2006-08-30 22:33:53 -07:00
Carl Worth
7f4e83ceeb
Split libcairotest files out from test/ and into boilerplate/
...
The idea here is to setup boilerplate to allow code sharing between
test/ and the upcoming perf/
2006-08-30 15:34:27 -07:00