Blender Git Commit Log
Git Commits -> Revision 7d25c74
Revision 7d25c74 by Clément Foucault (draw-colormanagement) January 22, 2020, 23:16 (GMT) |
DRW: Remove DrawEngineType draw_background function This moves all background duties to the overlay engine which does alpha under drawing (sort of). This means keeping transparency info through the whole pipeline. For now I just updated workbench which surely still need some cleanups. Only Solid background is reimplemented. |
Commit Details:
Full Hash: 7d25c74615225ffa4875332059351090e178fb51
Parent Commit: a6bfab5
Lines Changed: +120, -117
2 Added Paths:
/source/blender/draw/engines/overlay/overlay_background.c (+49, -0) (View)
/source/blender/draw/engines/overlay/shaders/background_frag.glsl (+16, -0) (View)
/source/blender/draw/engines/overlay/shaders/background_frag.glsl (+16, -0) (View)
20 Modified Paths:
/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/basic/basic_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+2, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_temporal_sampling.c (+2, -2) (Diff)
/source/blender/draw/engines/external/external_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+2, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+5, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+15, -0) (Diff)
/source/blender/draw/engines/select/select_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_deferred_background_frag.glsl (+3, -3) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_composite_frag.glsl (+3, -13) (Diff)
/source/blender/draw/engines/workbench/solid_mode.c (+2, -4) (Diff)
/source/blender/draw/engines/workbench/transparent_mode.c (+2, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+15, -27) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+1, -12) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+0, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_render.c (+0, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -39) (Diff)
/source/blender/draw/intern/DRW_render.h (+0, -1) (Diff)
/source/blender/draw/engines/basic/basic_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+2, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_temporal_sampling.c (+2, -2) (Diff)
/source/blender/draw/engines/external/external_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+2, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+5, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+15, -0) (Diff)
/source/blender/draw/engines/select/select_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_deferred_background_frag.glsl (+3, -3) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_composite_frag.glsl (+3, -13) (Diff)
/source/blender/draw/engines/workbench/solid_mode.c (+2, -4) (Diff)
/source/blender/draw/engines/workbench/transparent_mode.c (+2, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+15, -27) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+1, -12) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+0, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_render.c (+0, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -39) (Diff)
/source/blender/draw/intern/DRW_render.h (+0, -1) (Diff)