Blender Git Loki

Git Commits -> Revision e54b95d

Revision e54b95d by Campbell Barton (master)
December 30, 2012, 15:40 (GMT)
optimization for text drawing:
- dont set the color for each character, check if it changes from the previous one.
- dont memcpy text into a null terminated string to draw, instead rely on the length argument to BLF_draw().

Commit Details:

Full Hash: e54b95d1c935f7a21c9cdffc0c06d883e5eecb67
SVN Revision: 53429
Parent Commit: 3de85a8
Lines Changed: +15, -17

1 Modified Path:

/source/blender/editors/space_text/text_draw.c (+15, -17) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021