thorvg/src
Hermet Park 35ddc5fe56 sw_engine/math: fine-tuning optimization
Try to minimize the use of sqrt() and arctan() calls
when possible. These calls can be relatively expensive
when accumulated within a single frame.

Also repalce the division with shift operation.
since split cubic function is one of the significant hot-spots
in the data processing, we could earn a noticable enhancement.

Tested on single thread local machine:

Lottie: 0.080 -> 0.052s (-0.028s)
Performance: 0.023 -> 0.022 (-0.001s)
Binary: +34
2023-10-27 12:17:30 +09:00
..
bindings doc/capi: updated 2023-09-26 19:06:57 +09:00
common sw_engine: fix a regression bug by 0dafe9ff64 2023-09-12 11:44:27 +09:00
examples infra: update the tvg binaries. 2023-09-26 17:42:17 +09:00
loaders lottie: Fixed trimpath to support simultaneous trimpath 2023-10-20 13:31:09 +09:00
renderer sw_engine/math: fine-tuning optimization 2023-10-27 12:17:30 +09:00
savers tvg: support radial gradient focal properties 2023-09-26 13:05:27 +09:00
tools infra: renames the source folders 2023-08-28 13:11:24 +09:00
meson.build infra: renames the source folders 2023-08-28 13:11:24 +09:00