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: Performance: Draw play head as an overlay). To limit the number of allocations and
frees this patch will use the stack for allocation.
Details
Details
- Reviewers
Campbell Barton (campbellbarton) - Group Reviewers
User Interface - Commits
- rB2fdca5bd1981: Refactoring: View2DScrollers memory allocation
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- cleanup-ui_view2d-scrollers (branched from master)
- Build Status
Buildable 8638 Build 8638: arc lint + arc unit