Tomato Cycles: report currently rendering sample when using GPU
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 7 Aug 2012 13:27:19 +0000 (13:27 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 7 Aug 2012 13:27:19 +0000 (13:27 +0000)
commitb364f6e6929febb94e7de4891293a4042f7ac62f
tree61f58ddd86635ca1cf9d39d3c5ac8dac32ad7416
parent851682122504b8f4427c589485e79c9808630c2e
Tomato Cycles: report currently rendering sample when using GPU

Currently it makes more sense to use single tile for GPU rendering
and in this case tile-based progress report doesn't work well.

Since threading happens within single tile, it's possible to
detect currently computing sample and report it to the interface,

This also allows to display smoother progress when using CPU
with small amount of tiles.
intern/cycles/blender/blender_session.cpp
intern/cycles/device/device_task.cpp
intern/cycles/device/device_task.h
intern/cycles/render/session.cpp
intern/cycles/render/session.h
intern/cycles/util/util_progress.h