Skip to content

Remove TextureInner::Surface::has_work.#5200

Merged
nical merged 3 commits intogfx-rs:trunkfrom
waywardmonkeys:remove-has-work-check
Feb 9, 2024
Merged

Remove TextureInner::Surface::has_work.#5200
nical merged 3 commits intogfx-rs:trunkfrom
waywardmonkeys:remove-has-work-check

Conversation

@waywardmonkeys
Copy link
Copy Markdown
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.

@waywardmonkeys waywardmonkeys requested a review from a team as a code owner February 5, 2024 15:32
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
@waywardmonkeys waywardmonkeys deleted the remove-has-work-check branch February 9, 2024 12:43
@waywardmonkeys
Copy link
Copy Markdown
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