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

Add synchronization primitive to indicate to the app when buffer is complete #383

Open
russell-taylor opened this issue Jun 27, 2021 · 0 comments
Assignees
Labels

Comments

@russell-taylor
Copy link
Contributor

For cases where we don't finish copying or rendering and displaying the frame before returning to the caller, provide a sync primitive so that the caller can tell when it is safe to re-fill a buffer because it is no longer being used for rendering. One place to check is asynchronous time warp, where the image is maintained for awhile.

This could be a function that they can call rather than a primitive, enabling it to be generic. The function should probably take a parameter indicating which frame it is for.

@russell-taylor russell-taylor self-assigned this Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant