|
Blender V5.3
|
Public Member Functions | |
| void | init_depsgraph () |
| void | free_depsgraph () |
| void | init_gpu () |
| void | free_gpu () |
Public Attributes | |
| PrefetchJob * | next = nullptr |
| PrefetchJob * | prev = nullptr |
| Main * | bmain = nullptr |
| Main * | bmain_eval = nullptr |
| Scene * | scene = nullptr |
| Scene * | scene_eval = nullptr |
| Depsgraph * | depsgraph = nullptr |
| ThreadMutex | prefetch_suspend_mutex = {} |
| ThreadCondition | prefetch_suspend_cond = {} |
| ListBaseT< ThreadSlot > | threads = {} |
| RenderData | context = {} |
| RenderData | context_cpy = {} |
| int | cfra = 0 |
| int | timeline_start = 0 |
| int | timeline_end = 0 |
| int | timeline_length = 0 |
| int | num_frames_prefetched = 0 |
| int | cache_flags = 0 |
| bool | running = false |
| bool | waiting = false |
| bool | stop = false |
| bool | is_scrubbing = false |
Definition at line 62 of file prefetch.cc.
| void blender::seq::PrefetchJob::free_depsgraph | ( | ) |
Definition at line 240 of file prefetch.cc.
References blender::DEG_graph_free(), depsgraph, and scene_eval.
Referenced by blender::seq::seq_prefetch_free(), and blender::seq::seq_prefetch_update_scene().
| void blender::seq::PrefetchJob::free_gpu | ( | ) |
Definition at line 278 of file prefetch.cc.
References context_cpy, blender::gpu::GPUSecondaryContextData::ghost_context, blender::seq::RenderData::gpu_context, and blender::gpu::GPU_destroy_secondary_context().
Referenced by blender::seq::seq_prefetch_free().
| void blender::seq::PrefetchJob::init_depsgraph | ( | ) |
Definition at line 256 of file prefetch.cc.
References blender::BKE_view_layer_default_render(), bmain_eval, blender::Editing::cache_flag, blender::DAG_EVAL_RENDER, blender::DEG_debug_name_set(), blender::DEG_get_evaluated_scene(), blender::DEG_graph_build_for_render_pipeline(), blender::DEG_graph_new(), depsgraph, blender::Scene::ed, scene, scene_eval, blender::SEQ_CACHE_NONE, and blender::seq::seq_prefetch_update_depsgraph().
Referenced by blender::seq::seq_prefetch_start_ex(), and blender::seq::seq_prefetch_update_scene().
| void blender::seq::PrefetchJob::init_gpu | ( | ) |
Definition at line 273 of file prefetch.cc.
References context_cpy, blender::seq::RenderData::gpu_context, and blender::gpu::GPU_create_secondary_context().
Referenced by blender::seq::seq_prefetch_start_ex().
Definition at line 66 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_start_ex(), and blender::seq::seq_prefetch_update_context().
Definition at line 67 of file prefetch.cc.
Referenced by init_depsgraph(), blender::seq::seq_prefetch_free(), blender::seq::seq_prefetch_start_ex(), and blender::seq::seq_prefetch_update_context().
| int blender::seq::PrefetchJob::cache_flags = 0 |
Definition at line 87 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_start_ex(), and blender::seq::seq_prefetch_update_area().
| int blender::seq::PrefetchJob::cfra = 0 |
Definition at line 82 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_cfra(), blender::seq::seq_prefetch_frames(), blender::seq::seq_prefetch_get_time_range(), blender::seq::seq_prefetch_start_ex(), and blender::seq::seq_prefetch_update_area().
| RenderData blender::seq::PrefetchJob::context = {} |
Definition at line 78 of file prefetch.cc.
Referenced by blender::seq::get_original_context(), and blender::seq::seq_prefetch_update_context().
| RenderData blender::seq::PrefetchJob::context_cpy = {} |
Definition at line 79 of file prefetch.cc.
Referenced by free_gpu(), init_gpu(), blender::seq::seq_prefetch_frames(), and blender::seq::seq_prefetch_update_context().
| Depsgraph* blender::seq::PrefetchJob::depsgraph = nullptr |
Definition at line 70 of file prefetch.cc.
Referenced by free_depsgraph(), init_depsgraph(), blender::seq::seq_prefetch_anim_eval_context(), blender::seq::seq_prefetch_update_context(), and blender::seq::seq_prefetch_update_depsgraph().
| bool blender::seq::PrefetchJob::is_scrubbing = false |
Definition at line 95 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_job_scrubbing_set(), and blender::seq::seq_prefetch_need_suspend().
| PrefetchJob* blender::seq::PrefetchJob::next = nullptr |
Definition at line 63 of file prefetch.cc.
| int blender::seq::PrefetchJob::num_frames_prefetched = 0 |
Definition at line 86 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_cfra(), blender::seq::seq_prefetch_frames(), blender::seq::seq_prefetch_need_suspend(), blender::seq::seq_prefetch_start_ex(), and blender::seq::seq_prefetch_update_area().
| ThreadCondition blender::seq::PrefetchJob::prefetch_suspend_cond = {} |
Definition at line 73 of file prefetch.cc.
Referenced by blender::seq::prefetch_stop(), blender::seq::seq_prefetch_do_suspend(), blender::seq::seq_prefetch_free(), blender::seq::seq_prefetch_resume(), and blender::seq::seq_prefetch_start_ex().
| ThreadMutex blender::seq::PrefetchJob::prefetch_suspend_mutex = {} |
Definition at line 72 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_do_suspend(), blender::seq::seq_prefetch_free(), and blender::seq::seq_prefetch_start_ex().
| PrefetchJob* blender::seq::PrefetchJob::prev = nullptr |
Definition at line 64 of file prefetch.cc.
| bool blender::seq::PrefetchJob::running = false |
Definition at line 91 of file prefetch.cc.
Referenced by blender::seq::prefetch_stop(), blender::seq::seq_prefetch_frames(), blender::seq::seq_prefetch_get_time_range(), blender::seq::seq_prefetch_job_is_running(), and blender::seq::seq_prefetch_start_ex().
Definition at line 68 of file prefetch.cc.
Referenced by init_depsgraph(), blender::seq::seq_prefetch_cfra(), blender::seq::seq_prefetch_do_suspend(), blender::seq::seq_prefetch_frames(), blender::seq::seq_prefetch_must_skip_frame(), blender::seq::seq_prefetch_need_suspend(), blender::seq::seq_prefetch_start_ex(), blender::seq::seq_prefetch_update_active_seqbase(), blender::seq::seq_prefetch_update_area(), blender::seq::seq_prefetch_update_context(), and blender::seq::seq_prefetch_update_scene().
Definition at line 69 of file prefetch.cc.
Referenced by free_depsgraph(), init_depsgraph(), blender::seq::seq_prefetch_frames(), blender::seq::seq_prefetch_must_skip_frame(), blender::seq::seq_prefetch_update_active_seqbase(), and blender::seq::seq_prefetch_update_context().
| bool blender::seq::PrefetchJob::stop = false |
Definition at line 93 of file prefetch.cc.
Referenced by blender::seq::prefetch_stop(), blender::seq::seq_prefetch_do_suspend(), blender::seq::seq_prefetch_frames(), and blender::seq::seq_prefetch_start_ex().
| ListBaseT<ThreadSlot> blender::seq::PrefetchJob::threads = {} |
Definition at line 75 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_free(), and blender::seq::seq_prefetch_start_ex().
| int blender::seq::PrefetchJob::timeline_end = 0 |
Definition at line 84 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_frames(), blender::seq::seq_prefetch_start_ex(), and blender::seq::seq_prefetch_update_area().
| int blender::seq::PrefetchJob::timeline_length = 0 |
Definition at line 85 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_need_suspend(), blender::seq::seq_prefetch_start_ex(), and blender::seq::seq_prefetch_update_area().
| int blender::seq::PrefetchJob::timeline_start = 0 |
Definition at line 83 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_frames(), blender::seq::seq_prefetch_start_ex(), and blender::seq::seq_prefetch_update_area().
| bool blender::seq::PrefetchJob::waiting = false |
Definition at line 92 of file prefetch.cc.
Referenced by blender::seq::seq_prefetch_do_suspend(), blender::seq::seq_prefetch_job_is_waiting(), blender::seq::seq_prefetch_resume(), and blender::seq::seq_prefetch_start_ex().