Skip to content
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

Improve support for high-frequency visualizers #1415

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

glopesdev
Copy link
Member

This PR introduces a new abstract visualizer class for automatically buffering value updates. This significantly reduces the number of updates to the UI thread coming from high-frequency visualizers, which also prevents crashing X11 services on the cross-platform Linux editor.

All values are still timestamped in the original notification thread before being buffered. The new backwards-compatible virtual call allows access to the original timestamps where needed.

@glopesdev glopesdev added the feature New planned feature label Jun 13, 2023
@glopesdev glopesdev added this to the 2.8 milestone Jun 13, 2023
@glopesdev glopesdev merged commit e886870 into bonsai-rx:main Jun 26, 2023
@glopesdev glopesdev deleted the buffered-visualizers branch June 26, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant