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

Remove TextureInner::Surface::has_work. #5200

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

waywardmonkeys
Copy link
Contributor

@waywardmonkeys waywardmonkeys commented Feb 5, 2024

When no work is submitted for a frame, presenting the surface results in a timeout due to no work having been submitted.

Fixes #3189.

This flag was added in #1892 with a note that it was going to be temporary until #1688 landed.

Testing
Tested by commenting out the rendering code of the cube example and running it with and without this patch.

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

When no work is submitted for a frame, presenting the surface results
in a timeout due to no work having been submitted.

Fixes gfx-rs#3189.

This flag was added in gfx-rs#1892 with a note that it was going to be
temporary until gfx-rs#1688 landed.
@nical nical enabled auto-merge (squash) February 9, 2024 11:20
@nical nical merged commit 665c075 into gfx-rs:trunk Feb 9, 2024
27 checks passed
@waywardmonkeys waywardmonkeys deleted the remove-has-work-check branch February 9, 2024 12:43
@waywardmonkeys
Copy link
Contributor Author

Thank you for the review and merge!

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.

"No work has been submitted for this frame" timeout
3 participants