Brief: Diff against master part 2 - add printf to clog, depends on changes in part 1: D8677: Add core functionalities from GSoC Info Editor Improvements
- reduce use of G_DEBUG guards
- reduce use of #ifdef guaraded printfs
- convert print functions to sprintfN style
- reduce commented printfs
- avoid making prints dependent on G.background
Highlights:
- log every 30-th render stat update (external_engine.c:504, related: eevee_render.c:545), render engine chooses when to call update: in eevee per sample, in cycles every second
- pros:
- avoid spamming multiple render stats,
- render stats can be actually enabled or disabled,
- we can implement json like log format (currently not implemented),
- avoid slowing down windows console (see eevee_render.c:545)
- cons: important messages like start, cancel can be missed in current implementation
- pros:
I described my thought process in this post