![]() |
Blender V2.61 - r43446
|
#include <tile.h>
Classes | |
| struct | State |
Public Member Functions | |
| TileManager (bool progressive, int samples, int tile_size, int min_size) | |
| ~TileManager () | |
| void | reset (BufferParams ¶ms, int samples) |
| void | set_samples (int samples) |
| bool | next () |
| bool | done () |
Public Attributes | |
| BufferParams | params |
| struct TileManager::State | state |
Protected Member Functions | |
| void | set_tiles () |
Protected Attributes | |
| bool | progressive |
| int | samples |
| int | tile_size |
| int | min_size |
| int | start_resolution |
| CCL_NAMESPACE_BEGIN TileManager::TileManager | ( | bool | progressive, |
| int | samples, | ||
| int | tile_size, | ||
| int | min_size | ||
| ) |
| bool TileManager::done | ( | ) |
Definition at line 101 of file tile.cpp.
References TileManager::State::resolution, TileManager::State::sample, samples, and state.
Referenced by next().
| bool TileManager::next | ( | ) |
Definition at line 106 of file tile.cpp.
References done(), progressive, TileManager::State::resolution, TileManager::State::sample, set_tiles(), and state.
Referenced by Session::run_cpu(), and Session::run_gpu().
| void TileManager::reset | ( | BufferParams & | params, |
| int | samples | ||
| ) |
Definition at line 39 of file tile.cpp.
References TileManager::State::buffer, BufferParams::height, max, min_size, params, TileManager::State::resolution, TileManager::State::sample, samples, start_resolution, state, TileManager::State::tiles, simple_enum_gen::w, and BufferParams::width.
Referenced by Session::reset_(), and TileManager().
| void TileManager::set_samples | ( | int | samples | ) |
| void TileManager::set_tiles | ( | ) | [protected] |
Definition at line 69 of file tile.cpp.
References TileManager::State::buffer, BufferParams::full_height, BufferParams::full_width, BufferParams::full_x, BufferParams::full_y, BufferParams::height, max, params, TileManager::State::resolution, state, tile_size, TileManager::State::tiles, simple_enum_gen::w, and BufferParams::width.
Referenced by next().
int TileManager::min_size [protected] |
Definition at line 66 of file tile.h.
Referenced by reset(), and TileManager().
Definition at line 43 of file tile.h.
Referenced by reset(), and set_tiles().
bool TileManager::progressive [protected] |
Definition at line 63 of file tile.h.
Referenced by next(), and TileManager().
int TileManager::samples [protected] |
Definition at line 64 of file tile.h.
Referenced by done(), reset(), and set_samples().
int TileManager::start_resolution [protected] |
int TileManager::tile_size [protected] |
Definition at line 65 of file tile.h.
Referenced by set_tiles(), and TileManager().