aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-05-20 18:28:08 -0400
committerAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-05-23 15:43:18 -0400
commit17f5414b1ab198481f82d23e6903b48768785117 (patch)
treeb4deeba76f2ba456108249bf38f5b31c2d895f13 /include
parent4ac19e9f9cf38bc146ba42cc7ce89b29e748b30f (diff)
wlr_scene: Parse out WLR_SCENE_DEBUG_DAMAGE
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_scene.h8
1 files changed, 8 insertions, 0 deletions
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. */