T10.4: import sidecar IOSurface mach port into a cached MTLTexture

This commit is contained in:
2026-05-10 23:27:56 -04:00
parent 07b9c9da01
commit c4a6ea3c57
5 changed files with 375 additions and 1 deletions
+14
View File
@@ -28,6 +28,20 @@ tracing-subscriber.workspace = true
ureq.workspace = true
url.workspace = true
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6"
objc2-core-foundation = { version = "0.3.2", features = ["CFBase", "CFDictionary", "CFNumber", "CFString"] }
objc2-foundation = { version = "0.3.1", features = ["NSDictionary", "NSString", "NSValue"] }
objc2-io-surface = "0.3.2"
objc2-metal = { version = "0.3.2", features = [
"MTLAllocation",
"MTLDevice",
"MTLPixelFormat",
"MTLResource",
"MTLTexture",
"objc2-io-surface",
] }
[dev-dependencies]
gpui = { workspace = true, features = ["test-support"] }