-
Notifications
You must be signed in to change notification settings - Fork 54
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
Unbind/rebind context #67
Comments
Didn't mean to commit the ImGuiTestEngine_UnbindImGuiContext() call, it was a test for #67
…e_UnbindImGuiContext() in imgui_te_internal.h (#67)
@beekayer: the reason I have temporarily exposed |
After using So in my reinitialization of the tests, I also set that flag to false and voila I can reload and rerun the tests as many times as I want without exiting the app. This is a particularly nice feature for my use case. You can have your app running and be working on your test engine script, as you make incremental improvements you just reload the script and see your test progress. This will let my folks rapidly develop/test/verify their test functions. Thanks again for exposing |
Thank you. I pushed this fix as 88ba3d6. For reference here's what mine contains: [TestEngine][Data]
FilterTests=your_filter
FilterPerfs=
LogHeight=150
CaptureTool=0
PerfTool=0
StackTool=0
CaptureEnabled=1
CaptureOnError=0
VideoCapturePathToEncoder=C:\Omar\Tools\ffmpeg.exe
VideoCaptureParamsToEncoder=-hide_banner -loglevel error -r $FPS -f rawvideo -pix_fmt rgba -s $WIDTHx$HEIGHT -i - -threads 0 -y -preset ultrafast -pix_fmt yuv420p -crf 20 $OUTPUT
GifCaptureParamsToEncoder=-hide_banner -loglevel error -r $FPS -f rawvideo -pix_fmt rgba -s $WIDTHx$HEIGHT -i - -threads 0 -y -filter_complex "split=2 [a] [b]; [a] palettegen [pal]; [b] [pal] paletteuse" $OUTPUT
VideoCaptureExtension=.mp4 |
There doesn't appear to be any difference between a run without reloading and run with reloading. (Side note, what's kind of cool is that wherever the mouse is when I reload, it moves to the staring position) If I just run the test without using my reload feature the .ini contains:
.ini Data after I run the test reloading it a few times and then letting it conclude.
|
@beekayer posted in #64
(please avoid posting unrelated questions in existing topics, thank you)
The text was updated successfully, but these errors were encountered: