gtk/testsuite/gsk
Benjamin Otte 31e0ec71f2 png: Add color state support
When loading or saving png files, encode the CICP flags of the color
state into the PNG.

When loading, decode the CICP flags if available and detect the
colorstate they use.
If we do not support the cicp tags, we do not load the image.

So far, we ignore the ICC profiles.

Includes regeneration of nodeparse test *reference* output to include
the new tags we write to PNGs.
The original tests do not include those tags, so we implicitly test that
we read untagged files correctly.
2024-07-16 22:04:10 +02:00
..
compare testsuite: Add test for empty glshader node 2024-07-11 13:34:36 +02:00
fonts Isolate our nodeparser tests better 2024-06-21 18:17:11 -04:00
nodeparser png: Add color state support 2024-07-16 22:04:10 +02:00
offload Merge branch 'fix-offload-transforms' into 'main' 2024-07-08 12:58:28 +00:00
opaque rendernode: Handle rotation transforms in opacity calculations 2024-07-10 21:34:12 +02:00
boundingbox.c gsk: Add tests for GskBoundingBox 2023-08-06 17:16:46 -04:00
compare-render.c testsuite: Generate mask correctly 2024-07-07 12:54:05 +02:00
curve-special-cases.c Make curve tests pass 2023-08-26 11:22:58 -04:00
curve.c Make curve tests more robust 2023-08-25 20:23:08 -04:00
diff.c gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
gskrendernodeattach.c gsk: Deprecate GskGLShader and the rendernode 2024-07-04 21:28:06 +02:00
gskrendernodeattach.h testsuite: Add offload tests 2023-11-13 18:41:53 -06:00
gtkrendernodeattach.h Rework diffing one more time 2024-02-11 20:48:59 -05:00
half-float.c testsuite: Replace g_random_*() with g_test_rand_*() 2024-01-03 16:05:25 +01:00
meson.build testsuite: Add test for empty glshader node 2024-07-11 13:34:36 +02:00
misc.c gsk: Deprecate GskGLShader and the rendernode 2024-07-04 21:28:06 +02:00
node-parser.c testsuite: Remove duplicate newline 2024-01-22 07:47:10 +01:00
normalize.c testsuite: Don't use g_test_init 2024-02-14 10:37:56 -05:00
offload.c Cosmetics 2024-07-04 06:40:52 -04:00
opaque.c testsuite: Add test runner for opacity tests 2024-07-08 15:28:14 +02:00
path-private.c Update private path tests 2023-09-15 16:46:23 -04:00
path-special-cases.c path: Tweak printing a bit more 2023-09-17 22:35:33 -04:00
path-utils.c tests: Split off some path utilities 2023-09-23 15:28:35 -04:00
path-utils.h tests: Split off some path utilities 2023-09-23 15:28:35 -04:00
path.c testsuite: Replace g_random_*() with g_test_rand_*() 2024-01-03 16:05:25 +01:00
render-nodes-cairo.test.in a11y: Consolidate accessibility environment variables 2020-11-09 16:21:49 +00:00
render-nodes-vulkan.test.in a11y: Consolidate accessibility environment variables 2020-11-09 16:21:49 +00:00
replay-node.c gsk: Deprecate GskGLShader and the rendernode 2024-07-04 21:28:06 +02:00
rounded-rect.c testsuite: Drop duplicated rounded-rect tests 2024-02-14 14:12:43 -05:00
scaling.c testsuite: Don't #include <gsk/gl/gskglrenderer.h> 2024-01-07 14:47:22 +01:00
shader.c gsk: Deprecate GskGLShader and the rendernode 2024-07-04 21:28:06 +02:00
transform.c gsk: Make matrix transforms roundtrip better 2024-02-11 19:39:19 -05:00