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

fix wait for vsync command #272

Merged
merged 1 commit into from
Jan 16, 2025
Merged

fix wait for vsync command #272

merged 1 commit into from
Jan 16, 2025

Conversation

stevesims
Copy link
Contributor

ensures that canvas->noOp() is called before canvas->waitCompletion(true) when the “wait for vsync” command is processed. when the drawing queue is empty waitCompletion always returns immediately, so this ensures that a no-op is present in the queue waiting to be processed.

fixes #271

ensures that `canvas->noOp()` is called before `canvas->waitCompletion(true)` when the “wait for vsync” command is processed.  when the drawing queue is empty `waitCompletion` always returns immediately, so this ensures that a no-op is present in the queue waiting to be processed.
@stevesims stevesims merged commit cfb3ae4 into main Jan 16, 2025
6 checks passed
@stevesims stevesims deleted the fix/wait-vsync branch January 16, 2025 11:33
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.

Wait for VSYNC VDU 23,0,&C3 won't wait when drawing queue is empty
1 participant