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

add wgpuSurfaceGetCapabilities & WGPUSwapChainDescriptorExtras #243

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

rajveermalviya
Copy link
Collaborator

  • replace wgpuSurfaceGetSupportedFormats and wgpuSurfaceGetSupportedPresentModes with wgpuSurfaceGetCapabilities.
  • removed wgpuFree since it's not needed anymore, and in future we shouldn't introduce any api that returns memory allocated by the library.
  • support for alphaMode & viewFormats in swapchain creation via WGPUSwapChainDescriptorExtras.

- replace `wgpuSurfaceGetSupportedFormats` and
`wgpuSurfaceGetSupportedPresentModes` with `wgpuSurfaceGetCapabilities`.
- removed `wgpuFree` since it's not needed anymore, and in future we
shouldn't introduce any api that returns memory allocated by the library
- support for `alphaMode` & `viewFormats` in swapchain creation
via `WGPUSwapChainDescriptorExtras`.
@rajveermalviya rajveermalviya merged commit 0c29d17 into gfx-rs:master Feb 13, 2023
@rajveermalviya rajveermalviya deleted the refactor branch March 6, 2023 18:48
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.

2 participants