![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <dev_backbuf.h>
Collaboration diagram for dt_dev_locked_surface_t:Data Fields | |
| uint64_t | hash |
| int | width |
| int | height |
| void * | data |
| struct dt_pixel_cache_entry_t * | entry |
| cairo_surface_t * | surface |
A GUI-side view onto one pipe's currently published backbuffer: wraps the pipe cache's own memory, never an independent copy (pixelpipe_hb.c owns the keepalive ref). Callers declare and own their own instance(s) - darkroom keeps one for dev->pipe and one for dev->preview_pipe, Studio Capture owns exactly one, for its main pipe only. Initialize .hash to DT_PIXELPIPE_CACHE_HASH_INVALID before first use - a zero-initialized (calloc'd) instance looks like a valid hash of 0, not the sentinel.
Definition at line 37 of file dev_backbuf.h.
| void* dt_dev_locked_surface_t::data |
Definition at line 42 of file dev_backbuf.h.
Referenced by dt_dev_lock_pipe_surface(), and dt_dev_release_locked_surface().
| struct dt_pixel_cache_entry_t* dt_dev_locked_surface_t::entry |
Definition at line 43 of file dev_backbuf.h.
Referenced by _build_preview_fallback_surface(), dt_dev_lock_pipe_surface(), dt_dev_release_locked_surface(), and dt_dev_render_locked_surface().
| uint64_t dt_dev_locked_surface_t::hash |
Definition at line 39 of file dev_backbuf.h.
Referenced by _build_preview_fallback_surface(), _darkroom_locked_main_valid_for_zoom(), dt_dev_lock_pipe_surface(), dt_dev_release_locked_surface(), dt_dev_render_locked_surface(), and expose().
| int dt_dev_locked_surface_t::height |
Definition at line 41 of file dev_backbuf.h.
Referenced by _build_preview_fallback_surface(), dt_dev_lock_pipe_surface(), dt_dev_release_locked_surface(), and dt_dev_render_locked_surface().
| cairo_surface_t* dt_dev_locked_surface_t::surface |
Definition at line 44 of file dev_backbuf.h.
Referenced by _build_preview_fallback_surface(), _darkroom_locked_main_valid_for_zoom(), dt_dev_lock_pipe_surface(), dt_dev_paint_main_backbuf(), dt_dev_release_locked_surface(), dt_dev_render_locked_surface(), and expose().
| int dt_dev_locked_surface_t::width |
Definition at line 40 of file dev_backbuf.h.
Referenced by _build_preview_fallback_surface(), dt_dev_lock_pipe_surface(), dt_dev_release_locked_surface(), and dt_dev_render_locked_surface().