gtk/testsuite/gsk
Benjamin Otte cc3ed89e34 gpu: Draw proper shadows again
The fix in commit 5e7f227d broke shadows while trying to make them
faster.
So use a better way to make them faster.

With the normalized blur radius, we can now conclude that all the values
too far from p.y will cause the gauss() call to return close to 0, so we
can skip any y value that is too far from p.y.

And that allows us to put an upper limit on the loop iterations.

Tests included

Fixes #6888
2024-07-30 01:50:56 +02:00
..
compare gpu: Draw proper shadows again 2024-07-30 01:50:56 +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 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 gpu: Draw proper shadows again 2024-07-30 01:50:56 +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 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