Alexei Podtelezhnikov 8f43d324d1 [smooth] Faster bitmap sweeping.
Selecting the fill rule or checking the direct mode each time we call
`gray_hline' is sub-optimal.  This effectively splits the direct mode
into a separate code path while inlining `gray_hline' and saving 5-7%
of rendering time.

* src/smooth/ftgrays.c (gray_hline): Eliminated in favor of...
(FT_FILL_RULE, FT_GRAY_SET): ... these new macros...
(gray_sweep): ... inlined here.
(gray_sweep_direct): New function that handles the direct span buffer.
(gray_TWorker): Remove the span buffer.
(gray_raster_render, gray_convert_glyph): Updated.
2021-05-12 00:04:59 -04:00
..
2021-04-22 23:34:08 -04:00
2021-01-17 07:18:48 +01:00
2021-04-26 17:14:28 -04:00
2021-01-17 07:18:48 +01:00
2021-01-17 07:18:48 +01:00
2021-05-12 00:04:59 -04:00
2021-05-07 19:17:48 -04:00