gtk/testsuite/gsk
Benjamin Otte fff912efd3 testsuite: Add a test for subpixel positioning
Draw a grid of 21x21 box glyphs.

Each glyph is offset by n/20 pixels in the x and y direction.

The background color is carefully selected to be divisible by 16, so
that when the box glyph is subpixel positioned by 1/4th of a pixel
offset from the pixel grid in either direction, the result will be an
edge pixel whose color value can be computed exactly.

Cairo still rounds this wrong for color values >= 128 which is why we
use a dark gray that guarantees the resulting color values are all <128.
2024-01-23 06:17:14 +01:00
..
compare testsuite: Add a test for subpixel positioning 2024-01-23 06:17:14 +01:00
fonts tests: Fix up test font naming 2024-01-15 18:25:15 -05:00
nodeparser rendernodeparser: Improve error handling for font parsing 2024-01-22 07:47:10 +01:00
offload offload: Raise all subsurfaces that can be 2023-11-18 08:19:43 -05:00
boundingbox.c gsk: Add tests for GskBoundingBox 2023-08-06 17:16:46 -04:00
compare-render.c tests: Drop fontconfig setup for custom fonts 2024-01-16 07:04:45 -05: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 testsuite: Don't leak so much 2023-11-21 23:21:55 -05:00
gskrendernodeattach.h testsuite: Add offload tests 2023-11-13 18:41:53 -06:00
gtkrendernodeattach.h testsuite: Use #pragma once consistently 2023-12-20 10:55:14 -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 a test for subpixel positioning 2024-01-23 06:17:14 +01:00
misc.c testsuite: Don't #include <gsk/gl/gskglrenderer.h> 2024-01-07 14:47:22 +01:00
node-parser.c testsuite: Remove duplicate newline 2024-01-22 07:47:10 +01:00
offload.c testsuite: Leak even less 2023-11-21 23:21:55 -05: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 Fix some static analysis warnings 2023-11-24 10:35:57 -05:00
rounded-rect.c roundedrect: Fix an intersection cornercase 2023-12-28 07:35:46 +01:00
scaling.c testsuite: Don't #include <gsk/gl/gskglrenderer.h> 2024-01-07 14:47:22 +01:00
shader.c testsuite: fix another surface unref warning 2023-05-11 06:40:57 -04:00
transform.c gsk: Improve test coverage 2023-05-10 20:21:31 -04:00