Revert r50528: "Performance fix for Cycles: Don't wait in the main UI thread when resetting devices."
This commit leads to random freezes in Cycles rendering: https://projects.blender.org/tracker/index.php?func=detail&aid=32545&group_id=9&atid=498 The goal of this commit was to remove UI lag for OSL, but since that is not officially supported yet, better revert it until a proper fix can be implemented in 2.65.
This commit is contained in:
@@ -116,7 +116,6 @@ public:
|
||||
|
||||
bool ready_to_reset();
|
||||
void reset(BufferParams& params, int samples);
|
||||
bool resetting() const;
|
||||
void set_samples(int samples);
|
||||
void set_pause(bool pause);
|
||||
|
||||
@@ -140,12 +139,10 @@ 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);
|
||||
|
Reference in New Issue
Block a user