![]() |
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 |
| dt_atomic_int | host_stale |
Definition at line 164 of file pixelpipe_cache.h.
| dt_atomic_uint64 dt_pixel_cache_entry_t::age |
Definition at line 176 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_compose(), _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(), _retouch_blur(), _retouch_blur_cl(), _retouch_clone(), _retouch_clone_cl(), _retouch_fill(), _retouch_fill_cl(), _retouch_heal(), _retouch_heal_cl(), _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(), image_lab2rgb(), image_rgb2lab(), modify_roi_in(), populate_masks_context_menu(), process(), process_cl(), process_internal(), rt_adjust_levels(), rt_adjust_levels_cl(), rt_compute_roi_in(), rt_copy_image_masked(), rt_copy_image_masked_cl(), rt_copy_in_to_out(), rt_copy_in_to_out_cl(), rt_copy_mask_to_alpha(), rt_copy_mask_to_alpha_cl(), rt_extend_roi_in_for_clone(), rt_extend_roi_in_from_source_clones(), rt_fill_scaled_mask(), rt_heal_domain(), rt_intersect_2_rois(), rt_menu_select_algorithm_callback(), rt_prepare_shape(), rt_process_forms(), rt_process_forms_cl(), rt_process_stats(), rt_process_stats_cl(), rt_rasterize_scaled_mask(), rt_release_shape(), rt_scaled_mask_hash(), rt_scaled_mask_memo_holds(), rt_scaled_mask_publish(), rt_scaled_mask_roi(), rt_scaled_mask_take_memo(), rt_shape_box(), rt_shape_scaled_mask(), rt_upload_scaled_mask_cl(), set_preferences(), view_enter(), and view_leave().
| gboolean dt_pixel_cache_entry_t::auto_destroy |
Definition at line 186 of file pixelpipe_cache.h.
Referenced by _cache_try_rekey_reuse_locked(), _pixel_cache_message(), _trace_exact_hit(), 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_count_entry(), 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 195 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 196 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(), _non_threadsafe_stats_append(), _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_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 197 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(), _non_threadsafe_stats_append(), _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_rekey(), dt_dev_pixelpipe_cache_return_cl_payload(), and dt_pixel_cache_new_entry().
| void* dt_pixel_cache_entry_t::data |
Definition at line 168 of file pixelpipe_cache.h.
Referenced by _cache_entry_for_host_ptr_locked(), _cache_entry_materialize_host_data_locked(), _cache_get_oldest(), _cache_sum_evictable(), _cache_try_rekey_reuse_locked(), _free_cache_entry(), _lib_navigation_compose(), _non_threadsafe_stats_append(), _pixel_cache_message(), _pixelpipe_pick_from_image(), _process_histogram(), _process_vectorscope(), _rekeyed_line_publishes_no_host_pixels(), _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_rekey(), dt_imageio_export_with_flags(), dt_pixel_cache_alloc(), dt_pixel_cache_entry_get_buffer(), dt_pixel_cache_entry_get_data(), dt_pixel_cache_new_entry(), dt_pixelpipe_cache_alloc_align_cache_impl(), rt_compute_roi_in(), rt_scaled_mask_memo_holds(), rt_scaled_mask_publish(), rt_scaled_mask_take_memo(), and rt_shape_box().
| gboolean dt_pixel_cache_entry_t::external_alloc |
Definition at line 187 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 166 of file pixelpipe_cache.h.
Referenced by _cache_entry_clmem_flush_device(), _cache_get_oldest(), _cache_try_rekey_reuse_locked(), _free_cache_entry(), _non_thread_safe_cache_remove(), _non_threadsafe_stats_append(), _pixel_cache_clmem_get(), _pixel_cache_message(), _trace_exact_hit(), _update_backbuf_cache_reference(), dt_dev_pixelpipe_cache_flush_clmem(), dt_dev_pixelpipe_cache_ref_count_entry(), 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 194 of file pixelpipe_cache.h.
Referenced by _cache_lookup_existing(), _for_each_remove_old(), _non_threadsafe_stats_append(), _pixel_cache_message(), dt_dev_pixelpipe_cache_get(), 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().
| dt_atomic_int dt_pixel_cache_entry_t::host_stale |
Definition at line 201 of file pixelpipe_cache.h.
Referenced by _cache_entry_materialize_host_data_locked(), _cache_try_rekey_reuse_locked(), _non_threadsafe_stats_append(), _pixel_cache_message(), dt_dev_pixelpipe_cache_flag_host_written(), dt_pixel_cache_entry_get_data(), and dt_pixel_cache_new_entry().
| int dt_pixel_cache_entry_t::id |
Definition at line 178 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 185 of file pixelpipe_cache.h.
Referenced by _entry_evictable(), _for_each_remove(), _for_each_remove_old(), _free_cache_entry(), _non_thread_safe_cache_remove(), _without_rekey_the_previous_output_stays(), 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 177 of file pixelpipe_cache.h.
Referenced by _free_cache_entry(), _non_threadsafe_stats_append(), _pixel_cache_message(), _trace_exact_hit(), dt_pixel_cache_alloc(), and dt_pixel_cache_new_entry().
| uint64_t dt_pixel_cache_entry_t::producer_node_key |
Definition at line 179 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 184 of file pixelpipe_cache.h.
Referenced by _cache_try_rekey_reuse_locked(), _entry_evictable(), _flagged_line_goes_with_its_last_holder(), _for_each_remove(), _for_each_remove_old(), _held_line_survives_the_flush(), _non_thread_safe_cache_ref_count_entry(), _non_thread_safe_cache_remove(), _non_threadsafe_stats_append(), _pixel_cache_message(), _trace_exact_hit(), _without_rekey_the_previous_output_stays(), dt_dev_pixelpipe_cache_flush_clmem(), dt_dev_pixelpipe_cache_rekey(), and dt_pixel_cache_new_entry().
| uint64_t dt_pixel_cache_entry_t::serial |
Definition at line 167 of file pixelpipe_cache.h.
Referenced by _cache_try_rekey_reuse_locked(), _pixel_cache_message(), _rekeyed_line_publishes_no_host_pixels(), _rewritten_line_publishes_its_host_pixels(), _trace_exact_hit(), _without_rekey_the_previous_output_stays(), dt_dev_pixelpipe_cache_rekey(), and dt_pixel_cache_new_entry().
| size_t dt_pixel_cache_entry_t::size |
Definition at line 169 of file pixelpipe_cache.h.
Referenced by _cache_lookup_existing(), _cache_sum_evictable(), _cache_try_rekey_reuse_locked(), _free_cache_entry(), _non_threadsafe_stats_append(), _pixel_cache_get_size(), dt_dev_pixelpipe_cache_get(), 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().