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

Document Wayland specifics related to SurfaceTexture::present #5093

Merged
merged 2 commits into from
Jan 21, 2024

Conversation

i509VCB
Copy link
Contributor

@i509VCB i509VCB commented Jan 18, 2024

Connections
This is related to an issue wezterm had that was brought up on the wgpu matrix channel as a result of directly using wayland-client with wgpu. It wasn't very clear what SurfaceTexture::present did under the hood. Sure it's been like 6 months since that, but better late than never.

The documentation is largely based off the Vulkan and EGL specification's Wayland platforms.

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.

The documentation is largely based off the Vulkan and EGL specification's Wayland platforms.

Signed-off-by: i509VCB <[email protected]>
@i509VCB i509VCB requested a review from a team as a code owner January 18, 2024 19:49
@daxpedda daxpedda mentioned this pull request Jan 19, 2024
23 tasks
@cwfitzgerald cwfitzgerald enabled auto-merge (squash) January 21, 2024 22:53
@cwfitzgerald cwfitzgerald added the PR: needs back-porting PR with a fix that needs to land on crates label Jan 21, 2024
@cwfitzgerald cwfitzgerald merged commit 886dc94 into gfx-rs:trunk Jan 21, 2024
27 checks passed
cwfitzgerald added a commit to cwfitzgerald/wgpu that referenced this pull request Jan 21, 2024
@cwfitzgerald cwfitzgerald removed the PR: needs back-porting PR with a fix that needs to land on crates label Jan 21, 2024
@@ -39,6 +39,10 @@ Bottom level categories:

## Unreleased

### Documentation

- Document Wayland specific behavior related to `SurfaceTexture::present`. By @i509VCB in [#5092](https://github.com/gfx-rs/wgpu/pull/5092).
Copy link
Contributor

Choose a reason for hiding this comment

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

The PR link is wrong here, it should be 5093.

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.

3 participants