From 17f5414b1ab198481f82d23e6903b48768785117 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Fri, 20 May 2022 18:28:08 -0400 Subject: wlr_scene: Parse out WLR_SCENE_DEBUG_DAMAGE --- include/wlr/types/wlr_scene.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index f3302574..2625dd80 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -71,6 +71,12 @@ struct wlr_scene_node { struct wlr_addon_set addons; }; +enum wlr_scene_debug_damage_option { + WLR_SCENE_DEBUG_DAMAGE_NONE, + WLR_SCENE_DEBUG_DAMAGE_RERENDER, + WLR_SCENE_DEBUG_DAMAGE_HIGHLIGHT +}; + /** The root scene-graph node. */ struct wlr_scene { struct wlr_scene_node node; @@ -83,6 +89,8 @@ struct wlr_scene { // private state struct wl_listener presentation_destroy; + + enum wlr_scene_debug_damage_option debug_damage_option; }; /** A sub-tree in the scene-graph. */ -- cgit v1.2.3