Blender Git Loki
Git Commits -> Revision ae22642
Revision ae22642 by Clément Foucault (viewport-compositor) September 15, 2021, 11:51 (GMT) |
Viewport Compositor: Initial commit This introduce a new compositor engine. It applies the compositor nodetree onto the render result in the viewport using GLSL shader. For now it only very few nodes are supported and only the combined pass is passed to the evaluation pass. This reuse almost the same pipeline as `GPUMaterial`. |
Commit Details:
Full Hash: ae226426907de47ca616d150d723326e57386432
Parent Commit: edfeca7
Lines Changed: +510, -27
5 Added Paths:
/source/blender/draw/engines/compositor/shaders/compositor_frag.glsl (+15, -0) (View)
/source/blender/draw/engines/compositor/shaders/compositor_nodetree_eval_lib.glsl (+20, -0) (View)
/source/blender/gpu/shaders/composite/gpu_shader_composite_composite.glsl (+5, -0) (View)
/source/blender/gpu/shaders/composite/gpu_shader_composite_image.glsl (+16, -0) (View)
/source/blender/gpu/shaders/composite/gpu_shader_composite_invert.glsl (+12, -0) (View)
/source/blender/draw/engines/compositor/shaders/compositor_nodetree_eval_lib.glsl (+20, -0) (View)
/source/blender/gpu/shaders/composite/gpu_shader_composite_composite.glsl (+5, -0) (View)
/source/blender/gpu/shaders/composite/gpu_shader_composite_image.glsl (+16, -0) (View)
/source/blender/gpu/shaders/composite/gpu_shader_composite_invert.glsl (+12, -0) (View)
20 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+10, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+3, -0) (Diff)
/source/blender/draw/engines/compositor/compositor_engine.cc (+39, -17) (Diff)
/source/blender/draw/engines/compositor/compositor_shader.cc (+73, -0) (Diff)
/source/blender/draw/engines/compositor/compositor_shader.hh (+15, -1) (Diff)
/source/blender/draw/intern/draw_manager_shader.c (+40, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+5, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+4, -0) (Diff)
/source/blender/gpu/GPU_material.h (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+6, -1) (Diff)
/source/blender/gpu/intern/gpu_material_library.c (+23, -2) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+20, -6) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_composite.c (+15, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+42, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_invert.c (+14, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_viewer.c (+15, -0) (Diff)
/source/blender/nodes/composite/node_composite_tree.c (+108, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+10, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+3, -0) (Diff)
/source/blender/draw/engines/compositor/compositor_engine.cc (+39, -17) (Diff)
/source/blender/draw/engines/compositor/compositor_shader.cc (+73, -0) (Diff)
/source/blender/draw/engines/compositor/compositor_shader.hh (+15, -1) (Diff)
/source/blender/draw/intern/draw_manager_shader.c (+40, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+5, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+4, -0) (Diff)
/source/blender/gpu/GPU_material.h (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+6, -1) (Diff)
/source/blender/gpu/intern/gpu_material_library.c (+23, -2) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+20, -6) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_composite.c (+15, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+42, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_invert.c (+14, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_viewer.c (+15, -0) (Diff)
/source/blender/nodes/composite/node_composite_tree.c (+108, -0) (Diff)