Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
pixelpipe_gui.h
Go to the documentation of this file.
1/*
2 This file is part of the Ansel project.
3 Copyright (C) 2026 Aurélien PIERRE.
4
5 Ansel is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 Ansel is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with Ansel. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#pragma once
20
21#include "develop/develop.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
36
41
51
64
71
76 const dt_iop_module_t *module);
77
86 const dt_iop_module_t *module);
87
88#ifdef __cplusplus
89}
90#endif
void dt_dev_pixelpipe_gui_cleanup(void)
Disconnect GUI-side histogram sampling callbacks.
Definition pixelpipe_gui.c:260
void dt_dev_refresh_preview_histograms(dt_develop_t *dev)
Refresh all GUI-visible histogram sources from the preview cache.
Definition pixelpipe_gui.c:229
void dt_dev_pixelpipe_gui_init(void)
Initialize GUI-side histogram sampling callbacks.
Definition pixelpipe_gui.c:254
gboolean dt_dev_module_requires_global_histogram_output_cache(const dt_dev_pixelpipe_t *pipe, const dt_iop_module_t *module)
Tell whether the module output itself feeds one global histogram stage.
Definition pixelpipe_gui.c:207
dt_backbuf_t * dt_dev_get_histogram_backbuf(dt_develop_t *dev, const char *op)
Return one of the develop-owned global histogram backbuffers.
Definition pixelpipe_gui.c:77
gboolean dt_dev_refresh_module_histogram(dt_develop_t *dev, dt_iop_module_t *module)
Refresh the histogram owned by one module from the preview cache.
Definition pixelpipe_gui.c:149
gboolean dt_dev_module_requires_global_histogram_input_cache(const dt_dev_pixelpipe_t *pipe, const dt_iop_module_t *module)
Tell whether the previous module output feeds one global histogram stage through this module.
Definition pixelpipe_gui.c:218
Definition pixelpipe_hb.h:187
Definition pixelpipe_hb.h:216
Definition develop.h:155
Definition imageop.h:216