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

Martin/fix background clear #75

Merged
merged 12 commits into from
Jun 18, 2024
Merged

Conversation

martinfouilleul
Copy link
Collaborator

Fixes several issues with wgpu transparent surfaces:

  • patch dawn to allow transparent surfaces on windows
  • retain framebuffer for the whole frame in the surface, not the renderer
  • only blit to framebuffer if there's actually some batches to draw
  • allow not clearing between submits

- Change webgpu renderer to use surface config API
- Update win32 wgpu surface to new config API. TODO: same on macOS
- Send overlay to back when it's not active
- only blit to framebuffer if we have some batches
- allow not clearing between submit
- combine clear and final blit
- fix crash on close trying to release wrong timestamp buffer
@martinfouilleul martinfouilleul merged commit 94ddb75 into main Jun 18, 2024
9 checks passed
@martinfouilleul martinfouilleul deleted the martin/fix-background-clear branch June 18, 2024 17:16
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.

1 participant