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:
authorLukas Stockner <lukas.stockner@freenet.de>2015-12-22 14:51:27 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2015-12-23 15:14:36 +0300
commit548eb9eb4bdd20946e89d50c7b8a079e9b8b143b (patch)
tree534d536b25ea80cfb5c76221d4f447be71566228 /source/blender/blenlib/intern/buffer.c
parent9e6a22c7e07e21c7ad3dedc9f09f9ac2933566c9 (diff)
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
Diffstat (limited to 'source/blender/blenlib/intern/buffer.c')
0 files changed, 0 insertions, 0 deletions