Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/device_task.h
| Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | public: | ||||
| int shader_x, shader_w; | int shader_x, shader_w; | ||||
| DeviceTask(Type type = PATH_TRACE); | DeviceTask(Type type = PATH_TRACE); | ||||
| int get_subtask_count(int num, int max_size = 0); | int get_subtask_count(int num, int max_size = 0); | ||||
| 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); | ||||
sergey: Same as above and other parts of the change. Wouldnt duplicate this. | |||||
| boost::function<bool(Device *device, RenderTile&)> acquire_tile; | function<bool(Device *device, RenderTile&)> acquire_tile; | ||||
| boost::function<void(void)> update_progress_sample; | function<void(void)> update_progress_sample; | ||||
| boost::function<void(RenderTile&)> update_tile_sample; | function<void(RenderTile&)> update_tile_sample; | ||||
| boost::function<void(RenderTile&)> release_tile; | function<void(RenderTile&)> release_tile; | ||||
| boost::function<bool(void)> get_cancel; | function<bool(void)> get_cancel; | ||||
| bool need_finish_queue; | bool need_finish_queue; | ||||
| bool integrator_branched; | bool integrator_branched; | ||||
| protected: | protected: | ||||
| double last_update_time; | double last_update_time; | ||||
| }; | }; | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __DEVICE_TASK_H__ */ | #endif /* __DEVICE_TASK_H__ */ | ||||
Same as above and other parts of the change. Wouldnt duplicate this.