[gegl] operation: don't explicitly prevent caching of point ops



commit 36c7ebbaacd8ef5352cd9315b43af98ecd88bd03
Author: Ell <ell_se yahoo com>
Date:   Thu Feb 21 12:55:28 2019 -0500

    operation: don't explicitly prevent caching of point ops
    
    Don't explicitly set the GeglOperationClass::no_cache field of
    point operations to TRUE, since the AUTO cache policy should
    implictly prevent them from being cached, as point ops don't
    generally implement get_cached_region().

 gegl/operation/gegl-operation-point-composer.c  | 1 -
 gegl/operation/gegl-operation-point-composer3.c | 1 -
 gegl/operation/gegl-operation-point-filter.c    | 1 -
 gegl/operation/gegl-operation-point-render.c    | 1 -
 4 files changed, 4 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-point-composer.c b/gegl/operation/gegl-operation-point-composer.c
index 577de466f..e13f8b8ed 100644
--- a/gegl/operation/gegl-operation-point-composer.c
+++ b/gegl/operation/gegl-operation-point-composer.c
@@ -272,7 +272,6 @@ gegl_operation_point_composer_class_init (GeglOperationPointComposerClass *klass
   composer_class->process = gegl_operation_point_composer_process;
   operation_class->process = gegl_operation_composer_process;
   operation_class->prepare = prepare;
-  operation_class->no_cache =TRUE;
   operation_class->want_in_place = TRUE;
   operation_class->threaded = TRUE;
 }
diff --git a/gegl/operation/gegl-operation-point-composer3.c b/gegl/operation/gegl-operation-point-composer3.c
index 5ddb2b0a9..abf954d72 100644
--- a/gegl/operation/gegl-operation-point-composer3.c
+++ b/gegl/operation/gegl-operation-point-composer3.c
@@ -182,7 +182,6 @@ gegl_operation_point_composer3_class_init (GeglOperationPointComposer3Class *kla
   composer_class->process = gegl_operation_point_composer3_process;
   operation_class->process = gegl_operation_composer3_process;
   operation_class->prepare = prepare;
-  operation_class->no_cache =TRUE;
   operation_class->want_in_place = TRUE;
   operation_class->threaded = TRUE;
 }
diff --git a/gegl/operation/gegl-operation-point-filter.c b/gegl/operation/gegl-operation-point-filter.c
index e66e564bf..3197e5c83 100644
--- a/gegl/operation/gegl-operation-point-filter.c
+++ b/gegl/operation/gegl-operation-point-filter.c
@@ -239,7 +239,6 @@ gegl_operation_point_filter_class_init (GeglOperationPointFilterClass *klass)
   filter_class->process = gegl_operation_point_filter_process;
   operation_class->process = gegl_operation_filter_process;
   operation_class->prepare = prepare;
-  operation_class->no_cache =TRUE;
   operation_class->want_in_place = TRUE;
   operation_class->threaded = TRUE;
 }
diff --git a/gegl/operation/gegl-operation-point-render.c b/gegl/operation/gegl-operation-point-render.c
index bc20d95cb..5060d022f 100644
--- a/gegl/operation/gegl-operation-point-render.c
+++ b/gegl/operation/gegl-operation-point-render.c
@@ -58,7 +58,6 @@ gegl_operation_point_render_class_init (GeglOperationPointRenderClass *klass)
   operation_class->prepare = prepare;
 
   operation_class->detect = detect;
-  operation_class->no_cache = FALSE;
   operation_class->threaded = TRUE;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]