From ea40ba4f6abd6623ff40eef7e443ca2e389ca3b1 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Tue, 8 Nov 2022 11:55:05 -0500 Subject: wlr_scene: Fix texture reuse Add private interface to ignore a buffer that's locking a client_buffer for damage tracking. This should eventually be replaced by wlr_raster. --- include/wlr/types/wlr_buffer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index b24c0ccd..bb0444bf 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -151,6 +151,8 @@ struct wlr_client_buffer { // private state struct wl_listener source_destroy; + + size_t n_ignore_locks; }; /** -- cgit v1.2.3