Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/session/session.h')
-rw-r--r--intern/cycles/session/session.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/session/session.h b/intern/cycles/session/session.h
index 26d8f19fdde..3e90b41e3e9 100644
--- a/intern/cycles/session/session.h
+++ b/intern/cycles/session/session.h
@@ -162,6 +162,10 @@ class Session {
void thread_run();
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).
*
* Will take care of the following things: