summaryrefslogtreecommitdiffstats
path: root/src/render/jobs/lightgatherer_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash in LightSource sortingPaul Lemire2016-07-081-1/+1
| | | | | | | | | | | | When building the RenderCommands, for each one, the active light source vector needs to be sorted to find the 8 nearest lights. Since n RenderCommands may be built at the same time, we should only sort on a copy of the RenderView global active light source vector as: 1) we don't want to modify the global one 2) that would result in a race and eventually a crash. Change-Id: I5ac66b5f6af67876f4e374def53bf2bc5d0ba4b9 Task-number: QTBUG-54634 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add a LightGatherer jobPaul Lemire2016-07-031-0/+88
Change-Id: Ia247ca4883e87b5ef3e9e9f347b28a5570ca62ce Reviewed-by: Sean Harmer <sean.harmer@kdab.com>