diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-07-10 14:36:29 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-07-10 15:15:05 -0700 |
commit | 9f82732e1ece48772d0b1a532a69ff739c9dde16 (patch) | |
tree | 7dd5ef8069c94a7ec91d22453dcbf7174828860a /src/modules/sparkler/particles.h | |
parent | 9d64c336f82a14f19a344825df2ff713aa4e9f08 (diff) |
til: introduce "noop" builtin
When profiling compositions it's convenient to suppress some
modules in the settings to see how their omission affects the
FPS.
There's already a "blank" builtin which clears the fragment, but
there's no way to turn the cost to ~zero. This "noop" builtin
does just that, absolutely nothing - it won't even trigger the
implicit "til_fb_fragment_t.cleared = 1" update so whatever
rendering follows will still find an uncleared fragment if that's
what came into the noop.
Diffstat (limited to 'src/modules/sparkler/particles.h')
0 files changed, 0 insertions, 0 deletions