-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate the repository to a virtual workspace. (#590)
The CI, VSCode config, `ARCHITECTURE.md` and some `README.md` links have been updated to reflect the new directory structure. The WGSL shaders now live in the `vello_shaders` subdirectory. Vello hot reloading depends on our repo structure, which is fine as decided at last office hours due to this being a development feature. The examples continue to live in a root `examples` directory, as that is how it remained for [Parley](https://github.com/linebender/parley) as well. I did this for consistency and don't really feel strongly either way if people think we should move them under `vello/examples` instead. If we had examples without `Cargo.toml` that would make more sense, but we don't, so .. The repo `README.md` and the `vello` sub-directory `README.md` are exact clones and both need updating. That is intentionally planned as follow-up work to reduce the review friction here.
- Loading branch information
Showing
114 changed files
with
1,010 additions
and
122 deletions.
There are no files selected for viewing
This file contains 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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 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 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[package] | ||
name = "vello" | ||
version.workspace = true | ||
description = "An experimental GPU compute-centric 2D renderer." | ||
categories = ["rendering", "graphics"] | ||
keywords = ["2d", "vector-graphics"] | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
|
||
[features] | ||
default = ["wgpu"] | ||
# Enables GPU memory usage estimation. This performs additional computations | ||
# in order to estimate the minimum required allocations for buffers backing | ||
# bump-allocated GPU memory. | ||
# TODO: Turn this into a runtime option used at resolve time and remove the feature. | ||
bump_estimate = ["vello_encoding/bump_estimate"] | ||
hot_reload = ["vello_shaders/compile"] | ||
buffer_labels = [] | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[dependencies] | ||
vello_encoding = { workspace = true } | ||
vello_shaders = { workspace = true } | ||
bytemuck = { workspace = true } | ||
skrifa = { workspace = true } | ||
peniko = { workspace = true } | ||
wgpu = { workspace = true, optional = true } | ||
log = { workspace = true } | ||
raw-window-handle = { workspace = true } | ||
static_assertions = { workspace = true } | ||
futures-intrusive = { workspace = true } | ||
wgpu-profiler = { workspace = true, optional = true } | ||
thiserror = { workspace = true } |
Oops, something went wrong.