[gnome-photos/wip/rishi/double-buffering: 6/12] image-view: Add debug for photos_image_view_computed



commit cd918f59116186d37ba4f0a55404b9ad3cdbb9c6
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Jan 17 09:36:59 2017 +0100

    image-view: Add debug for photos_image_view_computed

 src/photos-image-view.c |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-image-view.c b/src/photos-image-view.c
index 794b848..e7b8363 100644
--- a/src/photos-image-view.c
+++ b/src/photos-image-view.c
@@ -1,6 +1,6 @@
 /*
  * Photos - access, organize and share your photos on GNOME
- * Copyright © 2015 – 2016 Red Hat, Inc.
+ * Copyright © 2015 – 2017 Red Hat, Inc.
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -116,8 +116,16 @@ photos_image_view_update (PhotosImageView *self)
 
 
 static void
-photos_image_view_computed (PhotosImageView *self)
+photos_image_view_computed (PhotosImageView *self, GeglRectangle *rect)
 {
+  photos_debug (PHOTOS_DEBUG_GEGL,
+                "PhotosImageView: Node (%p) Computed: %d, %d, %d×%d",
+                self->node,
+                rect->x,
+                rect->y,
+                rect->width,
+                rect->height);
+
   photos_image_view_update (self);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]