mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-25 13:36:05 +00:00
f40bb190ec
These bindings are needed for virtio-gpu 3D capabilities. All the rust files under gpu_renderer/src/generated are generated via the gpu_renderer/src/generated/generate script. The gpu_renderer/src/lib.rs file contains the Renderer and Context structs, which are the main interfaces to virglrenderer. They encapsulate the global state of virglrenderer (Renderer) and each context ID (Context). The command_buffer module is included only for basic testing and is not intended for production use. The pipe_format_fourcc module is provided for the conversion of virglrenderer specifc formats to standard fourcc formats. BUG=chromium:837073 TEST=cargo build -p gpu_renderer CQ-DEPEND=CL:1144406 Change-Id: Iad153390f618309bf493e92e76432c0b1c4a8a93 Reviewed-on: https://chromium-review.googlesource.com/1043447 Commit-Ready: Zach Reizner <zachr@chromium.org> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
52 lines
1.4 KiB
TOML
52 lines
1.4 KiB
TOML
[package]
|
|
name = "crosvm"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
panic = 'abort'
|
|
|
|
[workspace]
|
|
|
|
[features]
|
|
plugin = ["plugin_proto", "crosvm_plugin", "protobuf"]
|
|
default-no-sandbox = []
|
|
wl-dmabuf = ["devices/wl-dmabuf", "gpu_buffer", "resources/wl-dmabuf"]
|
|
|
|
[dependencies]
|
|
arch = { path = "arch" }
|
|
devices = { path = "devices" }
|
|
gpu_buffer = { path = "gpu_buffer", optional = true }
|
|
gpu_display = { path = "gpu_display", optional = true }
|
|
gpu_renderer = { path = "gpu_renderer", optional = true }
|
|
io_jail = { path = "io_jail" }
|
|
kvm = { path = "kvm" }
|
|
kvm_sys = { path = "kvm_sys" }
|
|
sys_util = { path = "sys_util" }
|
|
kernel_cmdline = { path = "kernel_cmdline" }
|
|
kernel_loader = { path = "kernel_loader" }
|
|
libc = "=0.2.40"
|
|
byteorder = "=1.1.0"
|
|
net_util = { path = "net_util" }
|
|
vhost = { path = "vhost" }
|
|
vm_control = { path = "vm_control" }
|
|
data_model = { path = "data_model" }
|
|
qcow = { path = "qcow" }
|
|
plugin_proto = { path = "plugin_proto", optional = true }
|
|
crosvm_plugin = { path = "crosvm_plugin", optional = true }
|
|
protobuf = { version = "=1.4.3", optional = true }
|
|
qcow_utils = { path = "qcow_utils" }
|
|
resources = { path = "resources" }
|
|
p9 = { path = "p9" }
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
|
x86_64 = { path = "x86_64" }
|
|
|
|
[target.'cfg(any(target_arch = "aarch64", target_arch = "arm"))'.dependencies]
|
|
aarch64 = { path = "aarch64" }
|
|
|
|
[dev-dependencies]
|
|
rand = "=0.3.20"
|
|
sys_util = { path = "sys_util" }
|