Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-05-08 23:49:09 +0400
committerThomas Dinges <blender@dingto.org>2013-05-08 23:49:09 +0400
commit01dc4b034f75291c37d2ad78aa6d751e39de9f69 (patch)
tree5b8c3898cb55ba2eb8563e2cecdaeb2494d43475 /intern/cycles/render/tile.h
parent360a86d6586fa450d883edbe2278349e36448c4d (diff)
Cycles / Tile Rendering:
* Code refactor of tile ordering to simplify the code and avoid some branching. * Changed the Center method, so it really follows center -> corners, instead of the BI method, which was confusing sometimes.
Diffstat (limited to 'intern/cycles/render/tile.h')
-rw-r--r--intern/cycles/render/tile.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/intern/cycles/render/tile.h b/intern/cycles/render/tile.h
index 0e9e5a73a42..6e628255da5 100644
--- a/intern/cycles/render/tile.h
+++ b/intern/cycles/render/tile.h
@@ -114,15 +114,10 @@ protected:
/* slices image into as much pieces as how many devices are rendering this image */
void gen_tiles_sliced();
- /* returns closest tile to center of rendered tiles
- * mimics behavior of blender internal's tile order
- */
- list<Tile>::iterator next_center_tile(int device);
-
- /* returns simple tile order */
- list<Tile>::iterator next_simple_tile(int device, int tile_order);
+ /* returns tiles for background render */
+ list<Tile>::iterator next_background_tile(int device, int tile_order);
- /* returns first unhandled tile (for viewport) */
+ /* returns first unhandled tile for viewport render */
list<Tile>::iterator next_viewport_tile(int device);
};