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

One consumer's outstanding request, owned by that consumer, not by the queue. More...

#include <pixelpipe_cache_wait.h>

+ Collaboration diagram for dt_pixelpipe_cache_wait_t:

Data Fields

const voidpipe
 
const void *char module_op [20]
 
int module_multi_priority
 
int pipe_type
 
int32_t pipe_imgid
 
uint64_t hash
 
uint64_t target_node_key
 
dt_pixelpipe_cache_ready_callback_t restart
 
gpointer user_data
 
const char * owner_tag
 
gpointer owner_object
 
uint64_t request_id
 
gboolean connected
 

Detailed Description

One consumer's outstanding request, owned by that consumer, not by the queue.

Callers embed this (dt_develop_t holds two) or keep one per widget, and hand its address in. The queue only ever links it, matches it and hands it back.

Definition at line 59 of file pixelpipe_cache_wait.h.

Field Documentation

◆ connected

◆ hash

◆ module_multi_priority

int dt_pixelpipe_cache_wait_t::module_multi_priority

◆ module_op

◆ owner_object

gpointer dt_pixelpipe_cache_wait_t::owner_object

◆ owner_tag

◆ pipe

◆ pipe_imgid

int32_t dt_pixelpipe_cache_wait_t::pipe_imgid

◆ pipe_type

int dt_pixelpipe_cache_wait_t::pipe_type

◆ request_id

◆ restart

◆ target_node_key

uint64_t dt_pixelpipe_cache_wait_t::target_node_key

Producer node identity of the awaited output. Lets a waiter be served when its target module publishes, even if the exact awaited hash drifted before the publish – the GUI predicts a hash, the worker recomputes them all. INVALID for a backbuf target, which has no single producing node and keeps to the exact-hash match.

Definition at line 79 of file pixelpipe_cache_wait.h.

Referenced by _dt_dev_pixelpipe_cache_wait_ready_callback(), dt_dev_pixelpipe_cache_peek_gui(), dt_dev_pixelpipe_cache_wait_cleanup(), and dt_pixelpipe_cache_wait_take_matching().

◆ user_data

gpointer dt_pixelpipe_cache_wait_t::user_data

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