Remove debug tree

This feature has served its purpose. It's better to use IPC now.
This commit is contained in:
Ryan Dwyer 2019-03-18 20:52:56 +10:00 committed by Brian Ashworth
parent 38bd60c4b3
commit e9a476244d
9 changed files with 14 additions and 206 deletions

View file

@ -16,7 +16,6 @@
#include "log.h"
#include "config.h"
#include "sway/config.h"
#include "sway/debug.h"
#include "sway/input/input-manager.h"
#include "sway/input/seat.h"
#include "sway/layers.h"
@ -1075,12 +1074,6 @@ render_overlay:
render_drag_icons(output, damage, &root->drag_icons);
renderer_end:
if (debug.render_tree) {
wlr_renderer_scissor(renderer, NULL);
wlr_render_texture(renderer, root->debug_tree,
wlr_output->transform_matrix, 0, 40, 1);
}
wlr_renderer_scissor(renderer, NULL);
wlr_output_render_software_cursors(wlr_output, damage);
wlr_renderer_end(renderer);