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

Track one asynchronous Cairo surface fetch request for a GUI widget. More...

#include <view.h>

+ Collaboration diagram for dt_view_image_surface_fetcher_t:

Data Fields

dt_pthread_mutex_t lock
 
pthread_cond_t cond
 
GWeakRef widget_ref
 
cairo_surface_t ** target
 
int32_t imgid
 
int width
 
int height
 
int zoom
 
int32_t cached_imgid
 
int cached_width
 
int cached_height
 
int cached_zoom
 
dt_atomic_int shutdown
 
guint request_id
 
guint queued_request_id
 
gboolean commit_pending
 
gboolean job_queued
 
gboolean destroying
 

Detailed Description

Track one asynchronous Cairo surface fetch request for a GUI widget.

The fetcher owns the background job bookkeeping and the current cached surface metadata. The actual Cairo surface remains owned by the caller through the target pointer passed to dt_view_image_get_surface_async().

Field Documentation

◆ cached_height

int dt_view_image_surface_fetcher_t::cached_height

◆ cached_imgid

◆ cached_width

int dt_view_image_surface_fetcher_t::cached_width

◆ cached_zoom

◆ commit_pending

◆ cond

◆ destroying

◆ height

int dt_view_image_surface_fetcher_t::height

◆ imgid

int32_t dt_view_image_surface_fetcher_t::imgid

◆ job_queued

◆ lock

◆ queued_request_id

guint dt_view_image_surface_fetcher_t::queued_request_id

◆ request_id

◆ shutdown

◆ target

◆ widget_ref

◆ width

int dt_view_image_surface_fetcher_t::width

◆ zoom

int dt_view_image_surface_fetcher_t::zoom

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