weston/shared
Leandro Ribeiro be7d88fa13 tests: test GL-renderer support for creating straight alpha fb's
GL-renderer can produce straight alpha framebuffers on some platforms,
and headless-backend can request that using "output-straight-alpha"
config option.

In this patch we use that to add a sanity test for GL-renderer's
straight alpha implementation. Basically, it ensures that no matter if
renderer is producing straight or premult alpha framebuffers after
blending, the results should be the same when the background is opaque.

To extend the tests and exercise the DRM-backend implementation we'd
need more work on:

- VKMS, to emulate that it doesn't support alpha premultiplied fb's.
- Weston, adding support for using ConfigFS on the test suite.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
2026-06-16 16:45:20 +03:00
..
cairo-util.c cairo-util: Remove dead code 2025-07-23 07:59:36 -05:00
cairo-util.h cairo-util: Remove dead code 2025-07-23 07:59:36 -05:00
client-buffer-util.c shared/client-buffer-util: Sync for read as well 2025-10-06 14:06:30 +02:00
client-buffer-util.h shared/client-buffer-util: Add buffer type enum 2025-10-06 14:06:30 +02:00
config-parser.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
fd-util.h libweston: Support zwp_surface_synchronization_v1.set_acquire_fence 2019-02-06 12:21:56 +00:00
file-util.c clients: Fix/resolved doxygen warnings 2019-06-25 14:05:54 +00:00
file-util.h file-util: allow specifying path separately in file_create_dated() 2018-02-09 15:16:07 +00:00
frame.c clients/window: Allow rendering frame wihout shadow 2024-09-09 13:51:51 +00:00
hash.c shared: extract hash table implementation from xwayland 2023-03-03 08:08:46 +00:00
hash.h shared: extract hash table implementation from xwayland 2023-03-03 08:08:46 +00:00
helpers.h tests: rewrite more color-manager handling into client library 2026-03-03 07:41:27 +00:00
image-loader.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
image-loader.h shared: remove load_image() 2024-06-11 10:13:18 -03:00
matrix.c shared: fix matrix type computations 2025-05-30 11:45:08 +00:00
meson.build shared: Add client-buffer helpers 2025-09-05 11:47:18 +02:00
option-parser.c shared: implement weston_parse_space_separated_list() 2025-10-07 17:23:35 +03:00
os-compatibility.c shared: memfd_create: try MFD_NOEXEC_SEAL 2024-05-15 16:27:17 +09:30
os-compatibility.h shared: introduce os_fd_clear_cloexec() 2022-07-12 08:30:22 +00:00
platform.h Fix indentation all through the project 2021-07-31 15:28:20 +00:00
process-util.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
process-util.h frontend: Add FDSTR_INIT macro 2023-04-19 08:28:21 +00:00
string-helpers.h tests: test GL-renderer support for creating straight alpha fb's 2026-06-16 16:45:20 +03:00
timespec-util.h Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
weston-assert.h shared: add weston_assert_enum_ne() 2026-06-16 16:45:20 +03:00
weston-drm-fourcc.h pixel-formats: Move FOURCC defines to weston-drm-fourcc.h 2025-06-23 15:03:06 +02:00
weston-egl-ext.h gl-renderer: add support to query EGL configs with float-point formats 2025-09-02 13:34:00 +00:00
xalloc.h compositor/shared: Suppress write(2) warnings 2022-09-23 11:32:19 +00:00
xcb-xwayland.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
xcb-xwayland.h xwm: Add support for xwayland_shell_v1 2023-03-03 08:21:24 +00:00