summaryrefslogtreecommitdiff
path: root/test/buffer-diff.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-08-20 19:37:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-08-20 23:20:09 +0100
commitb47c772934571ffcabc3ec9b3468f4ef1a6d6863 (patch)
tree647fe50e04fcd4d05325438c9da9ef1cc76039d3 /test/buffer-diff.h
parent186e7a2602cf140ac03b730b95ed10f25f9319c6 (diff)
downloadcairo-b47c772934571ffcabc3ec9b3468f4ef1a6d6863.tar.gz
[test/bufferdiff] Move unused code.
Only imagediff calls png_diff, so it makes sense to move that function out of the cairo-test and into the utility.
Diffstat (limited to 'test/buffer-diff.h')
-rw-r--r--test/buffer-diff.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/buffer-diff.h b/test/buffer-diff.h
index 64bce920a..c09bc6464 100644
--- a/test/buffer-diff.h
+++ b/test/buffer-diff.h
@@ -53,42 +53,6 @@ buffer_diff_noalpha (const unsigned char *buf_a,
int stride,
buffer_diff_result_t *result);
-/* Compares two image buffers ignoring the alpha channel. A return
- * value of CAIRO_STATUS_SUCCESS indicates that a comparison was made,
- * (but the images may or may not differ). Failure modes include
- * CAIRO_STATUS_FILE_NOT_FOUND, CAIRO_STATUS_READ_ERROR,
- * CAIRO_STATUS_NO_MEMORY, and CAIRO_STATUS_SURFACE_TYPE_MISMATCH
- * (which is used if the image sizes differ).
- *
- * Provides number of pixels changed and maximum single-channel
- * difference in result.
- *
- * Also saves a "diff" image intended to visually show where the
- * images differ.
- */
-cairo_status_t
-png_diff (const cairo_test_context_t *ctx,
- const char *filename_a,
- const char *filename_b,
- const char *filename_diff,
- int ax,
- int ay,
- int bx,
- int by,
- buffer_diff_result_t *result);
-
-/* Like png_diff, but blending the contents of b over white first. */
-cairo_status_t
-png_diff_flattened (const cairo_test_context_t *ctx,
- const char *filename_a,
- const char *filename_b,
- const char *filename_diff,
- int ax,
- int ay,
- int bx,
- int by,
- buffer_diff_result_t *result);
-
/* The central algorithm to compare two images, and return the differences
* in the surface_diff.
*