[gegl] newsprint: opt-in to automatic multi-threading



commit 2eb89ee72ba29fd2569269e548915c0168373859
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Jul 17 21:00:13 2019 +0200

    newsprint: opt-in to automatic multi-threading

 operations/common/newsprint.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/operations/common/newsprint.c b/operations/common/newsprint.c
index 24e313092..d8e08dcdb 100644
--- a/operations/common/newsprint.c
+++ b/operations/common/newsprint.c
@@ -647,6 +647,7 @@ gegl_op_class_init (GeglOpClass *klass)
   point_filter_class = GEGL_OPERATION_POINT_FILTER_CLASS (klass);
 
   point_filter_class->process = process;
+  operation_class->threaded = TRUE;
 #if 0
   point_filter_class->cl_process = cl_process;
   operation_class->opencl_support = TRUE;


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