Blender Git Loki
Git Commits -> Revision 7edd8a7
Revision 7edd8a7 by Clément Foucault (master) August 21, 2020, 12:16 (GMT) |
GPUUniformBuf: Rename struct and change API a bit This follows the GPU module naming of other buffers. We pass name to distinguish each GPUUniformBuf in debug mode. Also remove DRW_uniform_buffer interface. |
Commit Details:
Full Hash: 7edd8a7738481b3d4f0720a173dca2a1853996d6
Parent Commit: 4f0a749
Lines Changed: +528, -538
2 Added Paths:
/source/blender/gpu/GPU_uniform_buffer.h (+51, -0) (View)
/source/blender/gpu/intern/gpu_uniform_buffer.cc (+282, -0) (View)
/source/blender/gpu/intern/gpu_uniform_buffer.cc (+282, -0) (View)
2 Deleted Paths:
/source/blender/gpu/GPU_uniformbuffer.h (+0, -53)
/source/blender/gpu/intern/gpu_uniformbuffer.cc (+0, -276)
/source/blender/gpu/intern/gpu_uniformbuffer.cc (+0, -276)
39 Modified Paths:
/source/blender/draw/engines/eevee/eevee_data.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+6, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+8, -8) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+29, -28) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+15, -15) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_shadows.c (+5, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.c (+1, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_data.c (+4, -4) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+6, -6) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+3, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+9, -9) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_cavity.c (+2, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_dof.c (+3, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+1, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+6, -6) (Diff)
/source/blender/draw/intern/draw_common.c (+3, -2) (Diff)
/source/blender/draw/intern/draw_common.h (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.h (+3, -3) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+15, -33) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+13, -13) (Diff)
/source/blender/draw/intern/DRW_render.h (+5, -8) (Diff)
/source/blender/gpu/CMakeLists.txt (+2, -2) (Diff)
/source/blender/gpu/GPU_material.h (+10, -10) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -1) (Diff)
/source/blender/gpu/GPU_viewport.h (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_material.c (+21, -16) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+4, -4) (Diff)
/source/blender/gpu/intern/gpu_shader.cc (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_shader_builtin.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+3, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_rgb.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_value.cc (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_util.h (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+6, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+8, -8) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+29, -28) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+15, -15) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_shadows.c (+5, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.c (+1, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_data.c (+4, -4) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+6, -6) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+3, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+9, -9) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_cavity.c (+2, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_dof.c (+3, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+1, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+6, -6) (Diff)
/source/blender/draw/intern/draw_common.c (+3, -2) (Diff)
/source/blender/draw/intern/draw_common.h (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.h (+3, -3) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+15, -33) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+13, -13) (Diff)
/source/blender/draw/intern/DRW_render.h (+5, -8) (Diff)
/source/blender/gpu/CMakeLists.txt (+2, -2) (Diff)
/source/blender/gpu/GPU_material.h (+10, -10) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -1) (Diff)
/source/blender/gpu/GPU_viewport.h (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_material.c (+21, -16) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+4, -4) (Diff)
/source/blender/gpu/intern/gpu_shader.cc (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_shader_builtin.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+3, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_rgb.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_value.cc (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_util.h (+1, -1) (Diff)