From 470305ae1c7b038fa0ad58223a2d48f60158a7bf Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 10 Jan 2023 23:33:45 -0800 Subject: 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. --- src/til_args.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/til_args.h') 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); -- cgit v1.2.1