Skip to content

Explicitly handle image formats in buffer_diff_core and pdiff_compare

M. Stoeckl requested to merge mstoeckl/cairo:fix-core-diff into master

See also commit messages.

This MR closes #25 (closed). It a) fixes the bug in buffer_diff_core, in which the max_diff can be spuriously increased by differences in alpha channel on RGB24 surfaces b) fixes the bug in pdiff_compare, where RGB24 surfaces incorrectly are treated as ARGB32.

Marked as draft, because there are a few more test failures than expected, and the failures still need to be corrected or commuted to XFAIL. (A solid fraction are due to missing references images; the

Note: CI had a build failure on Android, with error: "At least 118MB more space needed on the / filesystem.".

Edited by M. Stoeckl

Merge request reports