Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_dev_pipe_cache_policy_inputs_t Struct Reference

Everything the decision depends on, named. More...

#include <pipe_cache_policy.h>

+ Collaboration diagram for dt_dev_pipe_cache_policy_inputs_t:

Data Fields

gboolean authored_cache
 
gboolean user_requested_cache
 
gboolean supports_opencl
 
gboolean color_picker_on
 
gboolean global_hist_output_on
 
gboolean global_hist_input_on
 
gboolean module_hist_on
 
gboolean active_in_gui
 
gboolean has_autoset
 

Detailed Description

Everything the decision depends on, named.

Definition at line 45 of file pipe_cache_policy.h.

Field Documentation

◆ active_in_gui

gboolean dt_dev_pipe_cache_policy_inputs_t::active_in_gui

This is the module the darkroom currently has focused.

Definition at line 63 of file pipe_cache_policy.h.

Referenced by dt_dev_pipe_cache_policy_decide().

◆ authored_cache

gboolean dt_dev_pipe_cache_policy_inputs_t::authored_cache

The module authored this itself (piece->cache_output_on_ram before the seal).

Definition at line 48 of file pipe_cache_policy.h.

Referenced by _seal_opencl_cache_policy(), and dt_dev_pipe_cache_policy_decide().

◆ color_picker_on

gboolean dt_dev_pipe_cache_policy_inputs_t::color_picker_on

A colour picker is sampling this module's output.

Definition at line 55 of file pipe_cache_policy.h.

Referenced by _null_upstream_pointer_is_allowed(), and dt_dev_pipe_cache_policy_decide().

◆ global_hist_input_on

gboolean dt_dev_pipe_cache_policy_inputs_t::global_hist_input_on

The global histogram reads this module's INPUT, so the module BEFORE it must publish.

Definition at line 59 of file pipe_cache_policy.h.

Referenced by dt_dev_pipe_cache_policy_decide().

◆ global_hist_output_on

gboolean dt_dev_pipe_cache_policy_inputs_t::global_hist_output_on

The global histogram reads this module's OUTPUT.

Definition at line 57 of file pipe_cache_policy.h.

Referenced by dt_dev_pipe_cache_policy_decide().

◆ has_autoset

gboolean dt_dev_pipe_cache_policy_inputs_t::has_autoset

An autoset pass wants this module's input.

Definition at line 65 of file pipe_cache_policy.h.

Referenced by dt_dev_pipe_cache_policy_decide().

◆ module_hist_on

gboolean dt_dev_pipe_cache_policy_inputs_t::module_hist_on

The module computes its own histogram from its input.

Definition at line 61 of file pipe_cache_policy.h.

Referenced by dt_dev_pipe_cache_policy_decide().

◆ supports_opencl

gboolean dt_dev_pipe_cache_policy_inputs_t::supports_opencl

This node can run on the GPU at all: OpenCL inited, the piece is CL-ready, the module has a process_cl. A node that cannot is by definition producing host data.

Definition at line 53 of file pipe_cache_policy.h.

Referenced by _a_cpu_node_publishes_its_producer_and_no_further(), _cpu_only_node_needs_its_input_on_host(), _gpu_node_with_no_needs(), and dt_dev_pipe_cache_policy_decide().

◆ user_requested_cache

gboolean dt_dev_pipe_cache_policy_inputs_t::user_requested_cache

The user pinned it through /plugins/<op>/cache.

Definition at line 50 of file pipe_cache_policy.h.

Referenced by dt_dev_pipe_cache_policy_decide().


The documentation for this struct was generated from the following file: