freetype2/src
Alexei Podtelezhnikov b6c11d494e [smooth] Reduce shift in multiply-shift optimization.
* src/smooth/ftgrays.c (FT_UDIVPREP, FT_UDIV): Reduce shift.

Smaller shifts that keep the division operands of FT_UDIVPREP within
32 bits result in slightly faster divisions, which is noticeable in
the overall performance.  The loss of precision is tolerable until the
divisors (the components dx and dy) approach 32 - PIXEL_BITS. With
PIXEL_BITS = 8, this corresponds to 65,000 pixels or the bitmap size
that we refuse to render anyway.

Using `ftbench -p -s60 -t5 -bc timesi.ttf`,

Before: 8.52 us/op
After:  8.32 us/op
2021-08-30 07:09:53 -04:00
..
autofit [autofit] Split `afwrtsys.h`. 2021-07-24 07:29:17 +02:00
base Whitespace formatting. 2021-08-22 22:32:07 -04:00
bdf * src/bdf/bdflib.c (_bdf_list_ensure): Tweak allocation macro. 2021-05-07 09:33:41 -04:00
bzip2 Fix some `cppcheck` warnings. 2021-07-24 20:32:16 +02:00
cache Fix compilation errors and (some) warnings for clang++. 2021-05-29 09:51:04 +02:00
cff [base] Fix ppem size overflow. 2021-08-18 07:27:02 +02:00
cid [base] Fix ppem size overflow. 2021-08-18 07:27:02 +02:00
dlg Update all copyright notices. 2021-01-17 07:18:48 +01:00
gxvalid Whitespace formatting. 2021-08-22 22:32:07 -04:00
gzip Fix some `cppcheck` warnings. 2021-07-24 20:32:16 +02:00
lzw [lzw] Preserve decompression stack when relocating to heap. 2021-04-27 11:39:58 -04:00
otvalid Whitespace formatting. 2021-08-22 22:32:07 -04:00
pcf [bdf,pcf] Avoid memory zeroing (contd.). 2021-05-02 18:30:22 -04:00
pfr Whitespace formatting. 2021-08-22 22:32:07 -04:00
psaux Fix some `cppcheck` warnings. 2021-07-24 20:32:16 +02:00
pshinter Whitespace formatting. 2021-08-22 22:32:07 -04:00
psnames * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
raster Fix some `cppcheck` warnings. 2021-07-24 20:32:16 +02:00
sdf * src/sdf/ftsdf.c (get_control_box): Fix compiler warning. 2021-08-18 08:52:21 +02:00
sfnt [sfnt] Fix format expectation for `COLR` v1 ClipList 2021-08-19 21:35:08 +00:00
smooth [smooth] Reduce shift in multiply-shift optimization. 2021-08-30 07:09:53 -04:00
tools Fix some `cppcheck` warnings. 2021-07-24 20:32:16 +02:00
truetype [truetype] Fix compilation if !TT_CONFIG_OPTION_BYTECODE_INTERPRETER. 2021-08-28 07:36:08 +02:00
type1 [base] Fix ppem size overflow. 2021-08-18 07:27:02 +02:00
type42 Add a comment. 2021-06-15 22:49:21 -04:00
winfonts * src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro. 2021-04-26 17:10:28 -04:00