Blender Git Commit Log

Git Commits -> Revision d9344a7

Revision d9344a7 by Sergey Sharybin (cycles-x)
April 14, 2021, 07:51 (GMT)
Cycles: Rework passess data access

The idea is to move pass access away from RenderBuffers to a place
where list of passes is known. Most obvious choice is the Session.
A bit of trickery comes from the fact that in theory PathTrace might
have multiple RenderBuffers (in the case of multi-device render).
So the pass access happens via session into the PathTrace.

There is a helper class which pre-calculates various offsets which
can be re-used by updates form multiple devices.

Commit Details:

Full Hash: d9344a7a2687455fb1b63202b96abfff51726a81
Parent Commit: b30225b
Lines Changed: +588, -525

2 Added Paths:

/intern/cycles/render/pass_accessor.cpp (+411, -0) (View)
/intern/cycles/render/pass_accessor.h (+63, -0) (View)

11 Modified Paths:

/intern/cycles/blender/blender_session.cpp (+36, -78) (Diff)
/intern/cycles/blender/blender_session.h (+5, -10) (Diff)
/intern/cycles/integrator/path_trace.cpp (+12, -3) (Diff)
/intern/cycles/integrator/path_trace.h (+9, -2) (Diff)
/intern/cycles/render/buffers.cpp (+0, -371) (Diff)
/intern/cycles/render/buffers.h (+0, -12) (Diff)
/intern/cycles/render/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/render/session.cpp (+19, -33) (Diff)
/intern/cycles/render/session.h (+4, -2) (Diff)
/intern/cycles/render/tile.cpp (+18, -1) (Diff)
/intern/cycles/render/tile.h (+9, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021