T10.5: render IOSurface via gpui::surface(CVPixelBuffer)
This commit is contained in:
@@ -29,18 +29,16 @@ ureq.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
core-foundation = "0.10"
|
||||
# Pin to the same minor as gpui 0.2.2 so we share its `CVPixelBuffer`
|
||||
# type — gpui's `Surface::From<CVPixelBuffer>` only matches the
|
||||
# version it built against.
|
||||
core-video = "0.4"
|
||||
io-surface = "0.16"
|
||||
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"] }
|
||||
|
||||
Reference in New Issue
Block a user