diff options
author | Richard Antalik <richardantalik@gmail.com> | 2019-09-14 03:22:42 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2019-09-14 03:24:42 +0300 |
commit | a960dc451930796ca310cc88f00fb701374b2f7f (patch) | |
tree | 3bd2b69426bc36605792718e5b44e2917ac49427 /source/blender/makesdna/DNA_sensor_types.h | |
parent | ab3a9dc1ed28d44bd71f5e255da74ef4d6f1fdbf (diff) |
BLF: make library glyph cache handling thread-safe
Functions that utilize glyph cache should lock and unlock cache by
calling `blf_glyph_cache_acquire()` and `blf_glyph_cache_release()`.
Function `blf_glyph_cache_acquire()` will create glyph cache, if it doesn't exist.
Locking mutex is global and shared by all fonts.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5701
Diffstat (limited to 'source/blender/makesdna/DNA_sensor_types.h')
0 files changed, 0 insertions, 0 deletions