[gegl] cl: cosmetic changes



commit 07d039b829ac7514852c145955bb2ce9033fe364
Author: Victor Oliveira <victormatheus gmail com>
Date:   Sat Mar 31 16:18:02 2012 -0300

    cl: cosmetic changes

 operations/common/box-blur.c          |    2 ++
 operations/common/color-temperature.c |    3 ++-
 operations/common/invert.c            |    1 +
 operations/common/opacity.c           |    1 +
 operations/common/over.c              |    4 ++--
 operations/common/threshold.c         |    1 +
 6 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/box-blur.c b/operations/common/box-blur.c
index 413a969..975ed1b 100644
--- a/operations/common/box-blur.c
+++ b/operations/common/box-blur.c
@@ -407,6 +407,8 @@ gegl_chant_class_init (GeglChantClass *klass)
   filter_class->process    = process;
   operation_class->prepare = prepare;
 
+  operation_class->opencl_support = TRUE;
+
   gegl_operation_class_set_keys (operation_class,
       "name",        "gegl:box-blur",
       "categories",  "blur",
diff --git a/operations/common/color-temperature.c b/operations/common/color-temperature.c
index bdda408..69f4ea6 100644
--- a/operations/common/color-temperature.c
+++ b/operations/common/color-temperature.c
@@ -254,11 +254,12 @@ gegl_chant_class_init (GeglChantClass *klass)
   object_class->notify   = notify;
 
   operation_class->prepare = prepare;
-  operation_class->opencl_support = TRUE;
 
   point_filter_class->process = process;
   point_filter_class->cl_process = cl_process;
 
+  operation_class->opencl_support = TRUE;
+
   gegl_operation_class_set_keys (operation_class,
     "name"       , "gegl:color-temperature",
     "categories" , "color",
diff --git a/operations/common/invert.c b/operations/common/invert.c
index 9a3e4d4..4b62697 100644
--- a/operations/common/invert.c
+++ b/operations/common/invert.c
@@ -121,6 +121,7 @@ gegl_chant_class_init (GeglChantClass *klass)
 
   point_filter_class->process = process;
   point_filter_class->cl_process = cl_process;
+
   operation_class->opencl_support = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
diff --git a/operations/common/opacity.c b/operations/common/opacity.c
index e736078..3b1fee6 100644
--- a/operations/common/opacity.c
+++ b/operations/common/opacity.c
@@ -217,6 +217,7 @@ gegl_chant_class_init (GeglChantClass *klass)
   point_composer_class->cl_process = cl_process;
 
   operation_class->opencl_support = TRUE;
+
   gegl_operation_class_set_keys (operation_class,
     "name"       , "gegl:opacity",
     "categories" , "transparency",
diff --git a/operations/common/over.c b/operations/common/over.c
index 548df45..1f68058 100644
--- a/operations/common/over.c
+++ b/operations/common/over.c
@@ -105,7 +105,7 @@ cl_process (GeglOperation       *op,
 
   if (aux_tex == NULL)
     return 0;
-    
+
   if (!cl_data)
     {
       const char *kernel_name[] = {"kernel_over", NULL};
@@ -190,7 +190,7 @@ gegl_chant_class_init (GeglChantClass *klass)
   point_composer_class->cl_process = cl_process;
 
   operation_class->opencl_support = TRUE;
-  
+
   operation_class->compat_name = "gegl:over";
 
   gegl_operation_class_set_keys (operation_class,
diff --git a/operations/common/threshold.c b/operations/common/threshold.c
index fe6fe16..6b15b03 100644
--- a/operations/common/threshold.c
+++ b/operations/common/threshold.c
@@ -183,6 +183,7 @@ gegl_chant_class_init (GeglChantClass *klass)
   point_composer_class->process = process;
   point_composer_class->cl_process = cl_process;
   operation_class->prepare = prepare;
+
   operation_class->opencl_support = TRUE;
 
   gegl_operation_class_set_keys (operation_class,



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