Canvas: re-use Solver as much as possible, with possible (but not substantive) speedup; remove debug output

This commit is contained in:
Paul Davis 2020-06-25 15:03:26 -06:00
parent 24d83266a3
commit 2fd8174cfe
9 changed files with 85 additions and 48 deletions

View file

@ -109,7 +109,7 @@ Canvas::zoomed ()
pick_current_item (0); // no current mouse position
}
static bool debug_render = true;
static bool debug_render = false;
#define CANVAS_DEBUG
/** Render an area of the canvas.
@ -148,7 +148,6 @@ Canvas::render (Rect const & area, Cairo::RefPtr<Cairo::Context> const & context
area, so render it.
*/
cerr << "root draw\n";
_root.render (draw, context);
#if defined CANVAS_DEBUG && !PLATFORM_WINDOWS