mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 13:46:30 +01:00
initial commit of hand merging, plus getting "ancient" waf script to work correctly
This commit is contained in:
parent
1d8bac08c0
commit
aaea166135
244 changed files with 131902 additions and 7357 deletions
30
libs/canvas/canvas/debug.h
Normal file
30
libs/canvas/canvas/debug.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#ifndef __CANVAS_DEBUG_H__
|
||||
#define __CANVAS_DEBUG_H__
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <map>
|
||||
#include "pbd/debug.h"
|
||||
|
||||
namespace PBD {
|
||||
namespace DEBUG {
|
||||
extern uint64_t CanvasItems;
|
||||
extern uint64_t CanvasItemsDirtied;
|
||||
extern uint64_t CanvasEvents;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef CANVAS_DEBUG
|
||||
#define CANVAS_DEBUG_NAME(i, n) i->name = n;
|
||||
#else
|
||||
#define CANVAS_DEBUG(i, n) /* empty */
|
||||
#endif
|
||||
|
||||
namespace ArdourCanvas {
|
||||
extern struct timeval epoch;
|
||||
extern std::map<std::string, struct timeval> last_time;
|
||||
extern void checkpoint (std::string, std::string);
|
||||
extern void set_epoch ();
|
||||
extern int render_count;
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue