Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/session/session.h
| Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Lines | struct DelayedReset { | ||||
| bool do_reset; | bool do_reset; | ||||
| SessionParams session_params; | SessionParams session_params; | ||||
| BufferParams buffer_params; | BufferParams buffer_params; | ||||
| } delayed_reset_; | } delayed_reset_; | ||||
| void thread_run(); | void thread_run(); | ||||
| void thread_render(); | void thread_render(); | ||||
| /* Check whether the session thread is in `SESSION_THREAD_RENDER` state. | |||||
| * Returns true if it is so. */ | |||||
| bool is_session_thread_rendering(); | |||||
| /* Update for the new iteration of the main loop in run implementation (run_cpu and run_gpu). | /* Update for the new iteration of the main loop in run implementation (run_cpu and run_gpu). | ||||
| * | * | ||||
| * Will take care of the following things: | * Will take care of the following things: | ||||
| * - Delayed reset | * - Delayed reset | ||||
| * - Scene update | * - Scene update | ||||
| * - Tile manager advance | * - Tile manager advance | ||||
| * - Render scheduler work request | * - Render scheduler work request | ||||
| * | * | ||||
| ▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines | |||||