diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-05-09 06:49:37 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-05-09 06:49:37 -0400 |
commit | eb5b6261df49e8dea67e875f161a13eacc635863 (patch) | |
tree | c851810808027ca972b313bd619ec6ed731ab04e /autogen.sh | |
parent | c3876354e5c0812ae5929f7e68849c2e611b720c (diff) | |
download | freetype2-ftc_resize.tar.gz |
[cache] Revise the hash table accounting.ftc_resize
Instead of counting entries relative to the middle of the hash table,
this switches to the absolute counter with the full index range mask.
As a result, some calculations become a bit simpler.
* src/cache/ftccache.h (FTC_NODE_TOP_FOR_HASH): Revised.
* src/cache/ftccache.c (ftc_get_top_node_for_hash): Ditto.
(ftc_cache_resize, ftc_cache_init, FTC_Cache_Clear,
FTC_Cache_RemoveFaceID): Updated accordingly.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions