Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another fix attempt for .travis.yml #272

Merged
merged 1 commit into from
Feb 15, 2015
Merged

Another fix attempt for .travis.yml #272

merged 1 commit into from
Feb 15, 2015

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Feb 15, 2015

No description provided.

tomaka added a commit that referenced this pull request Feb 15, 2015
Another fix attempt for .travis.yml
@tomaka tomaka merged commit 8a8cf72 into master Feb 15, 2015
@tomaka tomaka deleted the tomaka-patch-2 branch February 15, 2015 14:14
MarijnS95 added a commit that referenced this pull request Jun 6, 2022
`winit` provides a `raw-window-handle` specifically for crates to
process window pointers/references in a crate-agnostic way.  `glutin`
can use it too, to get rid of its `ndk-glue` dependency which otherwise
has a hard versioning dependency  as it should be updated in sync with
`winit`.

Over time this should be worked into the other backends, in turn
removing `winit` from the `new_windowed()` function signature and
replacing it with `impl HasRawWindowHandle` or `dyn HasRawWindowHandle`.
This will also allow Android users to pass generic `Surface`s (first
converted to a so-called `NativeWindow` in the NDK through [#272], then
passed as `RawWindowHandle` thanks to [#274]) created in Java / Kotlin /
Flutter to render to individual UI elements instead of the entire screen
with a `NativeActivity` (`ndk-glue`).  It'll in turn make the code more
generic, too, as `raw-window-handle` has a variant for every platform /
windowing system currently supported by glutin.

[#272]: rust-mobile/ndk#272
[#274]: rust-mobile/ndk#274
MarijnS95 added a commit that referenced this pull request Jun 7, 2022
`winit` provides a `raw-window-handle` specifically for crates to
process window pointers/references in a crate-agnostic way.  `glutin`
can use it too, to get rid of its `ndk-glue` dependency which otherwise
has a hard versioning dependency  as it should be updated in sync with
`winit`.

Over time this should be worked into the other backends, in turn
removing `winit` from the `new_windowed()` function signature and
replacing it with `impl HasRawWindowHandle` or `dyn HasRawWindowHandle`.
This will also allow Android users to pass generic `Surface`s (first
converted to a so-called `NativeWindow` in the NDK through [#272], then
passed as `RawWindowHandle` thanks to [#274]) created in Java / Kotlin /
Flutter to render to individual UI elements instead of the entire screen
with a `NativeActivity` (`ndk-glue`).  It'll in turn make the code more
generic, too, as `raw-window-handle` has a variant for every platform /
windowing system currently supported by glutin.

[#272]: rust-mobile/ndk#272
[#274]: rust-mobile/ndk#274
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant