gtk/testsuite/gsk
Benjamin Otte 56fc8f0077 gpu: Blur opaque textures correctly
Opaque textures don't clamp to transparent but instead to black.
We didn't consider this, so we were blurring their edges into blackness
not into transparency.

Fix this by adding the GSK_GPU_AS_IMAGE_SAMPLED_OUT_OF_BOUNDS flag
and respecting it in the implementation that uses it.

Test included.

Fixes #6980
2024-09-09 05:10:51 +02:00
..
compare gpu: Blur opaque textures correctly 2024-09-09 05:10:51 +02:00
fonts Isolate our nodeparser tests better 2024-06-21 18:17:11 -04:00
nodeparser testsuite: Improve testcase 2024-08-17 21:31:14 +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 compare-render: Appease clang and MSVC 2024-08-30 06:28:58 +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: Blur opaque textures correctly 2024-09-09 05:10:51 +02:00
misc.c testsuite: If gsk_renderer_realize() fails, say why 2024-09-03 02:44:24 +01: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 tests: Use dmabufs in compare tests 2024-08-24 13:10:25 -04:00
rounded-rect.c testsuite: Drop duplicated rounded-rect tests 2024-02-14 14:12:43 -05:00
scaling.c Merge branch 'wip/smcv/debug-gsk-scaling-test' into 'main' 2024-09-03 15:30:32 +00: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