![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "gui/actions/menu.h"#include "control/crawler.h"#include "common/collection.h"#include "common/mipmap_cache.h"#include "common/selection.h"#include "control/jobs.h"#include "develop/dev_pixelpipe.h"
Include dependency graph for run.c:Data Structures | |
| struct | _preload_cache_params_t |
| Job parameters for preloading image cache with a maximum mipmap size. More... | |
Typedefs | |
| typedef struct _preload_cache_params_t | preload_cache_params_t |
| Job parameters for preloading image cache with a maximum mipmap size. | |
Functions | |
| static gboolean | clear_caches_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | optimize_database_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | backup_database_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | crawl_xmp_changes (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static int32_t | preload_image_cache (dt_job_t *job) |
| static gboolean | _preload_image_cache_with_max_size (dt_mipmap_size_t max_size, const char *description) |
| Helper function to create a preload job with the specified maximum mipmap size. | |
| static gboolean | preload_to_mipmap_0_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | preload_to_mipmap_1_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | preload_to_mipmap_2_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | preload_to_mipmap_3_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | preload_to_mipmap_4_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | preload_to_mipmap_5_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | preload_to_mipmap_6_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | preload_to_mipmap_7_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | preload_to_mipmap_8_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | preload_auto_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | clear_image_cache (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| void | append_run (GtkWidget **menus, GList **lists, const dt_menus_t index) |
| typedef struct _preload_cache_params_t preload_cache_params_t |
Job parameters for preloading image cache with a maximum mipmap size.
|
static |
Helper function to create a preload job with the specified maximum mipmap size.
References darktable_t::control, darktable, description(), dt_control_add_job(), dt_control_job_add_progress(), dt_control_job_create(), dt_control_job_set_params(), DT_JOB_QUEUE_USER_BG, max_size, preload_image_cache(), and TRUE.
Referenced by preload_auto_callback(), preload_to_mipmap_0_callback(), preload_to_mipmap_1_callback(), preload_to_mipmap_2_callback(), preload_to_mipmap_3_callback(), preload_to_mipmap_4_callback(), preload_to_mipmap_5_callback(), preload_to_mipmap_6_callback(), preload_to_mipmap_7_callback(), and preload_to_mipmap_8_callback().
| void append_run | ( | GtkWidget ** | menus, |
| GList ** | lists, | ||
| const dt_menus_t | index | ||
| ) |
References add_menu_separator(), add_sub_menu_entry(), add_sub_menu_separator(), add_sub_sub_menu_entry(), add_top_submenu_entry(), backup_database_callback(), clear_caches_callback(), clear_image_cache(), crawl_xmp_changes(), dt_control_write_sidecar_files(), dt_image_local_copy_synch(), GET_ACCEL_WRAPPER, get_last_widget(), has_active_images(), optimize_database_callback(), preload_auto_callback(), preload_to_mipmap_0_callback(), preload_to_mipmap_1_callback(), preload_to_mipmap_2_callback(), preload_to_mipmap_3_callback(), preload_to_mipmap_4_callback(), preload_to_mipmap_5_callback(), preload_to_mipmap_6_callback(), preload_to_mipmap_7_callback(), and preload_to_mipmap_8_callback().
Referenced by dt_ui_init_global_menu().
|
static |
References darktable, darktable_t::db, dt_database_snapshot(), and TRUE.
Referenced by append_run().
|
static |
References darktable, darktable_t::develop, dt_dev_pixelpipe_reset_all(), dt_dev_pixelpipe_resync_history_all, and TRUE.
Referenced by append_run().
|
static |
|
static |
References dt_control_crawler_run(), dt_control_crawler_show_image_list(), and TRUE.
Referenced by append_run().
|
static |
References darktable, darktable_t::db, dt_database_perform_maintenance(), and TRUE.
Referenced by append_run().
|
static |
References _preload_image_cache_with_max_size(), darktable, dt_mipmap_cache_get_matching_size(), darktable_t::gui, height, darktable_t::mipmap_cache, dt_gui_gtk_t::ppd, dt_thumbtable_t::thumb_height, dt_thumbtable_t::thumb_width, dt_ui_t::thumbtable_lighttable, dt_gui_gtk_t::ui, UNKNOWN_IMAGE, and width.
Referenced by append_run().
|
static |
References darktable, dt_control_job_get_params(), dt_control_job_get_state(), dt_control_job_set_progress(), DT_JOB_STATE_CANCELLED, dt_mimap_cache_evict(), DT_MIPMAP_0, DT_MIPMAP_2, DT_MIPMAP_BLOCKING, dt_mipmap_cache_get, dt_mipmap_cache_release, dt_mipmap_get_cache_filename(), dt_selection_get_length(), dt_selection_get_list(), dt_util_test_image_file(), i, k, darktable_t::mipmap_cache, PATH_MAX, and darktable_t::selection.
Referenced by _preload_image_cache_with_max_size().
|
static |
References _preload_image_cache_with_max_size(), and DT_MIPMAP_0.
Referenced by append_run().
|
static |
References _preload_image_cache_with_max_size(), and DT_MIPMAP_1.
Referenced by append_run().
|
static |
References _preload_image_cache_with_max_size(), and DT_MIPMAP_2.
Referenced by append_run().
|
static |
References _preload_image_cache_with_max_size(), and DT_MIPMAP_3.
Referenced by append_run().
|
static |
References _preload_image_cache_with_max_size(), and DT_MIPMAP_4.
Referenced by append_run().
|
static |
References _preload_image_cache_with_max_size(), and DT_MIPMAP_5.
Referenced by append_run().
|
static |
References _preload_image_cache_with_max_size(), and DT_MIPMAP_6.
Referenced by append_run().
|
static |
References _preload_image_cache_with_max_size(), and DT_MIPMAP_7.
Referenced by append_run().
|
static |
References _preload_image_cache_with_max_size(), and DT_MIPMAP_8.
Referenced by append_run().