This repository was archived by the owner on Jun 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 180
Wholesome update for wgpu-0.3 #70
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,12 @@ version = "0.3.0" | |
authors = [ | ||
"Dzmitry Malyshau <[email protected]>", | ||
"Joshua Groves <[email protected]>", | ||
"Lucas Kent <[email protected]>", | ||
"kyren <[email protected]>", | ||
"Cormac O'Brien <[email protected]>", | ||
] | ||
edition = "2018" | ||
description = "Rusty wgpu API wrapper" | ||
description = "Rusty WebGPU API wrapper" | ||
homepage = "https://github.com/gfx-rs/wgpu-rs" | ||
repository = "https://github.com/gfx-rs/wgpu-rs" | ||
keywords = ["graphics"] | ||
|
@@ -20,12 +23,13 @@ metal = ["wgn/gfx-backend-metal"] | |
dx11 = ["wgn/gfx-backend-dx11"] | ||
dx12 = ["wgn/gfx-backend-dx12"] | ||
vulkan = ["wgn/gfx-backend-vulkan"] | ||
gl = ["wgn/gfx-backend-gl"] | ||
#TODO: there is no way to use glutin-0.20 with GL backend v0.3 yet | ||
#gl = ["wgn/gfx-backend-gl"] | ||
|
||
[dependencies] | ||
#TODO: only depend on the published version | ||
wgn = { package = "wgpu-native", version = "0.2.6", features = ["local", "window-winit"], git = "https://github.com/gfx-rs/wgpu", rev = "a47ff090bb042f1cb2ad7b13c76eca228390a311"} | ||
wgn = { package = "wgpu-native", version = "0.3.1", features = ["local"] } | ||
arrayvec = "0.4" | ||
raw-window-handle = "0.1" | ||
zerocopy = "0.2" | ||
|
||
[dev-dependencies] | ||
|
@@ -34,3 +38,4 @@ env_logger = "0.6" | |
glsl-to-spirv = "0.1" | ||
log = "0.4" | ||
png = "0.15" | ||
winit = "0.20.0-alpha3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an issue for the part that gl is blocked on here? It would probably be useful to clarify it in a comment for anyone using gl patches at the moment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue is that we initialize all other backends without
winit
featurefor GL, there is currently no way to use it without
glutin
. Enablingglutin
though on the backend would conflict withglutin
in wgpu-rs itself, since the backends are from crates.io and they rely on the oldglutin
version...This will be unlocked if/when we back-port raw-window-handle to gfx-backend-gl-0.3