summaryrefslogtreecommitdiffstats
path: root/src/display/sp-canvas.h
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-10-01 20:59:59 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-10-01 20:59:59 +0000
commitbd78add8098f9fa6117ec9b8735dd088e3eaeab9 (patch)
tree037bb793b6a1a77a8325a236cebb279f7041e284 /src/display/sp-canvas.h
parentAdd tooltip showing larger version of glyph in Glyph dialog. (diff)
downloadinkscape-bd78add8098f9fa6117ec9b8735dd088e3eaeab9.tar.gz
inkscape-bd78add8098f9fa6117ec9b8735dd088e3eaeab9.zip
Add DEBUG_PERFORMANCE flag to canvas to meassure iddle time and splits procesed
Diffstat (limited to 'src/display/sp-canvas.h')
-rw-r--r--src/display/sp-canvas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/display/sp-canvas.h b/src/display/sp-canvas.h
index 9242cce6e..6f6958c78 100644
--- a/src/display/sp-canvas.h
+++ b/src/display/sp-canvas.h
@@ -207,6 +207,8 @@ public:
int _y0; ///< World coordinate of the topmost pixels of window
int _device_scale; ///< Scale for high DPI montiors
+ GTimeVal _iddle_time;
+ int _splits;
/// Image surface storing the contents of the widget
cairo_surface_t *_backing_store;