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

Cache configuration parameters for each async call in LoadImage operator #1421

Merged
merged 2 commits into from
Jun 16, 2023

Conversation

glopesdev
Copy link
Member

To avoid inconsistent access to shared state, this PR now clones the image configuration prior to the asynchronous call to load and upload the buffer to the GL texture memory.

This will allow dynamic modifications to any properties of the LoadImage operator as long as they are done synchronously with notifications coming from the input source sequence.

Fixes #1417

@glopesdev glopesdev added the fix Pull request that fixes an issue label Jun 16, 2023
@glopesdev glopesdev added this to the 2.8 milestone Jun 16, 2023
@glopesdev glopesdev merged commit 19b4870 into bonsai-rx:main Jun 16, 2023
@glopesdev glopesdev deleted the issue-1417 branch June 16, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LoadImage operator does not cache parameters for async calls
1 participant