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 4017964d4aa..c093421443b 100644
--- a/intern/cycles/session/session.h
+++ b/intern/cycles/session/session.h
@@ -175,6 +175,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: