What can be kept, and what runs on each draw

A map of render_draw_main (lines 6501 to 8167 at the time) puts its steps in three classes. KEPT steps depend only on the kept groups, the pools and stamps. EACH steps must run for each draw. MIXED steps have parts of both.

Most KEPT work is already kept by memos: g_draw (draw_find, draw_keep), g_targets (read_targets), g_fs_last (fs_key) and the texture memos (g_tex_recent, g_tex_memo). Each memo checks its own stamps on each draw. So a fast path does not skip whole phases. It replaces several memo checks with one check.


Made from docs/dev/draw-fast-path.md at 69237645142c. GPL-3.0-or-later.