[gnome-photos/gnome-3-34] test-gegl: Unbreak /gegl/buffer/zoom/in* with Babl 0.1.67
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-34] test-gegl: Unbreak /gegl/buffer/zoom/in* with Babl 0.1.67
- Date: Wed, 1 Apr 2020 16:44:13 +0000 (UTC)
commit 2083b632f04824da1570186620aea6627de1f7d5
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Apr 1 16:00:20 2020 +0200
test-gegl: Unbreak /gegl/buffer/zoom/in* with Babl 0.1.67
Babl 0.1.67 added some AVX2 fast paths [1] that might alter the
checksum of GeglBuffers when zooming in with gegl:scale-ratio. The
difference in the accuracy of the values is too small to be perceived
by the human eye, while the performace benefits are significant.
[1] Babl commit 41a31deeb36a72bb
https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/126
tests/unit/photos-test-gegl.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/tests/unit/photos-test-gegl.c b/tests/unit/photos-test-gegl.c
index 92175277..9b659792 100644
--- a/tests/unit/photos-test-gegl.c
+++ b/tests/unit/photos-test-gegl.c
@@ -736,6 +736,9 @@ photos_test_gegl_buffer_zoom_in_0 (PhotosTestGeglFixture *fixture, gconstpointer
const gchar *const checksums[] =
{
"12d60499ebbf9533040792debe28c8bcdebb5ac6b26e2864b26347f42fade116",
+#if PHOTOS_GEGL_BABL_CHECK_VERSION(0, 1, 67)
+ "caaa64e34505b94bd64fee635376b76439566cc1fd8f73e39bd3ca710af540e3",
+#endif
NULL
};
@@ -749,6 +752,9 @@ photos_test_gegl_buffer_zoom_in_1 (PhotosTestGeglFixture *fixture, gconstpointer
const gchar *const checksums[] =
{
"f8a0d6eb8c2fdc3f5592f39beaea9477aaf33760e5985a092c99bbb02e735c21",
+#if PHOTOS_GEGL_BABL_CHECK_VERSION(0, 1, 67)
+ "1e0f18651c3e1c5578c317e4070c024d2e70679b79de6a3696f204f47d157dd2",
+#endif
NULL
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]