Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/blender_session.h
| Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | protected: | ||||
| void builtin_images_load(); | void builtin_images_load(); | ||||
| /* Is used after each render layer synchronization is done with the goal | /* Is used after each render layer synchronization is done with the goal | ||||
| * of freeing render engine data which is held from Blender side (for | * of freeing render engine data which is held from Blender side (for | ||||
| * example, dependency graph). | * example, dependency graph). | ||||
| */ | */ | ||||
| void free_blender_memory_if_possible(); | void free_blender_memory_if_possible(); | ||||
| void ensure_display_driver_if_needed(); | |||||
| struct { | struct { | ||||
| thread_mutex mutex; | thread_mutex mutex; | ||||
| int last_pass_index = -1; | int last_pass_index = -1; | ||||
| } draw_state_; | } draw_state_; | ||||
| /* NOTE: The BlenderSession references the display driver. */ | /* NOTE: The BlenderSession references the display driver. */ | ||||
| BlenderDisplayDriver *display_driver_ = nullptr; | BlenderDisplayDriver *display_driver_ = nullptr; | ||||
| vector<string> full_buffer_files_; | vector<string> full_buffer_files_; | ||||
| }; | }; | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __BLENDER_SESSION_H__ */ | #endif /* __BLENDER_SESSION_H__ */ | ||||