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

Convert Tests to Use Async Poll #5053

Merged
merged 2 commits into from
Jan 13, 2024
Merged

Conversation

cwfitzgerald
Copy link
Member

Part of splitting up #5012 into reviewable parts.

In 5012, poll(Wait) no longer works on WebGL. As such, we need to switch to an async method of polling the device. This PR stubs out the async poll and polling functions needed, while not actually changing the behavior at all.

This is a fairly major part of 5012, and made the diff hard to read due to how sweeping the changes are. None of this, besides the stubbing, should be controversial.

@cwfitzgerald cwfitzgerald requested a review from a team as a code owner January 12, 2024 19:05
@cwfitzgerald cwfitzgerald force-pushed the async-tests branch 3 times, most recently from 2f31def to 8253e08 Compare January 12, 2024 19:21
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for splitting all of this out. lgtm!

examples/src/repeated_compute/mod.rs Outdated Show resolved Hide resolved
Co-authored-by: Andreas Reich <r_andreas2@web.de>
@cwfitzgerald cwfitzgerald enabled auto-merge (squash) January 13, 2024 17:15
@cwfitzgerald cwfitzgerald merged commit ad625f4 into gfx-rs:trunk Jan 13, 2024
27 checks passed
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.

4 participants