aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2022-11-08 11:55:05 -0500
committerSimon Ser <contact@emersion.fr>2022-11-11 00:08:04 +0000
commitea40ba4f6abd6623ff40eef7e443ca2e389ca3b1 (patch)
treef93d9e3dda9dcefdeace391e93f667421d2202b3 /include
parenteec95e3d5e1a4f2e13b1f6b34cc287475ca57daf (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_buffer.h2
1 files changed, 2 insertions, 0 deletions
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;
};
/**