[gimp/goat-invasion: 19/234] app: resue the GeglProcessor



commit 75df91b3b89104423513dcb9f201cacf5c5d9502
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Wed Mar 14 02:34:35 2012 +0000

    app: resue the GeglProcessor
    
    GEGL now resets the valid-region upon each setting of the rectangle for
    a GeglProcessor.

 app/core/gimpprojection-construct.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/app/core/gimpprojection-construct.c b/app/core/gimpprojection-construct.c
index ad86b27..8c86814 100644
--- a/app/core/gimpprojection-construct.c
+++ b/app/core/gimpprojection-construct.c
@@ -161,12 +161,6 @@ gimp_projection_construct_gegl (GimpProjection *proj,
     gegl_processor_set_rectangle (proj->processor, &rect);
 
   while (gegl_processor_work (proj->processor, NULL));
-
-  /* FIXME: Reuse it when it can handle dirty rects when painting
-   * properly
-   */
-  g_object_unref (proj->processor);
-  proj->processor = NULL;
 }
 
 static void



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