aboutsummaryrefslogtreecommitdiff
path: root/font/src/ft/fc/pattern.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-10-06 08:57:59 -0700
committerJoe Wilm <jwilm@users.noreply.github.com>2017-10-08 22:20:58 -0700
commit46d88ad244eaad84f0da2ef2177730d1293ee157 (patch)
treeeac40c968fc32faa9b9014fc6f0389ed02d865d1 /font/src/ft/fc/pattern.rs
parentcbe484a56b185fd79b8dfa7e3ddb3a34edbadd49 (diff)
downloadalacritty-46d88ad244eaad84f0da2ef2177730d1293ee157.tar.gz
alacritty-46d88ad244eaad84f0da2ef2177730d1293ee157.zip
Improve glyph rasterization performance
The hash map of key -> face was previouly cloned every time a glyph was rasterized. This refactored the rasterization path to be more borrowck friendly. Sadly, this implementation is not *that* clean, but once NLLs land, much of this can be cleaned up.
Diffstat (limited to 'font/src/ft/fc/pattern.rs')
0 files changed, 0 insertions, 0 deletions