[gnome-photos/gnome-3-24] image-view: Log dimensions of the clip rectangle when drawing
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-24] image-view: Log dimensions of the clip rectangle when drawing
- Date: Wed, 12 Apr 2017 14:29:07 +0000 (UTC)
commit 706d02f188c74587f3a45a28faae13a73ecc5d8e
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Apr 7 09:24:01 2017 +0200
image-view: Log dimensions of the clip rectangle when drawing
... to add more context to the performance figure.
src/photos-image-view.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-image-view.c b/src/photos-image-view.c
index 8405758..7fb80b7 100644
--- a/src/photos-image-view.c
+++ b/src/photos-image-view.c
@@ -247,7 +247,13 @@ photos_image_view_draw_node (PhotosImageView *self, cairo_t *cr, GdkRectangle *r
GEGL_ABYSS_NONE);
end = g_get_monotonic_time ();
- photos_debug (PHOTOS_DEBUG_GEGL, "PhotosImageView: Node Blit: %" G_GINT64_FORMAT, end - start);
+ photos_debug (PHOTOS_DEBUG_GEGL,
+ "PhotosImageView: Node Blit: %d, %d, %d×%d, %" G_GINT64_FORMAT,
+ rect->x,
+ rect->y,
+ rect->width,
+ rect->height,
+ end - start);
surface = cairo_image_surface_create_for_data (buf, CAIRO_FORMAT_ARGB32, roi.width, roi.height, stride);
cairo_surface_set_device_scale (surface, (gdouble) scale_factor, (gdouble) scale_factor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]