diff options
author | Dylan Reid <dgreid@chromium.org> | 2018-06-07 15:42:41 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-09 17:59:23 -0700 |
commit | 228e4a6a91ea2972b2443d3959c14d862a23c358 (patch) | |
tree | 4b7fd7bf8249b7dde2fbd8b958d836bc0a12d420 /resources/Cargo.toml | |
parent | 20d71f8928e1e95f6554c87cfca12f24f9f652cf (diff) | |
download | crosvm-228e4a6a91ea2972b2443d3959c14d862a23c358.tar crosvm-228e4a6a91ea2972b2443d3959c14d862a23c358.tar.gz crosvm-228e4a6a91ea2972b2443d3959c14d862a23c358.tar.bz2 crosvm-228e4a6a91ea2972b2443d3959c14d862a23c358.tar.lz crosvm-228e4a6a91ea2972b2443d3959c14d862a23c358.tar.xz crosvm-228e4a6a91ea2972b2443d3959c14d862a23c358.tar.zst crosvm-228e4a6a91ea2972b2443d3959c14d862a23c358.zip |
Move gpu allocator to resources
Combine GPU buffer allocation with the system resource allocator making life easier as only one allocator needs to get passed to the execute function. Change-Id: I199eb0fd6b99b629aaec1ae3295e8a1942da5309 Signed-off-by: Dylan Reid <dgreid@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1099856
Diffstat (limited to 'resources/Cargo.toml')
-rw-r--r-- | resources/Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/Cargo.toml b/resources/Cargo.toml index 2569f9d..29fc38a 100644 --- a/resources/Cargo.toml +++ b/resources/Cargo.toml @@ -3,6 +3,11 @@ name = "resources" version = "0.1.0" authors = ["The Chromium OS Authors"] +[features] +wl-dmabuf = ["gpu_buffer"] + [dependencies] data_model = { path = "../data_model" } +gpu_buffer = { path = "../gpu_buffer", optional = true } +libc = "*" sys_util = { path = "../sys_util" } |