Blender Git Commit Log

Git Commits -> Revision f971304

Revision f971304 by Joshua Leung (master)
February 1, 2008, 10:23 (GMT)
Patch #8177: Timeline Performance Patch
Patch by: Adriano Macchietto (macchiea)

This patch optimises the way keyframes are drawn in the Timeline, so that it is more responsive when working with heaps of keyframes (i.e. motion-capture data).

Detailed Description of Patch (from author):
* No longer uses a list to store the keys before drawing. Uses
less memory.
* Culls the drawing of keyframes outside of the visible window.
Good for dealing with long mocap tracks.
* Performs a check to avoid redrawing a line over a line which
has already been drawn to the same pixels. This speeds up the
scenario when you have many keyframes and are zoomed out.
* Batches the draws into one glBegin/glEnd block.

This is all done on a per IpoCurve basis.

Commit Details:

Full Hash: f971304158c68638db225d17a603de71ec16a1c8
SVN Revision: 13510
Parent Commit: 2aa1857
Lines Changed: +68, -34

1 Modified Path:

/source/blender/src/drawtime.c (+68, -34) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021