[gimp/goat-invasion: 19/412] app: resue the GeglProcessor
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 19/412] app: resue the GeglProcessor
- Date: Tue, 3 Apr 2012 09:34:42 +0000 (UTC)
commit aa20e967a3abd14929a925203b65bc303e253860
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]