Blender Git Commit Log

Git Commits -> Revision 3e3efae

Revision 3e3efae by Campbell Barton (master)
April 17, 2014, 06:04 (GMT)
Viewport Text Drawing: replace single allocs with a memarena

- pass label strlen since in many cases its already known.
- use single linked list for cached text drawing.
- add BLI_link_utils.h for single linked list macros.

own tests give approx 22% overall speedup.

Commit Details:

Full Hash: 3e3efae7e9420817a6fe35545d97568a69e2ce7c
Parent Commit: 1b9db99
Lines Changed: +267, -134

1 Added Path:

/source/blender/blenlib/BLI_link_utils.h (+46, -0) (View)

8 Modified Paths:

/source/blender/editors/include/UI_view2d.h (+2, -2) (Diff)
/source/blender/editors/interface/view2d.c (+54, -27) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+10, -8) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+47, -34) (Diff)
/source/blender/editors/space_view3d/drawanimviz.c (+11, -6) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+92, -54) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021