Blender Git Commit Log
Git Commits -> Revision 7f40d55
Revision 7f40d55 by Campbell Barton (master) January 22, 2019, 01:09 (GMT) |
Cleanp: use single global for draw manager Add 'G_draw' for all draw manager globals, avoids adding extern to each file. Connection between `ts` and `globals_ubo` wasn't obvious, now called `G_draw.block` & `G_draw.block_ubo`. |
Commit Details:
Full Hash: 7f40d553f90358c5383100f4f5b5e2410dcd7369
Parent Commit: c7768bc
Lines Changed: +199, -243
21 Modified Paths:
/source/blender/draw/engines/eevee/eevee_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+1, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+1, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+0, -1) (Diff)
/source/blender/draw/intern/draw_anim_viz.c (+2, -4) (Diff)
/source/blender/draw/intern/draw_common.c (+100, -101) (Diff)
/source/blender/draw/intern/draw_common.h (+14, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+3, -6) (Diff)
/source/blender/draw/modes/edit_armature_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+4, -6) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+1, -7) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+11, -17) (Diff)
/source/blender/draw/modes/edit_metaball_mode.c (+0, -6) (Diff)
/source/blender/draw/modes/edit_text_mode.c (+2, -8) (Diff)
/source/blender/draw/modes/object_mode.c (+35, -38) (Diff)
/source/blender/draw/modes/overlay_mode.c (+12, -14) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+3, -9) (Diff)
/source/blender/draw/modes/paint_vertex_mode.c (+2, -5) (Diff)
/source/blender/draw/modes/paint_weight_mode.c (+4, -9) (Diff)
/source/blender/draw/modes/particle_mode.c (+3, -5) (Diff)
/source/blender/draw/modes/pose_mode.c (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+1, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+1, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+0, -1) (Diff)
/source/blender/draw/intern/draw_anim_viz.c (+2, -4) (Diff)
/source/blender/draw/intern/draw_common.c (+100, -101) (Diff)
/source/blender/draw/intern/draw_common.h (+14, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+3, -6) (Diff)
/source/blender/draw/modes/edit_armature_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+4, -6) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+1, -7) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+11, -17) (Diff)
/source/blender/draw/modes/edit_metaball_mode.c (+0, -6) (Diff)
/source/blender/draw/modes/edit_text_mode.c (+2, -8) (Diff)
/source/blender/draw/modes/object_mode.c (+35, -38) (Diff)
/source/blender/draw/modes/overlay_mode.c (+12, -14) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+3, -9) (Diff)
/source/blender/draw/modes/paint_vertex_mode.c (+2, -5) (Diff)
/source/blender/draw/modes/paint_weight_mode.c (+4, -9) (Diff)
/source/blender/draw/modes/particle_mode.c (+3, -5) (Diff)
/source/blender/draw/modes/pose_mode.c (+0, -1) (Diff)