[gegl] workshop/shadows-highlights-correction: uncomment opencl related code



commit 006b898da49f9139907c6dbb63575b25e05b970d
Author: Thomas Manni <thomas manni free fr>
Date:   Tue Oct 31 09:18:27 2017 +0100

    workshop/shadows-highlights-correction: uncomment opencl related code

 .../workshop/shadows-highlights-correction.c       |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/operations/workshop/shadows-highlights-correction.c 
b/operations/workshop/shadows-highlights-correction.c
index 4cf27d9..a94ca09 100644
--- a/operations/workshop/shadows-highlights-correction.c
+++ b/operations/workshop/shadows-highlights-correction.c
@@ -202,8 +202,6 @@ process (GeglOperation       *operation,
   return TRUE;
 }
 
-/*
-
 #include "opencl/gegl-cl.h"
 
 #include "opencl/shadows-highlights-correction.cl.h"
@@ -272,8 +270,6 @@ error:
   return TRUE;
 }
 
-*/
-
 static GeglRectangle
 get_bounding_box (GeglOperation *self)
 {
@@ -297,14 +293,10 @@ gegl_op_class_init (GeglOpClass *klass)
 
   operation_class->prepare          = prepare;
   operation_class->get_bounding_box = get_bounding_box;
-  
+  operation_class->opencl_support   = TRUE;
 
   point_composer_class->process     = process;
-
-  /*
   point_composer_class->cl_process  = cl_process;
-  operation_class->opencl_support   = TRUE;
-   */
 
   gegl_operation_class_set_keys (operation_class,
     "name",        "gegl:shadows-highlights-correction",


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