Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/device_task.h
| Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | public: | ||||
| device_ptr shader_input; | device_ptr shader_input; | ||||
| device_ptr shader_output; | device_ptr shader_output; | ||||
| int shader_eval_type; | int shader_eval_type; | ||||
| int shader_x, shader_w; | int shader_x, shader_w; | ||||
| DeviceTask(Type type = PATH_TRACE); | DeviceTask(Type type = PATH_TRACE); | ||||
| int get_number_tasks(int num, int max_size = 0); | |||||
sergey: Same as above. Or maybe `get_subtask_count`. | |||||
| void split(list<DeviceTask>& tasks, int num, int max_size = 0); | void split(list<DeviceTask>& tasks, int num, int max_size = 0); | ||||
| void update_progress(RenderTile &rtile); | void update_progress(RenderTile &rtile); | ||||
| boost::function<bool(Device *device, RenderTile&)> acquire_tile; | boost::function<bool(Device *device, RenderTile&)> acquire_tile; | ||||
| boost::function<void(void)> update_progress_sample; | boost::function<void(void)> update_progress_sample; | ||||
| boost::function<void(RenderTile&)> update_tile_sample; | boost::function<void(RenderTile&)> update_tile_sample; | ||||
| boost::function<void(RenderTile&)> release_tile; | boost::function<void(RenderTile&)> release_tile; | ||||
| Show All 12 Lines | |||||
Same as above. Or maybe get_subtask_count.