Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/blender_session.h
| Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | public: | ||||
| */ | */ | ||||
| static bool headless; | static bool headless; | ||||
| static bool print_render_stats; | static bool print_render_stats; | ||||
| protected: | protected: | ||||
| void stamp_view_layer_metadata(Scene *scene, const string &view_layer_name); | void stamp_view_layer_metadata(Scene *scene, const string &view_layer_name); | ||||
| /* Check whether session error happenned. | |||||
| * If so, it is reported to the render engine and true is returned. | |||||
| * Otherwise false is returned. */ | |||||
| bool have_session_report_and_report(); | |||||
brecht: This name is a bit confusing to me. I suggest `check_and_report_session_error()`. | |||||
| 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(); | ||||
| Show All 14 Lines | |||||
This name is a bit confusing to me. I suggest check_and_report_session_error().