Files
gtk/gdk
Simon McVittie 979c124e57 png: Correct endianness for big-endian machines
libpng wants to receive samples in either RGB or RGBA order, whether
each sample is big-endian or not. This resolves test failures in
testsuite/gdk/memorytexture.c (and a lot of reftests) on s390x, and
probably the PowerPC family too.

Modifying the test to show the color in use and write out the PNG bytes
to a file, and running the memorytexture test on s390x, produces a PNG
that loads with the correct color values in GIMP (on an x86_64 machine),
which seems like evidence that this is the correct change and not just
compensating errors.

Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/4616
Signed-off-by: Simon McVittie <smcv@debian.org>
2022-01-08 17:09:29 +00:00
..
2021-10-28 14:48:20 +02:00
2022-01-01 17:03:10 +01:00
2021-10-06 03:43:47 +02:00
2021-10-08 03:31:07 +02:00
2021-10-26 20:59:37 +02:00
2021-05-27 00:18:23 +00:00
2021-09-24 22:50:29 +02:00
2021-09-24 22:50:29 +02:00
2019-11-27 13:33:43 +00:00
2021-10-11 21:40:29 +01:00
2021-05-22 17:25:26 -04:00
2022-01-03 10:27:51 +00:00
2020-10-29 07:40:30 -04:00
2021-10-06 22:50:07 +02:00
2021-12-01 14:04:35 -05:00
2021-12-01 14:04:35 -05:00
2021-05-22 17:25:26 -04:00
2020-07-25 00:47:36 +02:00
2021-09-24 22:50:29 +02:00
2021-10-26 20:59:37 +02:00
2021-09-24 22:50:29 +02:00
2021-10-06 22:50:07 +02:00
2021-05-20 20:45:06 -04:00
2021-10-26 20:59:37 +02:00
2020-07-25 00:47:36 +02:00
2021-05-22 17:25:26 -04:00
2020-04-03 15:30:56 +01:00
2021-10-06 22:50:07 +02:00
2021-09-24 22:50:29 +02:00
2021-10-26 20:59:37 +02:00
2021-10-26 20:59:37 +02:00
2021-10-26 20:59:37 +02:00
2021-09-24 22:50:29 +02:00
2021-03-11 16:37:31 +00:00
2021-09-24 22:50:29 +02:00
2021-03-11 16:37:31 +00:00
2021-09-24 22:50:29 +02:00
2021-03-11 16:37:31 +00:00
2021-09-10 16:56:42 -05:00
2021-09-24 22:50:29 +02:00
2021-05-22 17:25:26 -04:00
2020-07-25 00:47:36 +02:00
2021-10-26 20:59:37 +02:00
2020-07-21 16:55:28 -04:00
2021-03-11 16:37:31 +00:00
2021-10-26 20:59:37 +02:00
2021-05-20 20:45:06 -04:00
2021-05-22 17:25:26 -04:00
2021-08-29 04:29:02 +02:00
2021-05-20 19:17:49 -04:00
2020-07-25 00:47:36 +02:00
2021-05-22 17:25:26 -04:00
2020-07-25 00:47:36 +02:00
2021-03-11 16:37:31 +00:00
2021-05-22 21:21:10 -04:00
2021-10-26 20:59:37 +02:00
2020-03-11 19:35:55 -04:00
2021-05-22 17:25:26 -04:00
2019-11-27 13:33:43 +00:00
2021-09-24 22:50:29 +02:00
2021-03-11 16:37:31 +00:00
2021-03-11 16:37:31 +00:00
2021-10-06 03:44:59 +02:00
2021-05-22 17:25:26 -04:00
2021-10-26 20:59:37 +02:00
2021-08-23 07:54:27 +02:00
2021-10-18 08:35:54 -04:00
2021-10-26 20:59:37 +02:00