mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-11 08:09:12 +02:00
There are two partial implementations of the color-manager protocol boilerplate, in color-management-test.c and color-management-parametric-test.c. This patch moves the implementation from the latter into the client library, and uses the helper bit(). This paves way for moving the other partial implementation as well, de-duplicating the overlapping code, and allowing new test programs to poke at color-manager. The color-manager is initialized on-demand, because mosts tests in the suite do not need it. This avoids a little of unnecessary work. In anticipation of wp_color_management_v1 version 2, the interface version is explicit and ensured. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com> |
||
|---|---|---|
| .. | ||
| color-manager-client.c | ||
| color-manager-client.h | ||
| color_util.c | ||
| color_util.h | ||
| image-iter.h | ||
| lcms_util.c | ||
| lcms_util.h | ||
| meson.build | ||
| weston-test-assert.h | ||
| weston-test-client-helper.c | ||
| weston-test-client-helper.h | ||
| weston-test-desktop-shell.c | ||
| weston-test-fixture-compositor.c | ||
| weston-test-fixture-compositor.h | ||
| weston-test-runner.c | ||
| weston-test-runner.h | ||
| weston-test.c | ||
| weston-testsuite-data.h | ||
| xcb-client-helper.c | ||
| xcb-client-helper.h | ||
| xdg-client-helper.c | ||
| xdg-client-helper.h | ||