41 gchar *
key = g_strdup_printf(
"plugins/darkroom/autoset/%s/%i", module->
op, module->
multi_priority);
82 for(GList *mod = g_list_first(dev->
iop); mod; mod = g_list_next(mod))
88 fprintf(stdout,
"adding %s\n", module->op);
103 GList *mod = g_list_first(manager->
iop_to_set);
140 fprintf(stdout,
"trying to fetch cache from %s\n", module->op);
162 fprintf(stdout,
"processing %s\n", module->op);
171 module->autoset(module, pipe, piece, input);
int dt_conf_key_exists(const char *key)
void dt_conf_set_int(const char *name, int val)
int dt_conf_get_int(const char *name)
void dt_control_log_busy_leave()
void dt_control_change_cursor_by_name_and_flush(const char *curs_str)
Apply a named cursor immediatelly and flush display updates for immediate feedback.
void dt_control_log_busy_enter()
#define IS_NULL_PTR(p)
C is way too permissive with !=, == and if(var) checks, which can mean too many things depending on w...
#define dt_dev_add_history_item(dev, module, enable, redraw)
const dt_dev_pixelpipe_iop_t * dt_dev_pixelpipe_get_module_piece(const dt_dev_pixelpipe_t *pipe, const dt_iop_module_t *module)
void dt_dev_pixelpipe_cache_wait_cleanup(dt_dev_pixelpipe_cache_wait_t *wait, const char *reason)
Cancel one pending GUI cache wait request and clear its runtime state.
const dt_dev_pixelpipe_iop_t * dt_dev_pixelpipe_get_prev_enabled_piece(const dt_dev_pixelpipe_t *pipe, const dt_dev_pixelpipe_iop_t *piece)
void dt_dev_pixelpipe_cache_wait_set_owner(dt_dev_pixelpipe_cache_wait_t *wait, const char *owner_tag, gpointer owner_object)
Attach debug ownership metadata to one cache wait request.
gboolean dt_dev_pixelpipe_cache_peek_gui(dt_dev_pixelpipe_t *pipe, const dt_dev_pixelpipe_iop_t *piece, void **data, dt_pixel_cache_entry_t **cache_entry, dt_dev_pixelpipe_cache_wait_t *wait, dt_dev_pixelpipe_cache_ready_callback_t restart, gpointer restart_data)
void dt_iop_gui_update(dt_iop_module_t *module)
static void dt_iop_gui_enter_critical_section(dt_iop_module_t *const module) ACQUIRE(&module -> gui_lock)
static void dt_iop_gui_leave_critical_section(dt_iop_module_t *const module) RELEASE(&module -> gui_lock)
int dt_iop_autoset_advance(struct dt_develop_t *dev, dt_autoset_manager_t *manager)
gboolean dt_iop_autoset_module_is_enabled(const dt_iop_module_t *module)
void dt_iop_autoset_build_list(struct dt_develop_t *dev, dt_autoset_manager_t *manager)
static void _dt_iop_autoset_restart_cache_wait(gpointer user_data)
void dt_iop_autoset_module_set_enabled(const dt_iop_module_t *module, const gboolean enabled)
gchar * dt_iop_autoset_get_conf_key(const dt_iop_module_t *module)
void dt_dev_pixelpipe_cache_rdlock_entry(dt_dev_pixelpipe_cache_t *cache, gboolean lock, dt_pixel_cache_entry_t *cache_entry)
Lock or release the read lock on the entry.
Pixelpipe cache for storing intermediate results in the pixelpipe.
struct dt_dev_pixelpipe_cache_t * pixelpipe_cache
struct dt_develop_t * dev
gboolean progress_cursor_active
struct dt_dev_pixelpipe_t * preview_pipe
GModule *dt_dev_operation_t op