mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
wlr_scene: Parse out WLR_SCENE_DEBUG_DAMAGE
This commit is contained in:
parent
4ac19e9f9c
commit
17f5414b1a
3 changed files with 31 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue