-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tracy.LuaTracyPlot
and tracy.LuaTracyPlotConfig
#1651
base: master
Are you sure you want to change the base?
Conversation
* @string[opt="Number"] plotFormatType "Number"|"Percentage"|"Memory" | ||
* @bool[opt=true] stepwise stepwise chart | ||
* @bool[opt=false] fill whether to fill color | ||
* @number[opt=white] color unit32 number as BGR color |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In theory "white" is not a valid Lua value, but then 0xFFFFFF isn't either, and all the real ways to actually produce that value from lua are imo too verbose to put here and don't even convey the format well.
Wipe(18 + 7); | ||
else if (!strncmp(script + 18, "(", 1)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 18, 7 and 1 are magic but it should be obvious from context what they are, and named constants would be pretty unwieldy.
So we close #1215 and merge this one? |
Yes, but also @Beherith has never said anything about 1651 while he was the one to request the feature and is the author of 1215. |
its stunning, thank you! |
#1215 but in the
tracy.
namespace, 100% free when not using tracy builds, and no code fromrts/lib/tracy/*
was touched so there won't be any issues with updating the lib in the future.