Skip to content

Remove Connection::create_native_widget_from_ptr - #394

Merged
mrobinson merged 1 commit into
servo:mainfrom
mrobinson:remove-create-native-widget-from_ptr
Sep 20, 2026
Merged

mrobinson merged 1 commit into
servo:mainfrom
mrobinson:remove-create-native-widget-from_ptr

Conversation

@mrobinson

Copy link
Copy Markdown
Member

This is unecessary now that RawWindowHandle is supported by default.
Servo doesn't use it. There still might be a use for a kind of a surface
made via an unsafe unretained handle, but the way that wgpu handles
this is with SurfaceTargetUnsafe::RawHandle which is based on
RawWindowHandle. surfman could do the same. Still it would be better
to implement this after the API rework.

This is unecessary now that `RawWindowHandle` is supported by default.
Servo doesn't use it. There still might be a use for a kind of a surface
made via an unsafe unretained handle, but the way that `wgpu` handles
this is with `SurfaceTargetUnsafe::RawHandle` which is based on
`RawWindowHandle`. surfman could do the same. Still it would be better
to implement this after the API rework.

Signed-off-by: Martin Robinson <martin@abandonedwig.info>
@mrobinson
mrobinson added this pull request to the merge queue Sep 20, 2026
Merged via the queue into servo:main with commit f3704ac Sep 20, 2026
13 checks passed
@mrobinson
mrobinson deleted the remove-create-native-widget-from_ptr branch September 20, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants