Blender Git Commit Log

Git Commits -> Revision 16f253f

Revision 16f253f by Sergey Sharybin (cycles-x)
March 26, 2021, 13:04 (GMT)
Cycles: Move resolution divider to RenderScheduler

Had to move RenderScheduler away from PathTrace into Session.
This way it is simpler to perform scene update in a threading-safe
manner without making PathTrace API more complicated.

So now the flow goes as following:
- Session requests work from the RenderScheduler
- Session updates scene for the possibly changed resolution
- PathTrace renders the given work, which might involve path tracing,
denoising, and display update.
- PathTrace informs the scheduler how long specific task took, so that
the scheduler can adjust its scheduling policy.

The user level change is that the start resolution is now ignored.
It will be replaced with a more automated code based on the timing.

There is still some work to be done to support multiple big tiles.

Still not entirely happy, but think we need to let the matter to rest
a bit and re-iterate when we will be adding big tiles support.

Commit Details:

Full Hash: 16f253f075c7203483492c7d67df0aa34f9ce568
Parent Commit: 905fd0f
Lines Changed: +247, -212

6 Modified Paths:

/intern/cycles/integrator/path_trace.cpp (+53, -76) (Diff)
/intern/cycles/integrator/path_trace.h (+38, -53) (Diff)
/intern/cycles/integrator/render_scheduler.cpp (+53, -14) (Diff)
/intern/cycles/integrator/render_scheduler.h (+23, -15) (Diff)
/intern/cycles/render/session.cpp (+65, -46) (Diff)
/intern/cycles/render/session.h (+15, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021