T10.2: extract IOSurface mach port from the hardware surface on macOS
This commit is contained in:
@@ -16,6 +16,7 @@ hardware-render = [
|
||||
"dep:image",
|
||||
"dep:log",
|
||||
"dep:surfman",
|
||||
"dep:objc2-io-surface",
|
||||
]
|
||||
|
||||
[[bin]]
|
||||
@@ -38,5 +39,8 @@ surfman = { version = "0.11", optional = true }
|
||||
thiserror.workspace = true
|
||||
url = { workspace = true, optional = true }
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
objc2-io-surface = { version = "0.3.2", optional = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
Reference in New Issue
Block a user