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 44 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 62 of file pipe_cache_policy.h.

◆ 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 47 of file pipe_cache_policy.h.

Referenced by _seal_opencl_cache_policy().

◆ 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 54 of file pipe_cache_policy.h.

◆ 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 58 of file pipe_cache_policy.h.

◆ 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 56 of file pipe_cache_policy.h.

◆ has_autoset

gboolean dt_dev_pipe_cache_policy_inputs_t::has_autoset

An autoset pass wants this module's input.

Definition at line 64 of file pipe_cache_policy.h.

◆ 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 60 of file pipe_cache_policy.h.

◆ 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 52 of file pipe_cache_policy.h.

Referenced by _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 49 of file pipe_cache_policy.h.


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