crosvm/rutabaga_gfx/Cargo.toml
Idan Raiter 51f9faf3a4 rutabaga: Update Vulkano to 0.31.0
- We now have ::empty() for flags instead of ::none().

- PhysicalDeviceType was changed to vulkan_enum which is not Ord, so we
  have to change BTreeMap to HashMap.

- The abstract holders for MemoryType or QueueFamily are gone, so more
  index tracking is required. Some constructors take indices now.

- Physical devices are proper objects now, and are enumerated via the
  instance. To keep things simple, this CL only replaces with equivalent
  logic, but the next one should replace device indices entirely with
  device UUIDs.

- Device memory errors were condensed into a single DeviceMemoryError
  type. We also need to handle the VulkanError type from
  enumerate_physical_devices.

BUG=b:244622199
TEST=presubmit

Change-Id: I1bba7e652ca67ecc5d9c10ddba3e1da35185078b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3913993
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Idan Raiter <idanr@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
2022-09-27 19:53:50 +00:00

31 lines
823 B
TOML

[package]
name = "rutabaga_gfx"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2021"
[features]
gfxstream = []
virgl_renderer = []
virgl_renderer_next = []
minigbm = []
# To try out Vulkano, delete the following line and uncomment the line in "dependencies". Vulkano
# features are just a prototype and not integrated yet into the ChromeOS build system.
vulkano = []
x = []
[dependencies]
cfg-if = "*"
data_model = { path = "../common/data_model" }
libc = "*"
base = { path = "../base" }
remain = "*"
sync = { path = "../common/sync" }
thiserror = "*"
serde = { version = "1", features = [ "derive" ] }
# To build latest Vulkano, change version to git = "https:/github.com/vulkano-rs/vulkano.git"
# vulkano = { version = "0.31.0", optional = true }
[build-dependencies]
pkg-config = "*"
anyhow = "*"