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



commit 05d8861cc5e731ae82fb666ab2e453e64e577316
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]