Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
src/iop/drawlayer/common.h
Go to the documentation of this file.
1#pragma once
2
3#include "develop/imageop.h"
5
10#define DRAWLAYER_NAME_SIZE 64
11#define DRAWLAYER_PROFILE_SIZE 256
12
21
23
30
31gboolean dt_drawlayer_commit_dabs(dt_iop_module_t *self, gboolean record_history);
42 const dt_dev_pixelpipe_iop_t *piece,
43 const dt_iop_roi_t *roi_in,
44 const dt_iop_roi_t *roi_out);
47 gboolean have_last_dab, float last_dab_x, float last_dab_y,
48 uint32_t publish_serial);
50 const dt_drawlayer_paint_raw_input_t *first_input);
55 const char *title,
56 const char *message);
57void dt_drawlayer_set_os_cursor_hidden(gboolean hidden);
58void gui_update(dt_iop_module_t *self);
const float g
Definition colorspaces_inline_conversions.h:925
Stroke-level path sampling and runtime-state API for drawlayer.
void dt_drawlayer_flush_process_patch_to_base(dt_iop_module_t *self, dt_iop_drawlayer_gui_data_t *g)
Definition drawlayer.c:891
gboolean dt_drawlayer_build_process_patch_from_base(dt_iop_module_t *self, dt_iop_drawlayer_gui_data_t *g, const dt_dev_pixelpipe_iop_t *piece, const dt_iop_roi_t *roi_in, const dt_iop_roi_t *roi_out)
Definition drawlayer.c:704
gboolean dt_drawlayer_flush_layer_cache(dt_iop_module_t *self)
Definition drawlayer.c:2055
#define DRAWLAYER_NAME_SIZE
Definition src/iop/drawlayer/common.h:10
void dt_drawlayer_show_runtime_feedback(const dt_iop_drawlayer_gui_data_t *g, dt_drawlayer_runtime_feedback_t feedback)
Definition drawlayer.c:3305
void dt_drawlayer_touch_stroke_commit_hash(dt_iop_drawlayer_params_t *params, int dab_count, gboolean have_last_dab, float last_dab_x, float last_dab_y, uint32_t publish_serial)
Definition drawlayer.c:2299
gboolean dt_drawlayer_sync_widget_cache(dt_iop_module_t *self)
Definition drawlayer.c:2166
void gui_update(dt_iop_module_t *self)
Refresh GUI controls from current params and configuration.
Definition ashift.c:5363
dt_drawlayer_runtime_feedback_t
Definition src/iop/drawlayer/common.h:25
@ DT_DRAWLAYER_RUNTIME_FEEDBACK_NONE
Definition src/iop/drawlayer/common.h:26
@ DT_DRAWLAYER_RUNTIME_FEEDBACK_FOCUS_LOSS_WAIT
Definition src/iop/drawlayer/common.h:27
@ DT_DRAWLAYER_RUNTIME_FEEDBACK_SAVE_WAIT
Definition src/iop/drawlayer/common.h:28
void dt_drawlayer_set_os_cursor_hidden(gboolean hidden)
Definition drawlayer.c:1312
void dt_drawlayer_begin_gui_stroke_capture(dt_iop_module_t *self, const dt_drawlayer_paint_raw_input_t *first_input)
Definition drawlayer.c:3241
void dt_drawlayer_release_all_base_patch_extra_refs(dt_iop_drawlayer_gui_data_t *g)
Definition drawlayer.c:535
gboolean dt_drawlayer_commit_dabs(dt_iop_module_t *self, gboolean record_history)
Definition drawlayer.c:2360
void dt_drawlayer_set_pipeline_realtime_mode(dt_iop_module_t *self, gboolean state)
Definition drawlayer.c:2152
#define DRAWLAYER_PROFILE_SIZE
Definition src/iop/drawlayer/common.h:11
gboolean dt_drawlayer_prime_live_process_patch_before_stroke(dt_iop_module_t *self)
Definition drawlayer.c:2183
void dt_drawlayer_wait_for_rasterization_modal(const dt_iop_drawlayer_gui_data_t *g, const char *title, const char *message)
Definition drawlayer.c:1391
void dt_drawlayer_end_gui_stroke_capture(dt_iop_module_t *self)
Definition drawlayer.c:3264
gboolean dt_drawlayer_build_worker_input_dab(dt_iop_module_t *self, dt_drawlayer_paint_stroke_t *state, const dt_drawlayer_paint_raw_input_t *input, dt_drawlayer_brush_dab_t *dab)
Definition worker.c:164
gboolean dt_drawlayer_ensure_layer_cache(dt_iop_module_t *self)
Definition drawlayer.c:1740
Definition pixelpipe_hb.h:58
Fully resolved input dab descriptor.
Definition brush.h:66
One raw pointer event queued to stroke processing.
Definition iop/drawlayer/paint.h:49
Mutable stroke runtime state owned by worker/backend code.
Definition iop/drawlayer/paint.h:100
Definition runtime.h:282
Definition src/iop/drawlayer/common.h:14
char layer_name[64]
Definition src/iop/drawlayer/common.h:16
int layer_order
Definition src/iop/drawlayer/common.h:19
char work_profile[256]
Definition src/iop/drawlayer/common.h:17
unsigned int stroke_commit_hash
Definition src/iop/drawlayer/common.h:15
int64_t sidecar_timestamp
Definition src/iop/drawlayer/common.h:18
Definition imageop.h:217
Definition imageop.h:67