fix a typo in canvas-debug.h
[ardour.git] / libs / canvas / debug.cc
index 1d947a8866f22124d067ca3239abdf37dc19da69..04dd2ef31b0ca3d68ec17430eea4f184a8eced65 100644 (file)
@@ -1,3 +1,22 @@
+/*
+    Copyright (C) 2011-2013 Paul Davis
+    Author: Carl Hetherington <cth@carlh.net>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
 #include <sys/time.h>
 #include <iostream>
 #include "canvas/debug.h"
@@ -7,10 +26,12 @@ using namespace std;
 uint64_t PBD::DEBUG::CanvasItems = PBD::new_debug_bit ("canvasitems");
 uint64_t PBD::DEBUG::CanvasItemsDirtied = PBD::new_debug_bit ("canvasitemsdirtied");
 uint64_t PBD::DEBUG::CanvasEvents = PBD::new_debug_bit ("canvasevents");
+uint64_t PBD::DEBUG::CanvasRender = PBD::new_debug_bit ("canvasrender");
 
 struct timeval ArdourCanvas::epoch;
 map<string, struct timeval> ArdourCanvas::last_time;
 int ArdourCanvas::render_count;
+int ArdourCanvas::render_depth;
 int ArdourCanvas::dump_depth;
 
 void