Blender Git Commit Log

Git Commits -> Revision 8c113eb

Revision 8c113eb by Lukas Stockner (master)
May 19, 2019, 20:37 (GMT)
Render: Use GHash for storing render parts

Previously, render parts were stored in a linked list and every tile update
searched the entire list for the correct part. As a result, the overhead
of searching tiles increased quadratically w.r.t. the number of tiles.

By hashing the parts based on their location, this operation is much faster,
significantly reducing the tile update overhead for small tiles and/or large
renders.

For example, rendering an empty scene in 1080p at 1spp and 8x8 tiles goes
down from 9.22sec to 1.45sec on my laptop.

Reviewers: brecht, sergey

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

Commit Details:

Full Hash: 8c113eb0c475d39283e409ac7b74c13988e7cc45
Parent Commit: 301806a
Lines Changed: +25, -20

4 Modified Paths:

/source/blender/render/intern/include/render_types.h (+2, -1) (Diff)
/source/blender/render/intern/source/external_engine.c (+10, -15) (Diff)
/source/blender/render/intern/source/initrender.c (+9, -2) (Diff)
/source/blender/render/intern/source/render_result.c (+4, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021