Now that we can use raw_window_handle, drop the winit feature. This should make the dependency graph a little bit less complicated for crates that depend on surfman.
A few changes:
The Wayland implementation needs the size when creating a native widget from a raw window handle, so add that parameters Unfortunately, it doesn't look like there is another option here.
Rename create_native_widget_from_rwh to create_native_widget_from_raw_window_handle. There already exists API that uses the raw_window_handle terminology.
Try to fix the build of the android-example, which depended on the old winit and now depends on the new one.
This is a breaking API change, so the next release should be a major version bump.
Now that we can use raw_window_handle, drop the winit feature. This should make the dependency graph a little bit less complicated for crates that depend on surfman.
A few changes:
create_native_widget_from_rwh
tocreate_native_widget_from_raw_window_handle
. There already exists API that uses theraw_window_handle
terminology.This is a breaking API change, so the next release should be a major version bump.