17 #ifndef __DEVICE_TASK_H__
18 #define __DEVICE_TASK_H__
154 void split(list<DeviceTask> &tasks,
int num,
int max_size = 0)
const;
int align_samples(int sample, int num_samples) const
bool need_filter(int sample) const
DenoiserInput input_passes
bool need_denoising_task() const
function< bool()> get_tile_stolen
function< void(RenderTileNeighbors &, Device *)> map_neighbor_tiles
function< void(RenderTile &)> release_tile
void update_progress(RenderTile *rtile, int pixel_samples=-1)
function< void(long, int)> update_progress_sample
function< bool(Device *device, RenderTile &, uint)> acquire_tile
DeviceTask(Type type=RENDER)
function< void(RenderTile &)> update_tile_sample
bool denoising_from_render
void split(list< DeviceTask > &tasks, int num, int max_size=0) const
function< void(RenderTileNeighbors &, Device *)> unmap_neighbor_tiles
function< bool()> get_cancel
vector< int > denoising_frames
int get_subtask_count(int num, int max_size=0) const
AdaptiveSampling adaptive_sampling
@ DENOISER_OPENIMAGEDENOISE
@ DENOISER_INPUT_RGB_ALBEDO
@ DENOISER_INPUT_RGB_ALBEDO_NORMAL
#define CCL_NAMESPACE_END
static void sample(SocketReader *reader, int x, int y, float color[4])