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
+2
View File
@@ -18,6 +18,8 @@ mod runtime_webview;
pub use error::ServoHostError;
#[cfg(feature = "hardware-render")]
pub use hardware_rendering_context::HardwareOffscreenContext;
#[cfg(all(feature = "hardware-render", target_os = "macos"))]
pub use hardware_rendering_context::IOSurfaceHandle;
pub use host::{
KeyboardTextRequest, MouseClickRequest, MouseDragRequest, MouseHoverRequest,
NavigationRequest, PageZoomRequest, PermissionDecision, PermissionRequest, RenderedFrame,