[gegl] operation: pass level argument straight on to child implementations
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operation: pass level argument straight on to child implementations
- Date: Sun, 25 Mar 2012 20:36:48 +0000 (UTC)
commit a87e03e1b9f08d7c61d0d896af67e059d83958d6
Author: Ãyvind KolÃs <pippin gimp org>
Date: Sun Mar 25 21:36:36 2012 +0100
operation: pass level argument straight on to child implementations
gegl/operation/gegl-operation-composer.c | 2 +-
gegl/operation/gegl-operation-composer3.c | 2 +-
gegl/operation/gegl-operation-filter.c | 2 +-
gegl/operation/gegl-operation-point-composer.c | 2 +-
gegl/operation/gegl-operation-point-filter.c | 2 +-
gegl/operation/gegl-operation-sink.c | 2 +-
gegl/operation/gegl-operation-source.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-composer.c b/gegl/operation/gegl-operation-composer.c
index bc45bdb..49c72d9 100644
--- a/gegl/operation/gegl-operation-composer.c
+++ b/gegl/operation/gegl-operation-composer.c
@@ -173,7 +173,7 @@ gegl_operation_composer_process (GeglOperation *operation,
if (input != NULL ||
aux != NULL)
{
- success = klass->process (operation, input, aux, output, result, context->level);
+ success = klass->process (operation, input, aux, output, result, level);
if (output == GEGL_BUFFER (operation->node->cache))
gegl_cache_computed (operation->node->cache, result);
diff --git a/gegl/operation/gegl-operation-composer3.c b/gegl/operation/gegl-operation-composer3.c
index efacaae..5bf50d1 100644
--- a/gegl/operation/gegl-operation-composer3.c
+++ b/gegl/operation/gegl-operation-composer3.c
@@ -190,7 +190,7 @@ gegl_operation_composer3_process (GeglOperation *operation,
aux != NULL ||
aux2 != NULL)
{
- success = klass->process (operation, input, aux, aux2, output, result, context->level);
+ success = klass->process (operation, input, aux, aux2, output, result, level);
if (output == GEGL_BUFFER (operation->node->cache))
gegl_cache_computed (operation->node->cache, result);
diff --git a/gegl/operation/gegl-operation-filter.c b/gegl/operation/gegl-operation-filter.c
index 2517006..c9b1766 100644
--- a/gegl/operation/gegl-operation-filter.c
+++ b/gegl/operation/gegl-operation-filter.c
@@ -204,7 +204,7 @@ gegl_operation_filter_process (GeglOperation *operation,
input = gegl_operation_context_get_source (context, "input");
output = gegl_operation_context_get_target (context, "output");
- success = klass->process (operation, input, output, result, context->level);
+ success = klass->process (operation, input, output, result, level);
if (output == GEGL_BUFFER (operation->node->cache))
gegl_cache_computed (operation->node->cache, result);
diff --git a/gegl/operation/gegl-operation-point-composer.c b/gegl/operation/gegl-operation-point-composer.c
index 74d74fc..055d797 100644
--- a/gegl/operation/gegl-operation-point-composer.c
+++ b/gegl/operation/gegl-operation-point-composer.c
@@ -124,7 +124,7 @@ gegl_operation_composer_process2 (GeglOperation *operation,
success = done;
if (!done)
{
- success = klass->process (operation, input, aux, output, result, context->level);
+ success = klass->process (operation, input, aux, output, result, level);
if (output == GEGL_BUFFER (operation->node->cache))
gegl_cache_computed (operation->node->cache, result);
diff --git a/gegl/operation/gegl-operation-point-filter.c b/gegl/operation/gegl-operation-point-filter.c
index fb6a48d..a709a2e 100644
--- a/gegl/operation/gegl-operation-point-filter.c
+++ b/gegl/operation/gegl-operation-point-filter.c
@@ -208,7 +208,7 @@ static gboolean gegl_operation_point_filter_op_process
output = gegl_operation_context_get_target (context, "output");
}
- success = gegl_operation_point_filter_process (operation, input, output, roi, context->level);
+ success = gegl_operation_point_filter_process (operation, input, output, roi, level);
if (output == GEGL_BUFFER (operation->node->cache))
gegl_cache_computed (operation->node->cache, roi);
diff --git a/gegl/operation/gegl-operation-sink.c b/gegl/operation/gegl-operation-sink.c
index fa4e36c..a0de9ed 100644
--- a/gegl/operation/gegl-operation-sink.c
+++ b/gegl/operation/gegl-operation-sink.c
@@ -138,7 +138,7 @@ gegl_operation_sink_process (GeglOperation *operation,
if (gegl_cl_is_accelerated ())
gegl_buffer_cl_cache_invalidate (input, NULL);
- success = klass->process (operation, input, result, context->level);
+ success = klass->process (operation, input, result, level);
g_object_unref (input);
}
diff --git a/gegl/operation/gegl-operation-source.c b/gegl/operation/gegl-operation-source.c
index 72e1150..d2a532a 100644
--- a/gegl/operation/gegl-operation-source.c
+++ b/gegl/operation/gegl-operation-source.c
@@ -139,7 +139,7 @@ gegl_operation_source_process (GeglOperation *operation,
g_assert (klass->process);
output = gegl_operation_context_get_target (context, "output");
- success = klass->process (operation, output, result, context->level);
+ success = klass->process (operation, output, result, level);
if (output == GEGL_BUFFER (operation->node->cache))
gegl_cache_computed (operation->node->cache, result);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]