Blender Git Commit Log

Git Commits -> Revision 548eb9e

Revision 548eb9e by Lukas Stockner (master)
December 23, 2015, 12:14 (GMT)
Cycles: Sort tiles in rendering order at construction time

This commit modifies the TileManager to sort render tiles once after tiling the image,
instead of searching the next tile every time a new tile is acquired by a device.

This makes acquiring a tile run in constant time, therefore the render time is linear
w.r.t. the amount of tiles, instead of the quadratic dependency before.

Furthermore, each (logical) device now has its own Tile list, which makes acquiring
a tile for a specific device easier.
Also, some code in the TileManager was deduplicated.

Reviewers: dingto, sergey

Differential Revision: https://developer.blender.org/D1684

Commit Details:

Full Hash: 548eb9eb4bdd20946e89d50c7b8a079e9b8b143b
Parent Commit: 9e6a22c
Lines Changed: +86, -147

2 Modified Paths:

/intern/cycles/render/tile.cpp (+79, -132) (Diff)
/intern/cycles/render/tile.h (+7, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021