gtk/testsuite/gdk
Benjamin Otte 4a8122f685 gdk: Make A8 and A16 formats premultiplied
The relevant question here is about details, because we have to choose
if we declare alpha-only formats as having their (nonexistant) color
channels premultiplied or not, so that the code paths using them can do
the right thing.

Because we are premultiplied by default, it makes sense to treat alpha
like that, because then the alpha-only code doesn't need to do
workarounds for straight alpha.

Where this is relevant of course is when expanding the alpha channel
into color channels, where we want to end up with white.
So make sure we do color = alpha there instead of color = 1 like we did
before.
2023-07-22 01:33:44 +02:00
..
bad-image-data Add more texture load tests 2023-05-14 07:50:11 -04:00
clipboard-data Make clipboard tests run installed 2021-04-30 07:47:19 -04:00
image-data gdk: Improve test coverage 2022-07-16 09:43:46 -04:00
array.c Force g_test_init to cooperate 2021-04-12 21:22:46 -04:00
arrayimpl.c testsuite: Reduce use of g_assert 2021-04-12 08:18:00 -04:00
cairo.c Force g_test_init to cooperate 2021-04-12 21:22:46 -04:00
clipboard-client.c testsuite: Avoid a compiler warning 2021-06-17 09:37:45 -04:00
clipboard.c Make clipboard tests work with portals 2022-09-07 08:45:31 -04:00
contentformats.c Improve gdk test coverage 2023-05-15 11:56:31 -04:00
contentserializer.c Add contentserializer tests for textures 2021-09-17 00:25:22 +02:00
cursor.c Force g_test_init to cooperate 2021-04-12 21:22:46 -04:00
display.c testsuite: Improve test coverage 2023-06-04 09:04:25 -04:00
displaymanager.c testsuite: Improve test coverage 2023-06-04 09:04:25 -04:00
encoding.c testsuite: Cosmetics 2023-05-12 19:52:42 -04:00
gdk.test.in testsuite: Run some installed tests exclusively 2021-05-17 07:16:42 -04:00
glcontext.c Improve test coverage for GdkGLContext 2023-05-15 16:49:12 -04:00
gltexture.c Improve test coverage for GdkGLTexture 2023-05-30 22:36:10 -04:00
image.c Add more texture load tests 2023-05-14 07:50:11 -04:00
keysyms.c Add some more keysyms tests 2023-03-29 07:35:24 -04:00
memorytexture.c gdk: Make A8 and A16 formats premultiplied 2023-07-22 01:33:44 +02:00
meson.build Test gltexture update functionality 2023-05-15 12:50:28 -04:00
popuplayout.c Improve gdk test coverage 2023-05-13 21:56:29 -04:00
rectangle.c Fix scan-build warning 2023-05-03 15:32:19 -04:00
rgba.c gdk: Improve test coverage 2022-07-16 09:43:46 -04:00
seat.c Force g_test_init to cooperate 2021-04-12 21:22:46 -04:00
texture-threads.c testsuite: clear_current() when done 2022-01-06 19:22:47 +01:00
texture.c testsuite: Plug some memory leaks 2023-06-09 22:40:38 -04:00
toplevellayout.c Improve gdk test coverage 2023-05-13 21:56:29 -04:00