[gegl/gsoc2011-opencl-2: 16/22] Gegl tries to use OpenCL by default



commit 9e7ff0185246d4cfed3885319a2b6700af22db7e
Author: Victor Oliveira <victormatheus gmail com>
Date:   Fri Nov 18 17:08:37 2011 -0200

    Gegl tries to use OpenCL by default

 gegl/gegl-init.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gegl/gegl-init.c b/gegl/gegl-init.c
index dad80de..199d2d3 100644
--- a/gegl/gegl-init.c
+++ b/gegl/gegl-init.c
@@ -198,6 +198,9 @@ gegl_init (gint    *argc,
 
   g_option_context_free (context);
 #endif
+
+  /* Initialize OpenCL if possible */
+  gegl_cl_init (NULL);
 }
 
 static gchar   *cmd_gegl_swap=NULL;



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