diff options
Diffstat (limited to 'intern/cycles/render/session.h')
-rw-r--r-- | intern/cycles/render/session.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/session.h b/intern/cycles/render/session.h index 7b01357a2b7..e45753d22a0 100644 --- a/intern/cycles/render/session.h +++ b/intern/cycles/render/session.h @@ -116,6 +116,7 @@ public: bool ready_to_reset(); void reset(BufferParams& params, int samples); + bool resetting() const; void set_samples(int samples); void set_pause(bool pause); @@ -139,10 +140,12 @@ protected: void run_cpu(); bool draw_cpu(BufferParams& params); void reset_cpu(BufferParams& params, int samples); + bool resetting_cpu() const; void run_gpu(); bool draw_gpu(BufferParams& params); void reset_gpu(BufferParams& params, int samples); + bool resetting_gpu() const; bool acquire_tile(Device *tile_device, RenderTile& tile); void update_tile_sample(RenderTile& tile); |