Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/session.cpp
| Context not available. | |||||
| { | { | ||||
| /* add path trace task */ | /* add path trace task */ | ||||
| DeviceTask task(DeviceTask::PATH_TRACE); | DeviceTask task(DeviceTask::PATH_TRACE); | ||||
| task.acquire_tile = function_bind(&Session::acquire_tile, this, _1, _2); | task.acquire_tile = function_bind(&Session::acquire_tile, this, p_n::_1, p_n::_2); | ||||
| task.release_tile = function_bind(&Session::release_tile, this, _1); | task.release_tile = function_bind(&Session::release_tile, this, p_n::_1); | ||||
| task.get_cancel = function_bind(&Progress::get_cancel, &this->progress); | task.get_cancel = function_bind(&Progress::get_cancel, &this->progress); | ||||
| task.update_tile_sample = function_bind(&Session::update_tile_sample, this, _1); | task.update_tile_sample = function_bind(&Session::update_tile_sample, this, p_n::_1); | ||||
| task.update_progress_sample = function_bind(&Session::update_progress_sample, this); | task.update_progress_sample = function_bind(&Session::update_progress_sample, this); | ||||
| task.need_finish_queue = params.progressive_refine; | task.need_finish_queue = params.progressive_refine; | ||||
| task.integrator_branched = scene->integrator->method == Integrator::BRANCHED_PATH; | task.integrator_branched = scene->integrator->method == Integrator::BRANCHED_PATH; | ||||
| Context not available. | |||||