libgimpbase, libgimp, app: pass misc. GEGL config to plug-ins
Pass the GEGL tile-cache size, swap path, and thread-count to plug- ins as part of their config, and have libgimp set the plug-in's GeglConfig accordingly upon initialization.
This commit is contained in:
@ -2338,6 +2338,9 @@ gimp_config (GPConfig *config)
|
||||
gimp_cpu_accel_set_use (config->use_cpu_accel);
|
||||
|
||||
g_object_set (gegl_config (),
|
||||
"tile-cache-size", config->tile_cache_size,
|
||||
"swap", config->swap_path,
|
||||
"threads", (gint) config->num_processors,
|
||||
"use-opencl", config->use_opencl,
|
||||
"application-license", "GPL3",
|
||||
NULL);
|
||||
|
Reference in New Issue
Block a user