[gimp/goat-invasion: 19/241] app: resue the GeglProcessor
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 19/241] app: resue the GeglProcessor
- Date: Sat, 24 Mar 2012 20:44:25 +0000 (UTC)
commit 48caed1ed4d552c724d9649c911fed832d2f92b8
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]