Blender Git Commit Log
Git Commits -> Revision acf07e7
Revision acf07e7 by Campbell Barton (master) April 25, 2017, 14:35 (GMT) |
Draw Manager: store context vars per draw Was performing context access per object for scene, region etc. While not very slow they don't change during drawing so cache in a struct. This also makes it possible to draw in views besides the current context. |
Commit Details:
Full Hash: acf07e73666a4a3edaeeb36489902b9373a9779d
Parent Commit: 75a759e
Lines Changed: +95, -67
9 Modified Paths:
/source/blender/draw/engines/eevee/eevee_probes.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+34, -22) (Diff)
/source/blender/draw/intern/draw_view.c (+17, -17) (Diff)
/source/blender/draw/intern/DRW_render.h (+17, -1) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+3, -3) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+2, -2) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+8, -8) (Diff)
/source/blender/draw/modes/edit_text_mode.c (+2, -2) (Diff)
/source/blender/draw/modes/object_mode.c (+10, -10) (Diff)
/source/blender/draw/intern/draw_manager.c (+34, -22) (Diff)
/source/blender/draw/intern/draw_view.c (+17, -17) (Diff)
/source/blender/draw/intern/DRW_render.h (+17, -1) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+3, -3) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+2, -2) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+8, -8) (Diff)
/source/blender/draw/modes/edit_text_mode.c (+2, -2) (Diff)
/source/blender/draw/modes/object_mode.c (+10, -10) (Diff)