gtk/testsuite/gsk
Benjamin Otte a6233ac852 rendernodeparser: Check color values aren't out of range
Use the clamp() API from the previous commit to:

1. Clamp values into range
2. Emit an error if values were out of range

Unlike CSS, which just clamps and doesn't emit an error, we do want to
emit one because we care about colors being correct in our node files.
2024-08-17 18:12:23 +02:00
..
compare gl: Interpolate gradient colors as premultiplied 2024-08-11 19:07:40 +02:00
fonts Isolate our nodeparser tests better 2024-06-21 18:17:11 -04:00
nodeparser rendernodeparser: Check color values aren't out of range 2024-08-17 18:12:23 +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 gskpathop: Introduce a type to represent an aligned graphene_point_t 2024-07-28 17:31:41 +01:00
curve.c gskpathop: Introduce a type to represent an aligned graphene_point_t 2024-07-28 17:31:41 +01: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: build fix 2024-08-12 19:19:15 -04: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 Merge branch 'wip/otte/for-main' into 'main' 2024-08-10 01:10:12 +00:00
rounded-rect.c testsuite: Drop duplicated rounded-rect tests 2024-02-14 14:12:43 -05:00
scaling.c gsk, testsuite: Avoid undefined behaviour in half_to_float_one() 2024-07-27 20:22:09 +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