Home
last modified time | relevance | path

Searched refs:depsgraph (Results 1 – 25 of 512) sorted by relevance

12345678910>>...21

/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dobject_update.c205 BKE_pose_where_is(depsgraph, scene, ob); in BKE_object_handle_data_update()
210 BKE_displist_make_mball(depsgraph, scene, ob); in BKE_object_handle_data_update()
231 BKE_hair_data_update(depsgraph, scene, ob); in BKE_object_handle_data_update()
237 BKE_volume_data_update(depsgraph, scene, ob); in BKE_object_handle_data_update()
270 BKE_object_eval_boundbox(depsgraph, ob); in BKE_object_handle_data_update()
279 if (!DEG_is_active(depsgraph)) { in BKE_object_eval_boundbox()
294 if (!DEG_is_active(depsgraph)) { in BKE_object_sync_to_original()
345 BKE_object_eval_proxy_copy(depsgraph, object); in BKE_object_eval_uber_transform()
399 BKE_object_eval_parent(depsgraph, object); in BKE_object_eval_transform_all()
466 if (DEG_get_mode(depsgraph) == DAG_EVAL_RENDER) { in BKE_object_eval_eval_base_flags()
[all …]
H A Dmultires_reshape.c49 bool multiresModifier_reshapeFromVertcos(struct Depsgraph *depsgraph, in multiresModifier_reshapeFromVertcos() argument
56 if (!multires_reshape_context_create_from_object(&reshape_context, depsgraph, object, mmd)) { in multiresModifier_reshapeFromVertcos()
76 bool multiresModifier_reshapeFromObject(struct Depsgraph *depsgraph, in multiresModifier_reshapeFromObject() argument
81 struct Scene *scene_eval = DEG_get_evaluated_scene(depsgraph); in multiresModifier_reshapeFromObject()
82 struct Object *src_eval = DEG_get_evaluated_object(depsgraph, src); in multiresModifier_reshapeFromObject()
89 depsgraph, dst, mmd, deformed_verts, num_deformed_verts); in multiresModifier_reshapeFromObject()
102 bool multiresModifier_reshapeFromDeformModifier(struct Depsgraph *depsgraph, in multiresModifier_reshapeFromDeformModifier() argument
114 Mesh *multires_mesh = BKE_multires_create_mesh(depsgraph, object, &highest_mmd); in multiresModifier_reshapeFromDeformModifier()
120 .depsgraph = depsgraph, in multiresModifier_reshapeFromDeformModifier()
130 depsgraph, object, &highest_mmd, deformed_verts, num_deformed_verts); in multiresModifier_reshapeFromDeformModifier()
[all …]
H A Darmature_update.c658 BIK_init_tree(depsgraph, scene, object, ctime); in BKE_pose_eval_init_ik()
731 if (!DEG_is_active(depsgraph)) { in pose_channel_flush_to_orig_if_needed()
765 if (DEG_is_active(depsgraph)) { in BKE_pose_bone_done()
773 void BKE_pose_eval_bbone_segments(struct Depsgraph *depsgraph, in BKE_pose_eval_bbone_segments() argument
786 if (DEG_is_active(depsgraph)) { in BKE_pose_eval_bbone_segments()
792 void BKE_pose_iktree_evaluate(struct Depsgraph *depsgraph, in BKE_pose_iktree_evaluate() argument
809 BIK_execute_tree(depsgraph, scene, object, rootchan, ctime); in BKE_pose_iktree_evaluate()
812 void BKE_pose_splineik_evaluate(struct Depsgraph *depsgraph, in BKE_pose_splineik_evaluate() argument
843 BKE_object_eval_boundbox(depsgraph, object); in pose_eval_done_common()
860 pose_eval_done_common(depsgraph, object); in BKE_pose_eval_done()
[all …]
H A Dgpencil_modifier.c217 nfra = mti->remapTime(md, depsgraph, scene, ob, gpl, cfra); in gpencil_time_modifier()
235 void BKE_gpencil_frame_active_set(Depsgraph *depsgraph, bGPdata *gpd) in BKE_gpencil_frame_active_set() argument
237 DEG_debug_print_eval(depsgraph, __func__, gpd->id.name, gpd); in BKE_gpencil_frame_active_set()
238 int ctime = (int)DEG_get_ctime(depsgraph); in BKE_gpencil_frame_active_set()
245 if (DEG_is_active(depsgraph)) { in BKE_gpencil_frame_active_set()
586 int cfra_eval = (int)DEG_get_ctime(depsgraph); in gpencil_remap_time_get()
603 bGPDframe *BKE_gpencil_frame_retime_get(Depsgraph *depsgraph, in BKE_gpencil_frame_retime_get() argument
608 int remap_cfra = gpencil_remap_time_get(depsgraph, scene, ob, gpl); in BKE_gpencil_frame_retime_get()
696 DEG_debug_print_eval(depsgraph, __func__, gpd_eval->id.name, gpd_eval); in BKE_gpencil_prepare_eval_data()
750 mti->generateStrokes(md, depsgraph, ob); in BKE_gpencil_modifiers_calc()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/
H A DDEG_depsgraph.h94 void DEG_graph_replace_owners(struct Depsgraph *depsgraph,
126 struct Depsgraph *depsgraph,
134 void DEG_graph_time_tag_update(struct Depsgraph *depsgraph);
148 struct Depsgraph *depsgraph,
172 struct Depsgraph *depsgraph; member
185 bool DEG_is_evaluating(const struct Depsgraph *depsgraph);
187 bool DEG_is_active(const struct Depsgraph *depsgraph);
188 void DEG_make_active(struct Depsgraph *depsgraph);
189 void DEG_make_inactive(struct Depsgraph *depsgraph);
193 void DEG_debug_print_begin(struct Depsgraph *depsgraph);
[all …]
H A DDEG_depsgraph_query.h70 bool DEG_id_type_updated(const struct Depsgraph *depsgraph, short id_type);
71 bool DEG_id_type_any_updated(const struct Depsgraph *depsgraph);
74 bool DEG_id_type_any_exists(const struct Depsgraph *depsgraph, short id_type);
96 struct Object *DEG_get_evaluated_object(const struct Depsgraph *depsgraph, struct Object *object);
99 struct ID *DEG_get_evaluated_id(const struct Depsgraph *depsgraph, struct ID *id);
102 void DEG_get_evaluated_rna_pointer(const struct Depsgraph *depsgraph,
128 bool DEG_is_fully_evaluated(const struct Depsgraph *depsgraph);
232 void DEG_foreach_ancestor_ID(const Depsgraph *depsgraph,
236 void DEG_foreach_dependent_ID(const Depsgraph *depsgraph,
254 void DEG_foreach_dependent_ID_component(const Depsgraph *depsgraph,
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/intern/
H A Ddepsgraph_debug.cc47 void DEG_debug_flags_set(Depsgraph *depsgraph, int flags) in DEG_debug_flags_set() argument
53 int DEG_debug_flags_get(const Depsgraph *depsgraph) in DEG_debug_flags_get() argument
65 const char *DEG_debug_name_get(struct Depsgraph *depsgraph) in DEG_debug_name_get() argument
250 const char *name = DEG_debug_name_get(depsgraph); in depsgraph_name_for_logging()
257 void DEG_debug_print_begin(struct Depsgraph *depsgraph) in DEG_debug_print_begin() argument
262 void DEG_debug_print_eval(struct Depsgraph *depsgraph, in DEG_debug_print_eval() argument
272 depsgraph_name_for_logging(depsgraph).c_str(), in DEG_debug_print_eval()
294 depsgraph_name_for_logging(depsgraph).c_str(), in DEG_debug_print_eval_subdata()
322 depsgraph_name_for_logging(depsgraph).c_str(), in DEG_debug_print_eval_subdata_index()
350 depsgraph_name_for_logging(depsgraph).c_str(), in DEG_debug_print_eval_parent_typed()
[all …]
H A Ddepsgraph_tag.cc260 update_ctx.depsgraph = (::Depsgraph *)graph; in depsgraph_update_editors_tag()
761 deg::Depsgraph *graph = (deg::Depsgraph *)depsgraph; in DEG_graph_id_tag_update()
784 DEG_graph_id_type_tag(depsgraph, ID_MA); in DEG_graph_id_type_tag()
785 DEG_graph_id_type_tag(depsgraph, ID_TE); in DEG_graph_id_type_tag()
786 DEG_graph_id_type_tag(depsgraph, ID_LA); in DEG_graph_id_type_tag()
787 DEG_graph_id_type_tag(depsgraph, ID_WO); in DEG_graph_id_type_tag()
788 DEG_graph_id_type_tag(depsgraph, ID_SCE); in DEG_graph_id_type_tag()
789 DEG_graph_id_type_tag(depsgraph, ID_SIM); in DEG_graph_id_type_tag()
806 deg::Depsgraph *graph = (deg::Depsgraph *)depsgraph; in DEG_graph_on_visible_update()
826 update_ctx.depsgraph = depsgraph; in DEG_ids_check_recalc()
[all …]
H A Ddepsgraph_registry.cc40 void register_graph(Depsgraph *depsgraph) in register_graph() argument
42 Main *bmain = depsgraph->bmain; in register_graph()
43 get_graph_registry().lookup_or_add_default(bmain).add_new(depsgraph); in register_graph()
46 void unregister_graph(Depsgraph *depsgraph) in unregister_graph() argument
48 Main *bmain = depsgraph->bmain; in unregister_graph()
51 graphs.remove(depsgraph); in unregister_graph()
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/
H A Ddepsgraph_debug.py42 return scene.depsgraph
45 return view_layer.depsgraph
64 depsgraph = _get_depsgraph(context)
65 return depsgraph is not None
81 depsgraph = _get_depsgraph(context)
86 def performSave(self, context, depsgraph): argument
164 depsgraph = _get_depsgraph(context)
261 depsgraph = _get_depsgraph(context)
262 return depsgraph is not None
276 depsgraph = _get_depsgraph(context)
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/intern/eval/
H A Ddeg_eval_copy_on_write.cc353 return depsgraph->view_layer; in get_original_view_layer()
374 if (depsgraph->is_render_pipeline_depsgraph) { in scene_remove_unused_view_layers()
482 if (depsgraph->is_render_pipeline_depsgraph) { in scene_setup_view_layers_before_remap()
511 const Depsgraph *depsgraph; member
529 const Depsgraph *depsgraph = user_data->depsgraph; in foreach_libblock_remap_callback() local
557 id_cow = depsgraph->get_cow_id(id_orig); in foreach_libblock_remap_callback()
773 void update_id_after_copy(const Depsgraph *depsgraph, in update_id_after_copy() argument
909 ntree_hack_remap_pointers(depsgraph, id_cow); in deg_expand_copy_on_write_datablock()
916 user_data.depsgraph = depsgraph; in deg_expand_copy_on_write_datablock()
950 RuntimeBackup backup(depsgraph); in deg_update_copy_on_write_datablock()
[all …]
H A Ddeg_eval_runtime_backup.cc35 RuntimeBackup::RuntimeBackup(const Depsgraph *depsgraph) in RuntimeBackup() argument
37 animation_backup(depsgraph), in RuntimeBackup()
38 scene_backup(depsgraph), in RuntimeBackup()
39 sound_backup(depsgraph), in RuntimeBackup()
40 object_backup(depsgraph), in RuntimeBackup()
42 movieclip_backup(depsgraph), in RuntimeBackup()
43 volume_backup(depsgraph) in RuntimeBackup()
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/
H A DBKE_object.h53 void BKE_object_workob_calc_parent(struct Depsgraph *depsgraph,
195 void BKE_object_where_is_calc_ex(struct Depsgraph *depsgraph,
200 void BKE_object_where_is_calc_time(struct Depsgraph *depsgraph,
229 bool BKE_object_minmax_dupli(struct Depsgraph *depsgraph,
272 void BKE_object_eval_constraints(struct Depsgraph *depsgraph,
279 void BKE_object_eval_uber_data(struct Depsgraph *depsgraph,
287 void BKE_object_eval_ptcache_reset(struct Depsgraph *depsgraph,
291 void BKE_object_eval_transform_all(struct Depsgraph *depsgraph,
305 void BKE_object_handle_data_update(struct Depsgraph *depsgraph,
309 void BKE_object_handle_update_ex(struct Depsgraph *depsgraph,
[all …]
H A DBKE_armature.h188 void BKE_pose_where_is_bone(struct Depsgraph *depsgraph,
224 void BKE_armature_mat_pose_to_bone_ex(struct Depsgraph *depsgraph,
371 void BKE_splineik_execute_tree(struct Depsgraph *depsgraph,
381 void BKE_pose_eval_init_ik(struct Depsgraph *depsgraph,
385 void BKE_pose_eval_bone(struct Depsgraph *depsgraph,
390 void BKE_pose_constraints_evaluate(struct Depsgraph *depsgraph,
397 void BKE_pose_eval_bbone_segments(struct Depsgraph *depsgraph,
401 void BKE_pose_iktree_evaluate(struct Depsgraph *depsgraph,
406 void BKE_pose_splineik_evaluate(struct Depsgraph *depsgraph,
413 void BKE_pose_eval_cleanup(struct Depsgraph *depsgraph,
[all …]
H A DBKE_multires.h55 void multires_mark_as_modified(struct Depsgraph *depsgraph,
94 struct Mesh *BKE_multires_create_mesh(struct Depsgraph *depsgraph,
100 float (*BKE_multires_create_deformed_base_mesh_vert_coords(struct Depsgraph *depsgraph,
109 void multiresModifier_base_apply(struct Depsgraph *depsgraph,
112 int multiresModifier_rebuild_subdiv(struct Depsgraph *depsgraph,
133 void multiresModifier_scale_disp(struct Depsgraph *depsgraph,
136 void multiresModifier_prepare_join(struct Depsgraph *depsgraph,
164 bool multiresModifier_reshapeFromVertcos(struct Depsgraph *depsgraph,
169 bool multiresModifier_reshapeFromObject(struct Depsgraph *depsgraph,
173 bool multiresModifier_reshapeFromDeformModifier(struct Depsgraph *depsgraph,
/dports/graphics/blender/blender-2.91.0/source/blender/draw/
H A DDRW_engine.h64 struct Depsgraph *depsgraph; member
83 void DRW_draw_render_loop_ex(struct Depsgraph *depsgraph,
89 void DRW_draw_render_loop(struct Depsgraph *depsgraph,
93 void DRW_draw_render_loop_offscreen(struct Depsgraph *depsgraph,
102 void DRW_draw_render_loop_2d_ex(struct Depsgraph *depsgraph,
106 void DRW_draw_select_loop(struct Depsgraph *depsgraph,
117 void DRW_draw_depth_loop(struct Depsgraph *depsgraph,
122 void DRW_draw_depth_loop_gpencil(struct Depsgraph *depsgraph,
131 void DRW_draw_select_id(struct Depsgraph *depsgraph,
137 bool DRW_render_check_grease_pencil(struct Depsgraph *depsgraph);
[all …]
H A DDRW_select_buffer.h88 uint DRW_select_buffer_context_offset_for_object_elem(struct Depsgraph *depsgraph,
91 uint *DRW_select_buffer_read(struct Depsgraph *depsgraph,
96 uint *DRW_select_buffer_bitmap_from_rect(struct Depsgraph *depsgraph,
101 uint *DRW_select_buffer_bitmap_from_circle(struct Depsgraph *depsgraph,
107 uint *DRW_select_buffer_bitmap_from_poly(struct Depsgraph *depsgraph,
114 uint DRW_select_buffer_sample_point(struct Depsgraph *depsgraph,
118 uint DRW_select_buffer_find_nearest_to_point(struct Depsgraph *depsgraph,
/dports/graphics/blender/blender-2.91.0/intern/cycles/blender/addon/
H A D__init__.py70 def update(self, data, depsgraph): argument
80 engine.reset(self, data, depsgraph)
82 def render(self, depsgraph): argument
83 engine.render(self, depsgraph)
85 def bake(self, depsgraph, obj, pass_type, pass_filter, width, height): argument
86 engine.bake(self, depsgraph, obj, pass_type, pass_filter, width, height)
89 def view_update(self, context, depsgraph): argument
94 engine.reset(self, context.blend_data, depsgraph)
95 engine.sync(self, depsgraph, context.blend_data)
97 def view_draw(self, context, depsgraph): argument
[all …]
H A Dengine.py173 def render(engine, depsgraph): argument
176 _cycles.render(engine.session, depsgraph.as_pointer())
186 def reset(engine, data, depsgraph): argument
192 _cycles.debug_flags_update(depsgraph.scene.as_pointer())
197 depsgraph = depsgraph.as_pointer()
198 _cycles.reset(engine.session, data, depsgraph)
201 def sync(engine, depsgraph, data): argument
203 _cycles.sync(engine.session, depsgraph.as_pointer())
206 def draw(engine, depsgraph, region, v3d, rv3d): argument
208 depsgraph = depsgraph.as_pointer()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/editors/sculpt_paint/
H A Dpaint_vertex_proj.c97 static void vpaint_proj_dm_map_cosnos_init(struct Depsgraph *depsgraph, in vpaint_proj_dm_map_cosnos_init() argument
102 Scene *scene_eval = DEG_get_evaluated_scene(depsgraph); in vpaint_proj_dm_map_cosnos_init()
103 Object *ob_eval = DEG_get_evaluated_object(depsgraph, ob); in vpaint_proj_dm_map_cosnos_init()
107 Mesh *me_eval = mesh_get_eval_final(depsgraph, scene_eval, ob_eval, &cddata_masks); in vpaint_proj_dm_map_cosnos_init()
159 static void vpaint_proj_dm_map_cosnos_update(struct Depsgraph *depsgraph, in vpaint_proj_dm_map_cosnos_update() argument
167 Scene *scene_eval = DEG_get_evaluated_scene(depsgraph); in vpaint_proj_dm_map_cosnos_update()
168 Object *ob_eval = DEG_get_evaluated_object(depsgraph, ob); in vpaint_proj_dm_map_cosnos_update()
185 struct VertProjHandle *ED_vpaint_proj_handle_create(struct Depsgraph *depsgraph, in ED_vpaint_proj_handle_create() argument
198 vpaint_proj_dm_map_cosnos_init(depsgraph, scene, ob, vp_handle); in ED_vpaint_proj_handle_create()
217 void ED_vpaint_proj_handle_update(struct Depsgraph *depsgraph, in ED_vpaint_proj_handle_update() argument
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/io/alembic/exporter/
H A Dabc_export_capi.cc55 Depsgraph *depsgraph; member
71 DEG_graph_build_from_view_layer(depsgraph); in build_depsgraph()
74 DEG_graph_build_for_all_objects(depsgraph); in build_depsgraph()
95 build_depsgraph(data->depsgraph, data->params.visible_objects_only); in export_startjob()
96 SubdivModifierDisabler subdiv_disabler(data->depsgraph); in export_startjob()
100 BKE_scene_graph_update_tagged(data->depsgraph, data->bmain); in export_startjob()
103 Scene *scene = DEG_get_input_scene(data->depsgraph); in export_startjob()
154 BKE_scene_graph_update_for_newframe(data->depsgraph); in export_startjob()
175 BKE_scene_graph_update_for_newframe(data->depsgraph); in export_startjob()
188 DEG_graph_free(data->depsgraph); in export_endjob()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/draw/intern/
H A Ddraw_manager.c1298 Depsgraph *depsgraph = update_ctx->depsgraph; in DRW_notify_view_update() local
1329 .depsgraph = depsgraph, in DRW_notify_view_update()
1379 Depsgraph *depsgraph = DST.draw_ctx.depsgraph; in DRW_draw_callbacks_post_scene() local
1524 .depsgraph = depsgraph, in DRW_draw_render_loop_ex()
1761 .depsgraph = depsgraph, in DRW_render_gpencil()
1840 .depsgraph = depsgraph, in DRW_render_to_image()
1962 .depsgraph = depsgraph, in DRW_custom_pipeline()
2035 .depsgraph = depsgraph, in DRW_draw_render_loop_2d_ex()
2335 .depsgraph = depsgraph, in DRW_draw_select_loop()
2487 .depsgraph = depsgraph, in drw_draw_depth_loop_imp()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/io/usd/intern/
H A Dusd_capi.cc53 Depsgraph *depsgraph; member
92 Scene *scene = DEG_get_input_scene(data->depsgraph); in export_startjob()
94 DEG_graph_build_from_view_layer(data->depsgraph); in export_startjob()
97 DEG_graph_build_for_all_objects(data->depsgraph); in export_startjob()
99 BKE_scene_graph_update_tagged(data->depsgraph, data->bmain); in export_startjob()
130 USDHierarchyIterator iter(data->depsgraph, usd_stage, data->params); in export_startjob()
144 BKE_scene_graph_update_for_newframe(data->depsgraph); in export_startjob()
164 BKE_scene_graph_update_for_newframe(data->depsgraph); in export_startjob()
176 DEG_graph_free(data->depsgraph); in export_endjob()
206 job->depsgraph = DEG_graph_new(job->bmain, scene, view_layer, params->evaluation_mode); in USD_export()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/include/
H A DED_view3d.h80 struct Depsgraph *depsgraph; member
103 struct Depsgraph *depsgraph; member
156 void ED_view3d_to_object(const struct Depsgraph *depsgraph,
417 bool ED_view3d_clip_range_get(struct Depsgraph *depsgraph,
423 bool ED_view3d_viewplane_get(struct Depsgraph *depsgraph,
484 bool ED_view3d_autodist(struct Depsgraph *depsgraph,
493 void ED_view3d_autodist_init(struct Depsgraph *depsgraph,
589 void ED_draw_object_facemap(struct Depsgraph *depsgraph,
599 struct Depsgraph *depsgraph,
611 void ED_view3d_update_viewmat(struct Depsgraph *depsgraph,
[all …]
/dports/graphics/blender/blender-2.91.0/doc/python_api/examples/
H A Dbpy.types.RenderEngine.py31 def render(self, depsgraph): argument
32 scene = depsgraph.scene
58 def view_update(self, context, depsgraph): argument
61 scene = depsgraph.scene
72 for datablock in depsgraph.ids:
78 for update in depsgraph.updates:
82 if depsgraph.id_type_updated('MATERIAL'):
86 if first_time or depsgraph.id_type_updated('OBJECT'):
87 for instance in depsgraph.object_instances:
95 def view_draw(self, context, depsgraph): argument
[all …]

12345678910>>...21