summaryrefslogtreecommitdiff
path: root/src/til_args.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-01-10 23:33:45 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-01-11 22:31:31 -0800
commit470305ae1c7b038fa0ad58223a2d48f60158a7bf (patch)
treea863ca2b2cf1116109e4e3360bc34288caa9851e /src/til_args.h
parentd94affec0e772e529479b0a4624464690919fed4 (diff)
main,til_args: employ the stream, add --print-pipes
This is a rudimentary integration of the new til_stream_t into rototiller. If the stream is going to continue living in til_fb_fragment_t, the fragmenters and other nested frame scenarios likely need to be updated to copy the stream through to make the pipes available to the nested renders. --print-pipes dumps the values found at the pipes' driver taps to stdout on every frame. Right now there's no way to externally write these values, but with --print-pipes you can already see where things are going and it's a nice visibility tool for tapped variables in modules. Only stars and plato tap variables presently, but that will improve.
Diffstat (limited to 'src/til_args.h')
-rw-r--r--src/til_args.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/til_args.h b/src/til_args.h
index d45b619..85d4d7b 100644
--- a/src/til_args.h
+++ b/src/til_args.h
@@ -11,6 +11,7 @@ typedef struct til_args_t {
unsigned use_defaults:1;
unsigned help:1;
unsigned gogogo:1;
+ unsigned print_pipes:1;
} til_args_t;
int til_args_parse(int argc, const char *argv[], til_args_t *res_args);
© All Rights Reserved