[gegl] gegl: Add have_rect debug output
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gegl] gegl: Add have_rect debug output
- Date: Sat, 23 Jan 2010 15:04:10 +0000 (UTC)
commit cee99a362b928291ecb60e237ad6279703baffd3
Author: Martin Nordholts <martinn src gnome org>
Date: Sat Jan 23 15:25:19 2010 +0100
gegl: Add have_rect debug output
gegl/process/gegl-have-visitor.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gegl/process/gegl-have-visitor.c b/gegl/process/gegl-have-visitor.c
index e772bd7..fc98c78 100644
--- a/gegl/process/gegl-have-visitor.c
+++ b/gegl/process/gegl-have-visitor.c
@@ -22,6 +22,7 @@
#include <string.h>
#include "gegl.h"
+#include "gegl-debug.h"
#include "gegl-types-internal.h"
#include "gegl-have-visitor.h"
#include "graph/gegl-node.h"
@@ -67,6 +68,11 @@ gegl_have_visitor_visit_node (GeglVisitor *self,
g_mutex_lock (node->mutex);
#endif
node->have_rect = gegl_operation_get_bounding_box (operation);
+
+ GEGL_NOTE (GEGL_DEBUG_PROCESS,
+ "For \"%s\" have_rect = %d,%d %dÃ?%d\n",
+ gegl_node_get_debug_name (node),
+ node->have_rect.x, node->have_rect.y, node->have_rect.width, node->have_rect.height);
#if ENABLE_MT
g_mutex_unlock (node->mutex);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]