Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/integrator/work_tile_scheduler.h
| Context not available. | |||||
| void set_max_num_path_states(int max_num_path_states); | void set_max_num_path_states(int max_num_path_states); | ||||
| /* Scheduling will happen for pixels within a big tile denotes by its parameters. */ | /* Scheduling will happen for pixels within a big tile denotes by its parameters. */ | ||||
| void reset(const BufferParams &buffer_params, int sample_start, int samples_num); | void reset(const BufferParams &buffer_params, | ||||
| int sample_start, | |||||
| int samples_num, | |||||
| float scrambling_distance); | |||||
| /* Get work for a device. | /* Get work for a device. | ||||
| * Returns true if there is still work to be done and initialize the work tile to all | * Returns true if there is still work to be done and initialize the work tile to all | ||||
| Context not available. | |||||
| * Will be passed over to the KernelWorkTile. */ | * Will be passed over to the KernelWorkTile. */ | ||||
| int offset_, stride_; | int offset_, stride_; | ||||
| /* Scrambling Distance requires adapted tile size */ | |||||
| float scrambling_distance_; | |||||
| /* Start sample of index and number of samples which are to be rendered. | /* Start sample of index and number of samples which are to be rendered. | ||||
| * The scheduler will cover samples range of [start, start + num] over the entire image | * The scheduler will cover samples range of [start, start + num] over the entire image | ||||
| * (splitting into a smaller work tiles). */ | * (splitting into a smaller work tiles). */ | ||||
| Context not available. | |||||