Skip to content

Add release docs, fix ExternalTime mode, add external time example#85

Merged
keithlostracco merged 4 commits into
mainfrom
phase-3-4/release-infra-external-time
May 27, 2026
Merged

Add release docs, fix ExternalTime mode, add external time example#85
keithlostracco merged 4 commits into
mainfrom
phase-3-4/release-infra-external-time

Conversation

@keithlostracco
Copy link
Copy Markdown
Contributor

@keithlostracco keithlostracco commented May 27, 2026

Summary

  • RELEASING.md: Release checklist documenting the .dev0 version workflow, PyPI trusted publishing setup, and manual workflow triggers
  • ExternalTime fixes in source/comp.cpp:
    • Use TEInstanceSetFloatFrameRate and sync time_.scale as rate * 100
    • Use TEUINone (not TEUIWindows) when configuring with TETimeExternal
    • Auto-advance time in no-arg startNextFrame() for external time mode
    • Pass the computed discontinuity flag to TEInstanceStartFrameAtTime
    • Call applyValueChanges() in frameDidFinish() for non-async (manual polling) mode — fixes silent crash when reading output textures
  • README.md: Updated dev setup with correct uv sync workflow and rebuild instructions
  • New example examples/basics/10_external_time.py: Demonstrates host-driven time with two modes — offline (every frame) and realtime (wall-clock elapsed)
  • cleanup unused scripts, code

Test plan

  • 06_tops.py still works (internal time unaffected)
  • 10_external_time.py runs in both REALTIME = False and REALTIME = True modes
  • Clean shutdown with clear_on_layout_change_callback() before stop()/unload()
  • uv sync --extra examples builds and installs correctly

…tructure

- Updated .gitignore to exclude backup files and logs.
- Deleted unused launch configuration file (launch.vs.json).
- Removed obsolete argument parsing script (parse_args.bat).
- Deleted component mask header and associated test files (componentmask.h, componentmask_gtest.cpp).
- Removed texture copy implementation files (copyTeVkTextureToTeVkTexture.cpp, copykernels.cu, copykernels.cuh).
- Deleted main touchpy implementation file (touchpy.cpp).
- Removed vcpkg configuration file (vcpkg.json).
@keithlostracco keithlostracco merged commit 237a0ed into main May 27, 2026
1 check passed
@keithlostracco keithlostracco deleted the phase-3-4/release-infra-external-time branch May 27, 2026 21:41
@keithlostracco keithlostracco restored the phase-3-4/release-infra-external-time branch May 27, 2026 21:41
@keithlostracco keithlostracco deleted the phase-3-4/release-infra-external-time branch May 27, 2026 21:41
keithlostracco added a commit that referenced this pull request May 27, 2026
* Add release docs, fix ExternalTime mode, add external time example

* remove promote basics examples to examples directory

* Update Python version requirements and remove obsolete release process documentation

* Refactor: Update .gitignore, remove unused files, and clean up code structure

- Updated .gitignore to exclude backup files and logs.
- Deleted unused launch configuration file (launch.vs.json).
- Removed obsolete argument parsing script (parse_args.bat).
- Deleted component mask header and associated test files (componentmask.h, componentmask_gtest.cpp).
- Removed texture copy implementation files (copyTeVkTextureToTeVkTexture.cpp, copykernels.cu, copykernels.cuh).
- Deleted main touchpy implementation file (touchpy.cpp).
- Removed vcpkg configuration file (vcpkg.json).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant