The performance is similar to the renderer with IPO enabled, maybe a tiny bit slower.
Compilation times could be improved by removing the use of a global include file (includes.h), and only including what is needed, not more.
Some functions duplicate functionality. See add, muls, and lerp in color.c in the version of the renderer before this commit. I have removed the first two, but kept the last as it is used here and there. Its uses should probably be replaced by mixColors (or the other way around).
A couple of additional notes:
includes.h
), and only including what is needed, not more.add
,muls
, andlerp
incolor.c
in the version of the renderer before this commit. I have removed the first two, but kept the last as it is used here and there. Its uses should probably be replaced bymixColors
(or the other way around).