Import Dmabufs into CameraItems during render call. Consider replacing with a separate import_buffers call, or create buffers locally and expose export_buffers (slightly less state required) if this is too slow.

This commit is contained in:
UnderSampled
2023-09-17 23:17:54 -04:00
parent 70ab9c5c1d
commit b60c756d8b
7 changed files with 154 additions and 98 deletions

4
Cargo.lock generated
View File

@@ -613,6 +613,9 @@ name = "drm-fourcc"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0aafbcdb8afc29c1a7ee5fbe53b5d62f4565b35a042a662ca9fecd0b54dae6f4"
dependencies = [
"serde",
]
[[package]]
name = "drm-sys"
@@ -2115,6 +2118,7 @@ dependencies = [
"console-subscriber",
"ctrlc",
"directories",
"drm-fourcc",
"glam 0.23.0",
"global_counter",
"input-event-codes",