summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDerek Foreman <derek.foreman@collabora.com>2023-01-17 09:01:49 -0600
committerDerek Foreman <derek.foreman@collabora.com>2023-02-02 13:49:39 +0000
commitda3d3c7e95721c11f8d0927ecc2f522d9a416c0d (patch)
treedce973d636ade6c38da9aa97dac765c8bbaed2d4 /tests
parent776fafe13af47f46cd4037c743cd0191a9ef299e (diff)
downloadweston-da3d3c7e95721c11f8d0927ecc2f522d9a416c0d.tar.gz
compositor: Add dirty bits to paint nodes
We're pushing more and more mutable state into paint nodes, but this state has a non-zero cost to rebuild every render. Let's take care to track when we need to rebuild the state. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/matrix-transform-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/matrix-transform-test.c b/tests/matrix-transform-test.c
index 0837b6be..19dfdff3 100644
--- a/tests/matrix-transform-test.c
+++ b/tests/matrix-transform-test.c
@@ -371,6 +371,7 @@ simple_weston_output_prepare(struct weston_output *output,
output->height = height;
output->current_scale = scale;
output->transform = transform;
+ wl_list_init(&output->paint_node_list);
weston_output_update_matrix(output);
}