Add debug_dump_scene()

Dump view_tree and osd_tree on calling debug-action. Example bind:

<keybind key="A-F12">
  <action name="Debug"></action>
</keybind>
This commit is contained in:
Johan Malm 2022-02-12 19:43:32 +00:00
parent 532656ad5b
commit 5934ed6682
5 changed files with 69 additions and 1 deletions

9
include/debug.h Normal file
View file

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __DEBUG_H
#define __DEBUG_H
struct server;
void debug_dump_scene(struct server *server);
#endif /* __DEBUG_H */