[gegl] gegl: Also debug gegl_eval_visitor_visit_pad() cache usage
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Subject: [gegl] gegl: Also debug gegl_eval_visitor_visit_pad() cache usage
- Date: Sat, 6 Jun 2009 11:00:44 -0400 (EDT)
commit 0083d500536c304f22d56b7cf452d24b8fd16563
Author: Martin Nordholts <martinn src gnome org>
Date: Sat Jun 6 17:01:32 2009 +0200
gegl: Also debug gegl_eval_visitor_visit_pad() cache usage
Also debug gegl_eval_visitor_visit_pad() cache usage so we report the
complete picture.
---
gegl/process/gegl-eval-visitor.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gegl/process/gegl-eval-visitor.c b/gegl/process/gegl-eval-visitor.c
index 4b762ee..dc00bc3 100644
--- a/gegl/process/gegl-eval-visitor.c
+++ b/gegl/process/gegl-eval-visitor.c
@@ -96,6 +96,10 @@ gegl_eval_visitor_visit_pad (GeglVisitor *self,
gegl_cache_computed (node->cache, &context->result_rect);
}
}
+ else
+ {
+ GEGL_NOTE (GEGL_DEBUG_PROCESS, "Using cache for pad '%s' on \"%s\"", gegl_pad_get_name (pad), gegl_node_get_debug_name (node));
+ }
}
else if (gegl_pad_is_input (pad))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]