T10.2: extract IOSurface mach port from the hardware surface on macOS

This commit is contained in:
2026-05-10 23:01:34 -04:00
parent 1e38ace997
commit bb0bd0032f
5 changed files with 95 additions and 0 deletions
+4
View File
@@ -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