Cycles: update buffers only once in a while when progressive refine is used

It'll mimic the same behavior as regular tile rendering update and it should
give pretty noticeable boost on simpler scenes.
This commit is contained in:
Sergey Sharybin
2012-10-23 17:24:23 +00:00
parent a32d134dc7
commit 40242c2f44
2 changed files with 17 additions and 2 deletions

View File

@@ -179,6 +179,7 @@ protected:
double paused_time;
/* progressive refine */
double last_update_time;
bool update_progressive_refine(bool cancel);
vector<RenderBuffers *> tile_buffers;