Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
google
GitHub Repository: google/crosvm
Path: blob/main/gpu_display/Cargo.toml
5392 views
1
[package]
2
name = "gpu_display"
3
version = "0.1.0"
4
authors = ["The ChromiumOS Authors"]
5
edition = "2021"
6
7
[features]
8
x = []
9
kiwi = []
10
vulkan_display = [ "vulkano", "ash", "rand", "protos", "protobuf", "euclid", "smallvec"]
11
# Enables the GPU display backend for Android. The backend uses Android surface as the backing
12
# store.
13
android_display = []
14
# Stub implementation of the Android display backend. This is only used for building and testing the
15
# Android display backend on a non-Android target
16
android_display_stub = []
17
gfxstream_display = []
18
19
[dependencies]
20
anyhow = { workspace = true }
21
libc = { workspace = true }
22
base = { workspace = true }
23
linux_input_sys = { workspace = true }
24
remain = { workspace = true }
25
thiserror = { workspace = true }
26
cfg-if = { workspace = true }
27
serde = { workspace = true, features = [ "derive" ] }
28
vm_control = { workspace = true, features = ["gpu"] }
29
zerocopy = { version = "0.8.13", features = ["derive"] }
30
vulkano = { version = "0.31.1", optional = true }
31
ash = { version = "0.37.0", optional = true }
32
rand = { workspace = true, optional = true }
33
protos = { workspace = true, optional = true }
34
protobuf = { version = "3.2", optional = true }
35
euclid = { version = "0.22", optional = true }
36
smallvec = { version = "1", optional = true }
37
sync = { workspace = true }
38
rutabaga_gfx = { workspace = true }
39
40
[target.'cfg(windows)'.dependencies]
41
cros_tracing = { workspace = true }
42
metrics = { workspace = true }
43
num-traits = "0.2"
44
winapi = "0.3"
45
win_util = { path = "../win_util" }
46
smallvec = "1"
47
sync = { workspace = true }
48
euclid = "0.22"
49
50
[build-dependencies]
51
cc = "1.0.25"
52
pkg-config = "0.3.31"
53
cfg-if = { workspace = true }
54
which = "4"
55
56
[[example]]
57
name = "simple"
58
path = "examples/simple.rs"
59
60
[[example]]
61
name = "simple_open"
62
path = "examples/simple_open.rs"
63
required-features = ["x"]
64
65