Commits on Source (5)
-
When the new option is enabled, headless backend will draw decorations around its outputs. This makes the actual "framebuffer" larger by the thickness of the decorations to keep the video mode area free for clients. This will be needed for a future test, that will ensure that GL-renderer will paint the output decorations correctly. The output title is deliberately NULL, because text rendering is unpredictable and depends on e.g. what fonts are installed in the system. Therefore screenshot testing of any text would be really painful, so let's avoid that. The decorations setup code is mostly copied from wayland-backend. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
3746e163 -
This will be used by a new test. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
e11a5170 -
Only the 'image' field of struct buffer is ever used here, so just pass pixman_image_t instead of struct buffer. This allows a future test to mangle a screenshot (e.g. convert pixel format) before feeding it in. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
9b7084cf -
This adds a new test checking that output decorations (used in the wayland-backend, here tested with headless-backend) are drawn correctly. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2cf85ab6 -
Here are more tests for output decorations drawing, this time through the color-lcms plugin. This is the only practical way to exercise the input-to-output category of color transformations. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
142ec0f4
tests/output-decorations-test.c
0 → 100644
tests/reference/output-decorations-00.png
0 → 100644
1.05 KiB
650 B
653 B
652 B