From 3ce5a2e7748124f2b93e5211c1e70d69ea388fc1 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Fri, 10 Apr 2026 11:51:05 +0300 Subject: [PATCH] tests/output-damage: doc renderer testing This test was originally written to ensure Weston does not repaint too much, but it does also test that renderers transform the damage correctly into the framebuffer. Signed-off-by: Pekka Paalanen --- tests/output-damage-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/output-damage-test.c b/tests/output-damage-test.c index 55af7129c..e69f9eefa 100644 --- a/tests/output-damage-test.c +++ b/tests/output-damage-test.c @@ -169,6 +169,8 @@ commit_buffer_with_damage(struct surface *surface, /* * Test that Weston repaints exactly the damage a client sends to it. + * Also ensure that damage regions are correctly transformed through the output + * transform and scale all way to the framebuffer coordinates by the renderers. * * NOTE: This relies on the Weston implementation detail that Weston actually * will repaint exactly the client's damage and nothing more. This is not