Blender Git Loki
Git Commits -> Revision 1596edd
Revision 1596edd by Dalai Felinto (temp-render-depsgraph) February 23, 2018, 22:30 (GMT) |
From review: Move depsgraph away from render layer and change render loop Create depsgraph as part of the render loop and pass a render layer for the render_to_image. Optionally we could create a single layered render_result but why would we? Depsgraph is created from scratch prior to rendering each frame. So I got rid of most of the partial update calls we had during the render pipeline. Also, it's past the time to remove Blender Internal. Note 1: Cycles doesn't build. Note 2: Cycles seems to rely on an "empty" render function, where all the required settings are passed to the update function instead. I would like to have this cleared out because draw manager is assuming everything is passed to render_to_image, but we need to have an API that makes sense to all cases. |
Commit Details:
Full Hash: 1596edd23b22c513186dec30eccbd625dcedab70
Parent Commit: 7bf6368
Lines Changed: +66, -236
9 Modified Paths:
/source/blender/draw/intern/draw_manager.c (+9, -43) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+5, -5) (Diff)
/source/blender/render/extern/include/RE_engine.h (+1, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+0, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+6, -12) (Diff)
/source/blender/render/intern/source/external_engine.c (+33, -22) (Diff)
/source/blender/render/intern/source/pipeline.c (+10, -129) (Diff)
/source/blender/render/intern/source/render_result.c (+1, -22) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+5, -5) (Diff)
/source/blender/render/extern/include/RE_engine.h (+1, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+0, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+6, -12) (Diff)
/source/blender/render/intern/source/external_engine.c (+33, -22) (Diff)
/source/blender/render/intern/source/pipeline.c (+10, -129) (Diff)
/source/blender/render/intern/source/render_result.c (+1, -22) (Diff)