Blender Git Loki
Git Commits -> Revision 2ac637e
Revision 2ac637e by Clément Foucault (viewport-compositor) September 30, 2021, 10:05 (GMT) |
Viewport Compositor: Move `rv3d->render_engine` to `DRWRenderScene` This allows multiple instances of external render engines per viewport. Allowing them to be combined by the compositor. Many things needed to be ported to the draw manager since it is the only one that can know what is inside the `DRWRenderScene` and can iterate over all running engines. |
Commit Details:
Full Hash: 2ac637eef0bca10080c2a475b48a791fe1299570
Parent Commit: 84bba36
Lines Changed: +213, -139
15 Modified Paths:
/source/blender/blenkernel/intern/screen.c (+0, -1) (Diff)
/source/blender/draw/DRW_engine.h (+9, -1) (Diff)
/source/blender/draw/engines/external/external_engine.c (+10, -17) (Diff)
/source/blender/draw/intern/draw_manager.c (+147, -32) (Diff)
/source/blender/draw/intern/draw_manager.h (+2, -0) (Diff)
/source/blender/draw/intern/draw_view_data.cc (+11, -0) (Diff)
/source/blender/draw/intern/draw_view_data.h (+1, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+4, -2) (Diff)
/source/blender/editors/render/render_update.c (+13, -33) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+4, -9) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+3, -1) (Diff)
/source/blender/gpu/GPU_viewport.h (+0, -3) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+1, -14) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+8, -25) (Diff)
/source/blender/draw/DRW_engine.h (+9, -1) (Diff)
/source/blender/draw/engines/external/external_engine.c (+10, -17) (Diff)
/source/blender/draw/intern/draw_manager.c (+147, -32) (Diff)
/source/blender/draw/intern/draw_manager.h (+2, -0) (Diff)
/source/blender/draw/intern/draw_view_data.cc (+11, -0) (Diff)
/source/blender/draw/intern/draw_view_data.h (+1, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+4, -2) (Diff)
/source/blender/editors/render/render_update.c (+13, -33) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+4, -9) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+3, -1) (Diff)
/source/blender/gpu/GPU_viewport.h (+0, -3) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+1, -14) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+8, -25) (Diff)