[gegl] node: make the cache buffer track both extent and abyss



commit 6a8b72e0b29e3787b8f66c6a2c7bbb7fba06f763
Author: Ville Sokk <ville sokk gmail com>
Date:   Tue Jul 17 11:03:04 2012 +0300

    node: make the cache buffer track both extent and abyss

 gegl/graph/gegl-node.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index 19ded9c..d06c6e1 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -1765,7 +1765,7 @@ gegl_node_get_bounding_box (GeglNode *root)
   g_free (id);
 
   if (root->cache)
-    gegl_buffer_set_abyss (GEGL_BUFFER (root->cache), &root->have_rect);
+    gegl_buffer_set_extent (GEGL_BUFFER (root->cache), &root->have_rect);
 
   root->valid_have_rect = TRUE;
   return root->have_rect;
@@ -2076,8 +2076,8 @@ gegl_node_get_cache (GeglNode *node)
                                   "format", format,
                                   NULL);
 
-      /* bounding box must be called at least once to compute an
-         initial have_rect for the abyss */
+      /* gegl_node_get_bounding_box must be called at least once to compute
+         an initial have_rect for the extent of the cache */
       gegl_node_get_bounding_box (node);
 
       g_signal_connect (G_OBJECT (node->cache), "computed",



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