![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "gui/actions/supervisor_window.h"#include "caches/image_cache.h"#include "caches/mipmap_cache.h"#include "common/opencl.h"#include "caches/pixelpipe_cache.h"#include "common/conf.h"#include "develop/supervisor.h"#include "gui/application.h"#include "system/sys_resources.h"#include "widgets/scroll_wrap.h"#include "widgets/widget_style.h"#include <gtk/gtk.h>#include <json-glib/json-glib.h>
Include dependency graph for supervisor_window.c:Go to the source code of this file.
Data Structures | |
| struct | _group_t |
| struct | _bar_segment_t |
| struct | _bar_t |
Macros | |
| #define | TIMELINE_MAX_ROWS 4000 |
| #define | TIMELINE_TRIM_SLACK (TIMELINE_MAX_ROWS / 4) |
| #define | POLL_INTERVAL_MS 300 |
| #define | MEMORY_MAX_ROWS 500 |
| #define | MEMORY_REFRESH_TICKS 4 |
| #define | MEMORY_LIST_ROWS 20 |
| #define | BAR_SEGMENTS 4 |
| #define | BAR_SEGMENT_GAP 2.0 |
| #define | COLOR_PIPELINE "#3987e5" |
| #define | COLOR_ALLOCATIONS "#d95926" |
| #define | COLOR_MIPMAP "#199e70" |
| #define | SUPERVISOR_CONF_PAGE "ui/supervisor/page" |
| #define | SUPERVISOR_CONF_GROUP_BY "ui/supervisor/group_by" |
| #define | SUPERVISOR_CONF_RECORD "ui/supervisor/record" |
| #define | SUPERVISOR_CONF_X "ui/supervisor/window_x" |
| #define | SUPERVISOR_CONF_Y "ui/supervisor/window_y" |
| #define | SUPERVISOR_CONF_WIDTH "ui/supervisor/window_width" |
| #define | SUPERVISOR_CONF_HEIGHT "ui/supervisor/window_height" |
Typedefs | |
| typedef struct _group_t | _group_t |
| typedef struct _bar_segment_t | _bar_segment_t |
| typedef struct _bar_t | _bar_t |
Functions | |
| static void | _group_free (gpointer p) |
| static gchar * | _hashhex (const uint64_t h) |
| static const char * | _domain_color (const char *d) |
| static gchar * | _pretty_json (const char *compact) |
| static void | _run_search (const char *query) |
| static void | _scroll_row_into_view (GtkWidget *row) |
| static gboolean | _scroll_target_idle (gpointer u) |
| static gboolean | _on_link (GtkLabel *label, gchar *uri, gpointer user_data) |
| static void | _on_search_this_hash (GtkMenuItem *item, gpointer u) |
| static gboolean | _on_label_button (GtkWidget *label, GdkEventButton *e, gpointer u) |
| static void | _wire_hash_label (GtkWidget *label) |
| static GtkWidget * | _event_body_from (const char *json, GArray *links) |
| static void | _on_toggle (GtkToggleButton *t, gpointer u) |
| static GtkWidget * | _collapsible (const char *header_markup, GtkWidget *body, const gboolean expanded) |
| static gchar * | _header_markup (const dt_sv_logged_event_t *ev) |
| static void | _links_free (gpointer p) |
| static GtkWidget * | _event_widget (const dt_sv_logged_event_t *ev) |
| static void | _timeline_append (const dt_sv_logged_event_t *ev) |
| static void | _timeline_trim (const guint incoming) |
| static void | _clear_list (GtkWidget *list) |
| static void | _update_count (void) |
| static const char * | _group_key (const dt_sv_logged_event_t *ev, const char *by) |
| static void | _group_set_header (_group_t *g) |
| static void | _grouped_append (const dt_sv_logged_event_t *ev, const char *by) |
| static void | _grouped_catch_up (void) |
| static void | _rebuild_grouped_now (void) |
| static void | _add_mem_item (GtkWidget *box, const char *markup, const char *trailing, const gboolean evictable) |
| static gchar * | _age_text (const int64_t us) |
| static gint | _cmp_ram_size (gconstpointer a, gconstpointer b) |
| static gint | _cmp_mip_size (gconstpointer a, gconstpointer b) |
| static gint | _cmp_image_imgid (gconstpointer a, gconstpointer b) |
| static size_t | _bar_segment_size (const _bar_segment_t *seg) |
| static size_t | _bar_used (const _bar_t *bar) |
| static size_t | _bar_held (const _bar_t *bar) |
| static size_t | _bar_free (const _bar_t *bar) |
| static void | _bar_segment_span (const _bar_t *bar, const double width, const int k, double *x0, double *x1) |
| static gboolean | _bar_draw (GtkWidget *widget, cairo_t *cr, gpointer user_data) |
| static gchar * | _bar_segment_text (const _bar_segment_t *seg) |
| static gboolean | _bar_tooltip (GtkWidget *widget, gint x, gint y, gboolean keyboard, GtkTooltip *tooltip, gpointer user_data) |
| static GtkWidget * | _bar_legend_block (const _bar_segment_t *seg, const char *swatch) |
| static void | _add_bar (GtkWidget *box, const _bar_t *bar) |
| static void | _rebuild_memory (void) |
| static gboolean | _rebuild_memory_idle (gpointer user_data) |
| static gchar * | _mem_conf_key (const char *section, const char *setting) |
| static void | _on_mem_section_expanded (GObject *expander, GParamSpec *pspec, gpointer user_data) |
| static GtkWidget * | _add_mem_section (GtkWidget *parent, const char *key, const char *title, const _bar_t *bar) |
| static GtkWidget * | _mem_list (GtkWidget *body, const char *section) |
| static gint | _cmp_device_size (gconstpointer a, gconstpointer b, gpointer data) |
| static void | _add_device_section (GArray *pe, const int devid) |
| static gboolean | _hex_contains (const uint64_t h, const char *needle) |
| static gboolean | _event_matches (const dt_sv_logged_event_t *ev, const char *hash_needle, const char *text_needle) |
| static void | _on_search_changed (GtkSearchEntry *e, gpointer u) |
| static gboolean | _scroll_bottom_idle (gpointer u) |
| static gboolean | _pointer_button_down (void) |
| static gboolean | _poll (gpointer u) |
| static void | _full_reload (void) |
| static void | _on_refresh (GtkButton *b, gpointer u) |
| static void | _on_clear (GtkButton *b, gpointer u) |
| static const char * | _page_name (const int page) |
| static int | _page_from_name (const char *name) |
| static void | _on_groupby_changed (GtkComboBox *c, gpointer u) |
| static void | _on_record_toggled (GtkToggleButton *t, gpointer u) |
| static void | _on_page_changed (GtkNotebook *nb, GtkWidget *page, guint page_num, gpointer u) |
| static gboolean | _window_position_is_usable (GtkWidget *window) |
| static gboolean | _on_configure (GtkWidget *window, GdkEventConfigure *event, gpointer user_data) |
| static void | _restore_geometry (GtkWidget *window) |
| static void | _on_destroy (GtkWidget *w, gpointer u) |
| void | dt_gui_supervisor_window_show (void) |
Variables | ||
| struct { | ||
| GtkWidget * window | ||
| GtkWidget * notebook | ||
| GtkWidget * timeline_list | ||
| GtkWidget * timeline_scroll | ||
| GtkWidget * grouped_list | ||
| GtkWidget * mem_box | ||
| GHashTable * mem_lists | ||
| GtkWidget * search_entry | ||
| GtkWidget * search_list | ||
| GtkWidget * count_label | ||
| GtkWidget * groupby | ||
| GHashTable * decl_map | ||
| GHashTable * group_map | ||
| uint64_t last_seq | ||
| uint64_t grouped_last_seq | ||
| gchar * scroll_target | ||
| guint timer_id | ||
| guint tick | ||
| int page_timeline | ||
| int page_grouped | ||
| int page_memory | ||
| int page_search | ||
| } | _g = { 0 } | |
| #define BAR_SEGMENT_GAP 2.0 |
Definition at line 559 of file supervisor_window.c.
| #define BAR_SEGMENTS 4 |
Definition at line 558 of file supervisor_window.c.
| #define COLOR_ALLOCATIONS "#d95926" |
Definition at line 561 of file supervisor_window.c.
| #define COLOR_MIPMAP "#199e70" |
Definition at line 562 of file supervisor_window.c.
| #define COLOR_PIPELINE "#3987e5" |
Definition at line 560 of file supervisor_window.c.
| #define MEMORY_LIST_ROWS 20 |
Definition at line 49 of file supervisor_window.c.
| #define MEMORY_MAX_ROWS 500 |
Definition at line 47 of file supervisor_window.c.
| #define MEMORY_REFRESH_TICKS 4 |
Definition at line 48 of file supervisor_window.c.
| #define POLL_INTERVAL_MS 300 |
Definition at line 46 of file supervisor_window.c.
| #define SUPERVISOR_CONF_GROUP_BY "ui/supervisor/group_by" |
Definition at line 1332 of file supervisor_window.c.
| #define SUPERVISOR_CONF_HEIGHT "ui/supervisor/window_height" |
Definition at line 1381 of file supervisor_window.c.
| #define SUPERVISOR_CONF_PAGE "ui/supervisor/page" |
Definition at line 1331 of file supervisor_window.c.
| #define SUPERVISOR_CONF_RECORD "ui/supervisor/record" |
Definition at line 1333 of file supervisor_window.c.
| #define SUPERVISOR_CONF_WIDTH "ui/supervisor/window_width" |
Definition at line 1380 of file supervisor_window.c.
| #define SUPERVISOR_CONF_X "ui/supervisor/window_x" |
Definition at line 1378 of file supervisor_window.c.
| #define SUPERVISOR_CONF_Y "ui/supervisor/window_y" |
Definition at line 1379 of file supervisor_window.c.
| #define TIMELINE_MAX_ROWS 4000 |
Definition at line 40 of file supervisor_window.c.
| #define TIMELINE_TRIM_SLACK (TIMELINE_MAX_ROWS / 4) |
Definition at line 45 of file supervisor_window.c.
| typedef struct _bar_segment_t _bar_segment_t |
Definition at line 743 of file supervisor_window.c.
References _bar_draw(), _bar_free(), _bar_legend_block(), _bar_tooltip(), BAR_SEGMENTS, copy(), _bar_t::count, FALSE, _bar_t::free_label, _bar_segment_t::hatched, k, _bar_segment_t::right, row, _bar_t::seg, and TRUE.
Referenced by _add_mem_section().
|
static |
Definition at line 918 of file supervisor_window.c.
References _add_mem_item(), _add_mem_section(), _cmp_device_size(), _g, _hashhex(), _mem_list(), COLOR_ALLOCATIONS, COLOR_PIPELINE, d, dt_pixel_cache_stats_entry_t::devices, dt_opencl_get_device_headroom(), dt_opencl_get_device_max_global_mem(), dt_opencl_get_device_memory_in_use(), dt_opencl_get_device_name(), FALSE, dt_pixel_cache_stats_entry_t::hash, dt_pixel_cache_stats_entry_t::hits, i, key, m, MEMORY_MAX_ROWS, dt_pixel_cache_stats_entry_t::name, name, dt_pixel_cache_stats_entry_t::refcount, _bar_t::total, and TRUE.
Referenced by _rebuild_memory().
|
static |
Definition at line 492 of file supervisor_window.c.
References _wire_hash_label(), FALSE, row, and TRUE.
Referenced by _add_device_section(), _mem_list(), and _rebuild_memory().
|
static |
Definition at line 809 of file supervisor_window.c.
References _add_bar(), _bar_held(), _g, _mem_conf_key(), _on_mem_section_expanded(), dt_conf_get_bool(), dt_conf_key_exists(), FALSE, key, MAX, t, top, _bar_t::total, and TRUE.
Referenced by _add_device_section(), and _rebuild_memory().
|
static |
Definition at line 523 of file supervisor_window.c.
Referenced by _rebuild_memory().
|
static |
Definition at line 630 of file supervisor_window.c.
References _bar_segment_size(), _bar_segment_span(), _bar_used(), BAR_SEGMENT_GAP, _bar_segment_t::color, _bar_t::count, FALSE, _bar_segment_t::hatched, height, IS_NULL_PTR, k, MAX, _bar_t::seg, _bar_t::total, width, and x.
Referenced by _add_bar().
|
static |
Definition at line 604 of file supervisor_window.c.
References _bar_used(), and _bar_t::total.
Referenced by _add_bar(), and _bar_tooltip().
|
static |
Definition at line 596 of file supervisor_window.c.
References _bar_segment_size(), _bar_t::count, k, _bar_segment_t::right, and _bar_t::seg.
Referenced by _add_mem_section().
|
static |
Definition at line 719 of file supervisor_window.c.
References _bar_segment_text(), _bar_segment_t::color, FALSE, _bar_segment_t::label, and size.
Referenced by _add_bar().
|
static |
Definition at line 582 of file supervisor_window.c.
References _bar_segment_t::bytes, and _bar_segment_t::reserved.
Referenced by _bar_draw(), _bar_held(), _bar_segment_span(), _bar_segment_text(), _bar_tooltip(), and _bar_used().
|
static |
Definition at line 612 of file supervisor_window.c.
References _bar_segment_size(), _bar_used(), _bar_t::count, double(), i, k, MAX, _bar_segment_t::right, _bar_t::seg, _bar_t::total, and width.
Referenced by _bar_draw(), and _bar_tooltip().
|
static |
Definition at line 683 of file supervisor_window.c.
References _bar_segment_size(), _bar_segment_t::bytes, and _bar_segment_t::reserved.
Referenced by _bar_legend_block(), and _bar_tooltip().
|
static |
Definition at line 691 of file supervisor_window.c.
References _bar_free(), _bar_segment_size(), _bar_segment_span(), _bar_segment_text(), _bar_t::count, FALSE, _bar_t::free_label, IS_NULL_PTR, k, _bar_segment_t::label, _bar_t::seg, size, tooltip, _bar_t::total, TRUE, and width.
Referenced by _add_bar().
|
static |
Definition at line 588 of file supervisor_window.c.
References _bar_segment_size(), _bar_t::count, k, and _bar_t::seg.
Referenced by _bar_draw(), _bar_free(), and _bar_segment_span().
Definition at line 407 of file supervisor_window.c.
Referenced by _full_reload(), _mem_list(), _rebuild_grouped_now(), _rebuild_memory(), and _run_search().
|
static |
Definition at line 903 of file supervisor_window.c.
References x.
Referenced by _add_device_section().
|
static |
|
static |
|
static |
|
static |
Definition at line 247 of file supervisor_window.c.
References _on_toggle(), _wire_hash_label(), FALSE, and TRUE.
Referenced by _event_widget(), and _grouped_append().
|
static |
|
static |
Definition at line 306 of file supervisor_window.c.
References _hashhex(), _pretty_json(), _wire_hash_label(), FALSE, dt_sv_link_t::hash, i, dt_sv_link_t::label, lw, and TRUE.
Referenced by _on_toggle().
|
static |
Definition at line 1182 of file supervisor_window.c.
References _hex_contains(), FALSE, dt_sv_logged_event_t::hash, i, dt_sv_logged_event_t::json, dt_sv_logged_event_t::links, m, and TRUE.
Referenced by _run_search().
|
static |
Definition at line 351 of file supervisor_window.c.
References _collapsible(), _hashhex(), _header_markup(), _links_free(), copy(), FALSE, dt_sv_logged_event_t::hash, dt_sv_logged_event_t::json, and dt_sv_logged_event_t::links.
Referenced by _grouped_append(), _run_search(), and _timeline_append().
Definition at line 1310 of file supervisor_window.c.
References _clear_list(), _g, _poll(), _rebuild_grouped_now(), _rebuild_memory(), and _run_search().
Referenced by _on_clear(), _on_refresh(), and dt_gui_supervisor_window_show().
|
static |
Definition at line 84 of file supervisor_window.c.
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 421 of file supervisor_window.c.
References dt_sv_logged_event_t::domain, dt_sv_logged_event_t::op, and dt_sv_logged_event_t::thread.
Referenced by _grouped_append().
|
static |
Definition at line 439 of file supervisor_window.c.
References _collapsible(), _event_widget(), _g, _group_key(), _group_set_header(), FALSE, g, k, and row.
Referenced by _grouped_catch_up().
Definition at line 463 of file supervisor_window.c.
References _g, _grouped_append(), dt_supervisor_events_free(), dt_supervisor_events_snapshot_since(), and i.
Referenced by _on_page_changed(), _poll(), and _rebuild_grouped_now().
|
static |
Definition at line 92 of file supervisor_window.c.
Referenced by _add_device_section(), _event_body_from(), _event_widget(), _header_markup(), _hex_contains(), _rebuild_memory(), and _timeline_append().
|
static |
Definition at line 279 of file supervisor_window.c.
References _domain_color(), _hashhex(), dt_sv_logged_event_t::cache_name, dt_sv_logged_event_t::domain, dt_sv_logged_event_t::hash, dt_sv_logged_event_t::mnemonic, dt_sv_logged_event_t::op, out, dt_sv_logged_event_t::thread, and dt_sv_logged_event_t::ts.
Referenced by _event_widget().
|
static |
Definition at line 1168 of file supervisor_window.c.
References _hashhex(), and m.
Referenced by _event_matches().
|
static |
Definition at line 345 of file supervisor_window.c.
Referenced by _event_widget().
|
static |
Definition at line 788 of file supervisor_window.c.
Referenced by _add_mem_section(), _mem_list(), and _on_mem_section_expanded().
Definition at line 869 of file supervisor_window.c.
References _add_mem_item(), _clear_list(), _g, _mem_conf_key(), dt_conf_key_exists(), dt_conf_set_int(), dt_gui_add_class(), DT_UI_RESIZE_STATIC, dt_ui_scroll_wrap(), dt_ui_scroll_wrap_get_scrolled_window(), FALSE, IS_NULL_PTR, key, MEMORY_LIST_ROWS, and row.
Referenced by _add_device_section(), and _rebuild_memory().
|
static |
Definition at line 1323 of file supervisor_window.c.
References _full_reload(), and dt_supervisor_events_clear().
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 1395 of file supervisor_window.c.
References _window_position_is_usable(), dt_conf_set_int(), FALSE, height, IS_NULL_PTR, SUPERVISOR_CONF_HEIGHT, SUPERVISOR_CONF_WIDTH, SUPERVISOR_CONF_X, SUPERVISOR_CONF_Y, width, window, and x.
Referenced by dt_gui_supervisor_window_show().
Definition at line 1448 of file supervisor_window.c.
References _g, dt_supervisor_set_recording(), and FALSE.
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 1351 of file supervisor_window.c.
References _rebuild_grouped_now(), dt_conf_set_string(), and SUPERVISOR_CONF_GROUP_BY.
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 190 of file supervisor_window.c.
References _on_search_this_hash(), FALSE, and TRUE.
Referenced by _wire_hash_label().
|
static |
Definition at line 159 of file supervisor_window.c.
References _g, _scroll_target_idle(), row, and TRUE.
Referenced by _wire_hash_label().
|
static |
Definition at line 793 of file supervisor_window.c.
References _mem_conf_key(), _rebuild_memory_idle(), dt_conf_set_bool(), and key.
Referenced by _add_mem_section().
|
static |
Definition at line 1366 of file supervisor_window.c.
References _g, _grouped_catch_up(), _page_name(), _rebuild_memory(), _run_search(), dt_conf_set_string(), and SUPERVISOR_CONF_PAGE.
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 1359 of file supervisor_window.c.
References dt_conf_set_bool(), dt_supervisor_set_recording(), SUPERVISOR_CONF_RECORD, and t.
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 1321 of file supervisor_window.c.
References _full_reload().
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 1228 of file supervisor_window.c.
References _g, and _run_search().
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 179 of file supervisor_window.c.
References _g.
Referenced by _on_label_button().
|
static |
Definition at line 220 of file supervisor_window.c.
References _event_body_from(), and t.
Referenced by _collapsible().
|
static |
Definition at line 1343 of file supervisor_window.c.
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 1335 of file supervisor_window.c.
References _g.
Referenced by _on_page_changed().
|
static |
Definition at line 1246 of file supervisor_window.c.
References _g, FALSE, IS_NULL_PTR, and window.
Referenced by _poll().
|
static |
Definition at line 1256 of file supervisor_window.c.
References _g, _grouped_catch_up(), _pointer_button_down(), _rebuild_memory(), _scroll_bottom_idle(), _timeline_append(), _timeline_trim(), _update_count(), dt_supervisor_events_free(), dt_supervisor_events_snapshot_since(), i, MEMORY_REFRESH_TICKS, and TIMELINE_MAX_ROWS.
Referenced by _full_reload(), and dt_gui_supervisor_window_show().
|
static |
Definition at line 111 of file supervisor_window.c.
References g, out, p, and TRUE.
Referenced by _event_body_from().
Definition at line 478 of file supervisor_window.c.
References _clear_list(), _g, and _grouped_catch_up().
Referenced by _full_reload(), and _on_groupby_changed().
Definition at line 980 of file supervisor_window.c.
References _add_device_section(), _add_mem_item(), _add_mem_section(), _age_text(), _clear_list(), _cmp_image_imgid(), _cmp_mip_size(), _cmp_ram_size(), _g, _hashhex(), _mem_list(), dt_pixel_cache_stats_entry_t::age_us, dt_pixel_cache_stats_entry_t::allocation, COLOR_ALLOCATIONS, COLOR_MIPMAP, COLOR_PIPELINE, dt_dev_pixelpipe_cache_get_entries_stats(), dt_dev_pixelpipe_cache_get_max_memory(), dt_dev_pixelpipe_cache_get_usage(), dt_get_total_mem(), dt_image_cache_get_entries_stats(), dt_image_cache_get_usage(), dt_mipmap_cache_get_entries_stats(), dt_mipmap_cache_get_usage(), dt_opencl_get_num_devices(), dt_opencl_is_enabled(), dt_supervisor_image_key(), dt_supervisor_mipmap_key(), FALSE, dt_image_cache_stats_entry_t::filename, dt_pixel_cache_stats_entry_t::hash, dt_pixel_cache_stats_entry_t::hits, dt_pixel_cache_stats_entry_t::host_bytes, dt_pixel_cache_stats_entry_t::host_stale, i, dt_image_cache_stats_entry_t::imgid, dt_mipmap_cache_stats_entry_t::imgid, m, max, MEMORY_MAX_ROWS, dt_mipmap_cache_stats_entry_t::mip, dt_pixel_cache_stats_entry_t::name, name, dt_pixel_cache_stats_entry_t::refcount, dt_mipmap_cache_stats_entry_t::size, dt_pixel_cache_stats_entry_t::size, _bar_t::total, and TRUE.
Referenced by _full_reload(), _on_page_changed(), _poll(), and _rebuild_memory_idle().
|
static |
Definition at line 779 of file supervisor_window.c.
References _rebuild_memory().
Referenced by _on_mem_section_expanded().
Definition at line 1418 of file supervisor_window.c.
References _window_position_is_usable(), dt_conf_get_int(), dt_conf_key_exists(), height, IS_NULL_PTR, MAX, SUPERVISOR_CONF_HEIGHT, SUPERVISOR_CONF_WIDTH, SUPERVISOR_CONF_X, SUPERVISOR_CONF_Y, width, window, and x.
Referenced by dt_gui_supervisor_window_show().
|
static |
Definition at line 1202 of file supervisor_window.c.
References _clear_list(), _event_matches(), _event_widget(), _g, dt_supervisor_events_free(), dt_supervisor_events_snapshot(), and i.
Referenced by _full_reload(), _on_page_changed(), and _on_search_changed().
|
static |
Definition at line 130 of file supervisor_window.c.
References _g, double(), MAX, and row.
Referenced by _scroll_target_idle().
|
static |
Definition at line 147 of file supervisor_window.c.
References _g, _scroll_row_into_view(), and row.
Referenced by _on_link().
|
static |
Definition at line 375 of file supervisor_window.c.
References _event_widget(), _g, _hashhex(), dt_sv_logged_event_t::hash, dt_sv_logged_event_t::op, and row.
Referenced by _poll().
|
static |
Definition at line 392 of file supervisor_window.c.
References _g, row, TIMELINE_MAX_ROWS, and TIMELINE_TRIM_SLACK.
Referenced by _poll().
Definition at line 414 of file supervisor_window.c.
References _g, and dt_supervisor_events_count().
Referenced by _poll().
|
static |
Definition at line 1384 of file supervisor_window.c.
Referenced by _on_configure(), and _restore_geometry().
Definition at line 210 of file supervisor_window.c.
References _on_label_button(), _on_link(), and FALSE.
Referenced by _add_mem_item(), _collapsible(), and _event_body_from().
Definition at line 1459 of file supervisor_window.c.
References _full_reload(), _g, _group_free(), _on_clear(), _on_configure(), _on_destroy(), _on_groupby_changed(), _on_page_changed(), _on_record_toggled(), _on_refresh(), _on_search_changed(), _page_from_name(), _poll(), _restore_geometry(), dt_conf_get_bool(), dt_conf_get_string_const(), dt_conf_key_exists(), dt_gui_main_window(), dt_supervisor_set_recording(), FALSE, pages, POLL_INTERVAL_MS, SUPERVISOR_CONF_GROUP_BY, SUPERVISOR_CONF_PAGE, SUPERVISOR_CONF_RECORD, and TRUE.
Referenced by supervisor_callback().
| struct { ... } _g |
Referenced by _add_device_section(), _add_mem_section(), _full_reload(), _grouped_append(), _grouped_catch_up(), _mem_list(), _on_destroy(), _on_link(), _on_page_changed(), _on_search_changed(), _on_search_this_hash(), _page_from_name(), _page_name(), _pointer_button_down(), _poll(), _rebuild_grouped_now(), _rebuild_memory(), _run_search(), _scroll_bottom_idle(), _scroll_row_into_view(), _scroll_target_idle(), _timeline_append(), _timeline_trim(), _update_count(), and dt_gui_supervisor_window_show().
| GtkWidget* count_label |
Definition at line 62 of file supervisor_window.c.
| GHashTable* decl_map |
Definition at line 64 of file supervisor_window.c.
| GHashTable* group_map |
Definition at line 65 of file supervisor_window.c.
| GtkWidget* groupby |
Definition at line 63 of file supervisor_window.c.
| uint64_t grouped_last_seq |
Definition at line 67 of file supervisor_window.c.
| GtkWidget* grouped_list |
Definition at line 57 of file supervisor_window.c.
| uint64_t last_seq |
Definition at line 66 of file supervisor_window.c.
| GtkWidget* mem_box |
Definition at line 58 of file supervisor_window.c.
| GHashTable* mem_lists |
Definition at line 59 of file supervisor_window.c.
| GtkWidget* notebook |
Definition at line 54 of file supervisor_window.c.
Referenced by _blendop_blending_notebook_switch(), _blendop_create_notebook_page(), _blendop_create_toggle_page(), _channel_tabs_switch_callback(), _notebook_append_full_width_page(), _notebook_motion_notify_callback(), _notebook_size_callback(), create_notebook(), dt_ui_notebook_page(), dt_ui_notebook_set_picker_owner(), gui_init(), and gui_init().
| int page_grouped |
Definition at line 71 of file supervisor_window.c.
| int page_memory |
Definition at line 71 of file supervisor_window.c.
| int page_search |
Definition at line 71 of file supervisor_window.c.
| int page_timeline |
Definition at line 71 of file supervisor_window.c.
| gchar* scroll_target |
Definition at line 68 of file supervisor_window.c.
| GtkWidget* search_entry |
Definition at line 60 of file supervisor_window.c.
Referenced by _find_and_rank_matches(), and dt_accels_search().
| GtkWidget* search_list |
Definition at line 61 of file supervisor_window.c.
| guint tick |
Definition at line 70 of file supervisor_window.c.
| GtkWidget* timeline_list |
Definition at line 55 of file supervisor_window.c.
| GtkWidget* timeline_scroll |
Definition at line 56 of file supervisor_window.c.
| guint timer_id |
Definition at line 69 of file supervisor_window.c.
| GtkWidget* window |
Definition at line 53 of file supervisor_window.c.
Referenced by _on_configure(), _pointer_button_down(), _restore_geometry(), and _window_position_is_usable().