Blender Git Commit Log

Git Commits -> Revision 2fdca5b

Revision 2fdca5b by Jeroen Bakker (master)
June 22, 2020, 19:46 (GMT)
Refactoring: View2DScrollers memory allocation

View2DScrollers used the memory manager to allocate memory. This isn't a
problem but in a upcoming change the scrollers will be drawn more often
than it used to (See {D8066}). To limit the number of allocations and
frees this patch will use the stack for allocation.

Reviewed By: Campbell Barton

Differential Revision: https://developer.blender.org/D8076

Commit Details:

Full Hash: 2fdca5bd1981cddad16715598b4892a2c6099e2f
Parent Commit: 9335daa
Lines Changed: +60, -109

14 Modified Paths:

/source/blender/editors/include/UI_view2d.h (+4, -3) (Diff)
/source/blender/editors/interface/view2d.c (+34, -42) (Diff)
/source/blender/editors/interface/view2d_ops.c (+8, -9) (Diff)
/source/blender/editors/screen/area.c (+1, -3) (Diff)
/source/blender/editors/space_action/space_action.c (+1, -4) (Diff)
/source/blender/editors/space_clip/space_clip.c (+2, -8) (Diff)
/source/blender/editors/space_console/space_console.c (+1, -4) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -4) (Diff)
/source/blender/editors/space_graph/space_graph.c (+2, -8) (Diff)
/source/blender/editors/space_info/space_info.c (+1, -4) (Diff)
/source/blender/editors/space_nla/space_nla.c (+2, -8) (Diff)
/source/blender/editors/space_node/node_draw.c (+1, -4) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+1, -4) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021