![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <pixelpipe_cache.h>
Collaboration diagram for dt_pixel_cache_entry_t:Data Fields | |
| uint64_t | hash |
| uint64_t | serial |
| void * | data |
| size_t | size |
| dt_atomic_uint64 | age |
| char * | name |
| int | id |
| uint64_t | producer_node_key |
| dt_atomic_int | refcount |
| dt_pthread_rwlock_t | lock |
| gboolean | auto_destroy |
| gboolean | external_alloc |
| int | hits |
| dt_dev_pixelpipe_cache_t * | cache |
| GList * | cl_mem_list |
| dt_pthread_mutex_t | cl_mem_lock |
Definition at line 139 of file pixelpipe_cache.h.
| dt_atomic_uint64 dt_pixel_cache_entry_t::age |
Definition at line 151 of file pixelpipe_cache.h.
Referenced by _add_sample(), _area_scrolled_callback(), _bin_pickers_vectorscope(), _bin_pickers_waveforms(), _bin_pixels_vectorscope_in_roi(), _bin_pixels_waveform(), _bin_pixels_waveform_in_roi(), _bin_vectorscope(), _create_vectorscope_image(), _create_waveform_image(), _destroy_surface(), _display_samples_changed(), _draw_callback(), _get_allocation_size(), _get_backbuf_source_piece(), _label_size_allocate_callback(), _lib_navigation_button_press_callback(), _lib_navigation_draw_callback(), _lib_navigation_motion_notify_callback(), _lib_navigation_set_position(), _live_sample_button(), _needs_recompute(), _paint_waveform(), _picker_button_toggled(), _pixel_cache_get_age(), _pixel_cache_touch(), _pixelpipe_pick_from_image(), _pixelpipe_pick_samples(), _pref_display_toggled(), _pref_stage_toggled(), _process_histogram(), _process_restricted_text(), _process_vectorscope(), _redraw_surface(), _remove_sample(), _remove_sample_cb(), _resolve_backbuf_sampling_source(), _restrict_histogram_changed(), _sample_draw_callback(), _sample_leave_callback(), _sample_tooltip_callback(), _scope_resize_handle_get_size(), _scope_resize_handle_resize(), _set_params(), _set_stage(), _trigger_recompute(), _update_everything(), _update_sample_label(), _zoom_preset_callback(), dt_dev_lock_pipe_surface(), dt_dev_paint_main_backbuf(), dt_dev_render_locked_surface(), dt_imageio_close_standalone(), dt_imageio_export_with_flags(), dt_imageio_lookup_makermodel(), dt_imageio_open(), dt_imageio_open_standalone(), dt_pixel_cache_new_entry(), gui_cleanup(), gui_reset(), set_preferences(), view_enter(), and view_leave().
| gboolean dt_pixel_cache_entry_t::auto_destroy |
Definition at line 161 of file pixelpipe_cache.h.
Referenced by _cache_try_rekey_reuse_locked(), _pixel_cache_message(), _trace_exact_hit(), dt_dev_pixelpipe_cache_auto_destroy_apply(), dt_dev_pixelpipe_cache_flag_auto_destroy(), dt_dev_pixelpipe_cache_get(), dt_dev_pixelpipe_cache_get_writable(), dt_dev_pixelpipe_cache_peek(), dt_dev_pixelpipe_cache_ref_entry_by_hash(), dt_dev_pixelpipe_cache_ref_host_entry_by_hash(), dt_dev_pixelpipe_cache_rekey(), and dt_pixel_cache_new_entry().
| dt_dev_pixelpipe_cache_t* dt_pixel_cache_entry_t::cache |
Definition at line 170 of file pixelpipe_cache.h.
Referenced by _free_cache_entry(), and dt_pixel_cache_new_entry().
| GList* dt_pixel_cache_entry_t::cl_mem_list |
Definition at line 171 of file pixelpipe_cache.h.
Referenced by _cache_entry_clmem_flush_device(), _cache_entry_clmem_flush_host_pinned_locked(), _cache_entry_clmem_has_host_pinned_locked(), _cache_entry_materialize_host_data_locked(), _cache_try_rekey_reuse_locked(), _cache_try_restore_device_payload(), _free_cache_entry(), _pixel_cache_clmem_get(), _pixel_cache_clmem_put(), _pixel_cache_clmem_remove(), dt_dev_pixelpipe_cache_borrow_cl_payload(), dt_dev_pixelpipe_cache_flush_entry_clmem(), dt_dev_pixelpipe_cache_get_entries_stats(), dt_dev_pixelpipe_cache_rekey(), dt_dev_pixelpipe_cache_return_cl_payload(), and dt_pixel_cache_new_entry().
| dt_pthread_mutex_t dt_pixel_cache_entry_t::cl_mem_lock |
Definition at line 172 of file pixelpipe_cache.h.
Referenced by _cache_entry_clmem_flush_device(), _cache_entry_clmem_flush_host_pinned_locked(), _cache_entry_clmem_has_host_pinned_locked(), _cache_entry_materialize_host_data_locked(), _cache_try_rekey_reuse_locked(), _cache_try_restore_device_payload(), _free_cache_entry(), _pixel_cache_clmem_get(), _pixel_cache_clmem_put(), _pixel_cache_clmem_remove(), dt_dev_pixelpipe_cache_borrow_cl_payload(), dt_dev_pixelpipe_cache_flush_entry_clmem(), dt_dev_pixelpipe_cache_get_entries_stats(), dt_dev_pixelpipe_cache_rekey(), dt_dev_pixelpipe_cache_return_cl_payload(), and dt_pixel_cache_new_entry().
| void* dt_pixel_cache_entry_t::data |
Definition at line 143 of file pixelpipe_cache.h.
Referenced by _cache_entry_clmem_flush_device(), _cache_entry_for_host_ptr_locked(), _cache_entry_materialize_host_data_locked(), _cache_try_rekey_reuse_locked(), _free_cache_entry(), _lib_navigation_draw_callback(), _pixel_cache_message(), _pixelpipe_cache_finalize_entry(), _pixelpipe_pick_from_image(), _process_histogram(), _process_vectorscope(), _update_backbuf_cache_reference(), dt_dev_lock_pipe_surface(), dt_dev_pixelpipe_cache_get(), dt_dev_pixelpipe_cache_get_entry_by_data(), dt_dev_pixelpipe_cache_get_writable(), dt_dev_pixelpipe_cache_ref_host_entry_by_hash(), dt_dev_pixelpipe_cache_rekey(), dt_imageio_export_with_flags(), dt_pixel_cache_alloc(), dt_pixel_cache_entry_get_data(), dt_pixel_cache_new_entry(), and dt_pixelpipe_cache_alloc_align_cache_impl().
| gboolean dt_pixel_cache_entry_t::external_alloc |
Definition at line 162 of file pixelpipe_cache.h.
Referenced by _cache_entry_for_host_ptr_locked(), _pixel_cache_message(), dt_pixel_cache_new_entry(), dt_pixelpipe_cache_alloc_align_cache_impl(), and dt_pixelpipe_cache_free_align_cache().
| uint64_t dt_pixel_cache_entry_t::hash |
Definition at line 141 of file pixelpipe_cache.h.
Referenced by _cache_entry_clmem_flush_device(), _cache_get_oldest(), _cache_try_rekey_reuse_locked(), _free_cache_entry(), _lib_histogram_cacheline_ready_callback(), _non_thread_safe_cache_remove(), _pixel_cache_clmem_get(), _pixel_cache_message(), _reset_piece_cache_entry(), _resolve_backbuf_sampling_source(), _trace_exact_hit(), _update_backbuf_cache_reference(), dt_dev_lock_pipe_surface(), dt_dev_pixelpipe_cache_auto_destroy_apply(), dt_dev_pixelpipe_cache_flush_clmem(), dt_dev_pixelpipe_cache_get_entries_stats(), dt_dev_pixelpipe_cache_rekey(), dt_dev_pixelpipe_cache_wrlock_entry(), dt_drawlayer_cache_ensure_process_patch_buffer(), dt_pixel_cache_alloc(), dt_pixel_cache_new_entry(), and dt_pixelpipe_cache_free_align_cache().
| int dt_pixel_cache_entry_t::hits |
Definition at line 169 of file pixelpipe_cache.h.
Referenced by _cache_lookup_existing(), _for_each_remove_old(), _pixel_cache_message(), dt_dev_pixelpipe_cache_get(), dt_dev_pixelpipe_cache_get_entries_stats(), dt_dev_pixelpipe_cache_get_writable(), dt_dev_pixelpipe_cache_ref_entry_by_hash(), dt_dev_pixelpipe_cache_ref_host_entry_by_hash(), and dt_pixel_cache_new_entry().
| int dt_pixel_cache_entry_t::id |
Definition at line 153 of file pixelpipe_cache.h.
Referenced by _for_each_remove(), _free_cache_entry(), _pixel_cache_message(), and dt_pixel_cache_new_entry().
| dt_pthread_rwlock_t dt_pixel_cache_entry_t::lock |
Definition at line 160 of file pixelpipe_cache.h.
Referenced by _cache_get_oldest(), _for_each_remove(), _for_each_remove_old(), _free_cache_entry(), _non_thread_safe_cache_remove(), dt_dev_pixelpipe_cache_auto_destroy_apply(), dt_dev_pixelpipe_cache_flush_clmem(), dt_dev_pixelpipe_cache_peek(), dt_dev_pixelpipe_cache_rdlock_entry(), dt_dev_pixelpipe_cache_ref_host_entry_by_hash(), dt_dev_pixelpipe_cache_wrlock_entry(), and dt_pixel_cache_new_entry().
| char* dt_pixel_cache_entry_t::name |
Definition at line 152 of file pixelpipe_cache.h.
Referenced by _free_cache_entry(), _pixel_cache_message(), _trace_exact_hit(), dt_dev_pixelpipe_cache_get_entries_stats(), dt_pixel_cache_alloc(), and dt_pixel_cache_new_entry().
| uint64_t dt_pixel_cache_entry_t::producer_node_key |
Definition at line 154 of file pixelpipe_cache.h.
Referenced by _lib_histogram_cacheline_ready_callback(), dt_dev_pixelpipe_cache_wrlock_entry(), dt_dev_pixelpipe_process_rec(), and dt_pixel_cache_new_entry().
| dt_atomic_int dt_pixel_cache_entry_t::refcount |
Definition at line 159 of file pixelpipe_cache.h.
Referenced by _cache_get_oldest(), _cache_try_rekey_reuse_locked(), _for_each_remove_old(), _non_thread_safe_cache_ref_count_entry(), _non_thread_safe_cache_remove(), _pixel_cache_message(), _trace_exact_hit(), dt_dev_pixelpipe_cache_auto_destroy_apply(), dt_dev_pixelpipe_cache_flush_clmem(), dt_dev_pixelpipe_cache_get_entries_stats(), dt_dev_pixelpipe_cache_rekey(), and dt_pixel_cache_new_entry().
| uint64_t dt_pixel_cache_entry_t::serial |
Definition at line 142 of file pixelpipe_cache.h.
Referenced by _cache_try_rekey_reuse_locked(), _pixel_cache_message(), _trace_exact_hit(), dt_dev_pixelpipe_cache_rekey(), and dt_pixel_cache_new_entry().
| size_t dt_pixel_cache_entry_t::size |
Definition at line 144 of file pixelpipe_cache.h.
Referenced by _cache_lookup_existing(), _cache_try_rekey_reuse_locked(), _free_cache_entry(), _pixel_cache_get_size(), dt_dev_pixelpipe_cache_get(), dt_dev_pixelpipe_cache_get_entries_stats(), dt_dev_pixelpipe_cache_ref_entry_by_hash(), dt_dev_pixelpipe_cache_ref_host_entry_by_hash(), dt_pixel_cache_alloc(), dt_pixel_cache_entry_get_size(), and dt_pixel_cache_new_entry().