Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/tile.h
| Show All 29 Lines | |||||
| * Tile. | * Tile. | ||||
| */ | */ | ||||
| class Tile { | class Tile { | ||||
| public: | public: | ||||
| int x = 0, y = 0; | int x = 0, y = 0; | ||||
| int width = 0, height = 0; | int width = 0, height = 0; | ||||
| int window_x = 0, window_y = 0; | |||||
| int window_width = 0, window_height = 0; | |||||
| Tile() | Tile() | ||||
| { | { | ||||
| } | } | ||||
| }; | }; | ||||
| /* -------------------------------------------------------------------- | /* -------------------------------------------------------------------- | ||||
| * Tile Manager. | * Tile Manager. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | protected: | ||||
| bool close_tile_output(); | bool close_tile_output(); | ||||
| /* Part of an on-disk tile file name which avoids conflicts between several Cycles instances or | /* Part of an on-disk tile file name which avoids conflicts between several Cycles instances or | ||||
| * several sessions. */ | * several sessions. */ | ||||
| string tile_file_unique_part_; | string tile_file_unique_part_; | ||||
| int2 tile_size_ = make_int2(0, 0); | int2 tile_size_ = make_int2(0, 0); | ||||
| /* Number of extra pixels around the actual tile to render. */ | |||||
| int overscan_ = 0; | |||||
| BufferParams buffer_params_; | BufferParams buffer_params_; | ||||
| /* Tile scheduling state. */ | /* Tile scheduling state. */ | ||||
| struct { | struct { | ||||
| int num_tiles_x = 0; | int num_tiles_x = 0; | ||||
| int num_tiles_y = 0; | int num_tiles_y = 0; | ||||
| int num_tiles = 0; | int num_tiles = 0; | ||||
| Show All 33 Lines | |||||