Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/tile.h
| Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | public: | ||||
| struct State { | struct State { | ||||
| BufferParams buffer; | BufferParams buffer; | ||||
| int sample; | int sample; | ||||
| int num_samples; | int num_samples; | ||||
| int resolution_divider; | int resolution_divider; | ||||
| int num_tiles; | int num_tiles; | ||||
| int num_rendered_tiles; | int num_rendered_tiles; | ||||
| /* Total samples over all pixels: Generally num_samples*num_pixels, | |||||
| * but can be higher due to the initial resolution division for previews. */ | |||||
| uint64_t total_pixel_samples; | |||||
| /* This vector contains a list of tiles for every logical device in the session. | /* This vector contains a list of tiles for every logical device in the session. | ||||
| * In each list, the tiles are sorted according to the tile order setting. */ | * In each list, the tiles are sorted according to the tile order setting. */ | ||||
| vector<list<Tile> > tiles; | vector<list<Tile> > tiles; | ||||
| } state; | } state; | ||||
| int num_samples; | int num_samples; | ||||
| TileManager(bool progressive, int num_samples, int2 tile_size, int start_resolution, | TileManager(bool progressive, int num_samples, int2 tile_size, int start_resolution, | ||||
| Show All 11 Lines | public: | ||||
| /* ** Sample range rendering. ** */ | /* ** Sample range rendering. ** */ | ||||
| /* Start sample in the range. */ | /* Start sample in the range. */ | ||||
| int range_start_sample; | int range_start_sample; | ||||
| /* Number to samples in the rendering range. */ | /* Number to samples in the rendering range. */ | ||||
| int range_num_samples; | int range_num_samples; | ||||
| /* get number of actual samples to render. */ | /* Get number of actual samples to render. */ | ||||
| int get_num_effective_samples(); | int get_num_effective_samples(); | ||||
| protected: | protected: | ||||
sergey: What is a pixel sample?
Also, capital. And capital above... | |||||
| void set_tiles(); | void set_tiles(); | ||||
| bool progressive; | bool progressive; | ||||
| int2 tile_size; | int2 tile_size; | ||||
| TileOrder tile_order; | TileOrder tile_order; | ||||
| int start_resolution; | int start_resolution; | ||||
| int num_devices; | int num_devices; | ||||
| Show All 27 Lines | |||||
What is a pixel sample?
Also, capital. And capital above...