Blender Git Loki

Git Commits -> Revision 0d7aab2

Revision 0d7aab2 by Harley Acheson (master)
August 21, 2021, 00:48 (GMT)
Refactor: BLF Kerning Cache After Use

Optimization of font kerning by only caching kerning values after a
pair is encountered. Also saves unscaled values so they don't have to
be rebuilt between font size changes.

See D12274 for more details and speed comparison.

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

Reviewed by Campbell Barton

Commit Details:

Full Hash: 0d7aab2375e6bb06e89dad851550b283a1ff805c
Parent Commit: b6a1bf7
Lines Changed: +62, -98

5 Modified Paths:

/source/blender/blenfont/intern/blf.c (+0, -1) (Diff)
/source/blender/blenfont/intern/blf_font.c (+58, -38) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+0, -50) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+0, -4) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+4, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021