[gimp] app: Reuse the GeglProcessor
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp] app: Reuse the GeglProcessor
- Date: Fri, 26 Jun 2009 06:15:48 +0000 (UTC)
commit 51f81bd15ec028d869c11c33fa1a1e9d02d2d267
Author: Martin Nordholts <martinn src gnome org>
Date: Fri Jun 26 08:16:43 2009 +0200
app: Reuse the GeglProcessor
Reuse the GeglProcessor instead of creating a new one in each call to
gimp_projection_construct_gegl(). Requires at least 0ed57a05da of
GEGL. Does not seem to give any performance improvement at all
unfortunately :(
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 1373c01..990059a 100644
--- a/app/core/gimpprojection-construct.c
+++ b/app/core/gimpprojection-construct.c
@@ -158,12 +158,6 @@ gimp_projection_construct_gegl (GimpProjection *proj,
gegl_processor_set_rectangle (proj->processor, &rect);
while (gegl_processor_work (proj->processor, NULL));
-
-#ifdef __GNUC__
-#warning FIXME: keep the processor around once gegl_processor_set_rectangle() works
-#endif
- g_object_unref (proj->processor);
- proj->processor = NULL;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]