23#ifndef DT_IOP_DRAWLAYER_LAYERS_H
24#define DT_IOP_DRAWLAYER_LAYERS_H
typedef void((*dt_cache_allocate_t)(void *userdata, dt_cache_entry_t *entry))
gboolean dt_drawlayer_layer_canvas_for_pipe(dt_iop_module_t *self, const dt_dev_pixelpipe_t *pipe, int *width, int *height)
Shared coordinate transforms and geometry computations for drawlayer.
static uint64_t dt_hash(uint64_t hash, const char *str, size_t size)
void dt_drawlayer_layers_log_errors(GString *errors)
static const dt_dev_pixelpipe_t * pipe
static const dt_dev_pixelpipe_t const dt_dev_pixelpipe_iop_t * piece
void dt_drawlayer_layers_populate_list(dt_iop_module_t *self)
static const dt_iop_drawlayer_params_t * params
static const dt_dev_pixelpipe_t const dt_dev_pixelpipe_iop_t int int int int * origin_y
static const dt_dev_pixelpipe_t const dt_dev_pixelpipe_iop_t int int * layer_height
static const dt_dev_pixelpipe_t const dt_dev_pixelpipe_iop_t int * layer_width
void dt_drawlayer_layers_reset_stroke_session(dt_iop_drawlayer_gui_data_t *g)
static const dt_dev_pixelpipe_t const dt_dev_pixelpipe_iop_t int int int * origin_x
void dt_drawlayer_layers_append_error(GString *errors, const char *message)
#define IS_NULL_PTR(p)
C is way too permissive with !=, == and if(var) checks, which can mean too many things depending on w...
float dt_aligned_pixel_simd_t __attribute__((vector_size(16), aligned(16)))
Apply one channel's tone curve to each of the three colour channels, or pass the channel through unto...
Shared drawlayer runtime helpers used across module/runtime files.
#define DRAWLAYER_NAME_SIZE
#define DRAWLAYER_PROFILE_SIZE
unsigned __int64 uint64_t
What one sidecar directory scan found about a layer.
char work_profile[DRAWLAYER_PROFILE_SIZE]
char name[DRAWLAYER_NAME_SIZE]
struct dt_develop_t * dev