[gegl] convolution-matrix: do not require for output the source input plane



commit 1e431544ff2bfb0f37b121d161b3f1283b386288
Author: Thomas Manni <thomas manni free fr>
Date:   Tue Jul 30 17:31:04 2019 +0200

    convolution-matrix: do not require for output the source input plane
    
    Use the get_required_for_output implementation of area filter class instead.
    The operation can now be applied on infinite planes (issue #179)

 operations/common/convolution-matrix.c | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/operations/common/convolution-matrix.c b/operations/common/convolution-matrix.c
index 6db3d5406..ca27c5885 100644
--- a/operations/common/convolution-matrix.c
+++ b/operations/common/convolution-matrix.c
@@ -592,14 +592,6 @@ get_bounding_box (GeglOperation *operation)
   return *in_rect;
 }
 
-static GeglRectangle
-get_required_for_output (GeglOperation       *operation,
-                         const gchar         *input_pad,
-                         const GeglRectangle *roi)
-{
-  return get_bounding_box (operation);
-}
-
 static GeglAbyssPolicy
 get_abyss_policy (GeglOperation *operation,
                   const gchar   *input_pad)
@@ -624,7 +616,6 @@ gegl_op_class_init (GeglOpClass *klass)
   filter_class->process                    = process;
   operation_class->prepare                 = prepare;
   operation_class->get_bounding_box        = get_bounding_box;
-  operation_class->get_required_for_output = get_required_for_output;
 
   gegl_operation_class_set_keys (operation_class,
     "categories",  "generic",


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