-
Notifications
You must be signed in to change notification settings - Fork 111
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
ndk/native_window: Add missing function wrappers #425
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MarijnS95
commented
Aug 22, 2023
/// codec, this call has no effect. | ||
/// | ||
/// You can register for changes in the refresh rate using | ||
/// [`ffi::AChoreographer_registerRefreshRateCallback()`]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the frame rate I'm considering also binding AChoreographer
soon™.
MarijnS95
force-pushed
the
ndk-native-window-missing-apis
branch
from
August 22, 2023 15:00
4c94437
to
effd4f5
Compare
MarijnS95
force-pushed
the
ndk-native-window-missing-apis
branch
from
August 31, 2023 11:13
effd4f5
to
af3ab12
Compare
MarijnS95
commented
Aug 31, 2023
@@ -13,7 +13,7 @@ repository = "https://github.com/rust-mobile/ndk" | |||
rust-version = "1.64" | |||
|
|||
[features] | |||
all = ["audio", "bitmap","media", "api-level-30"] | |||
all = ["audio", "bitmap","media", "api-level-31"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like I forgot this in #428.
MarijnS95
force-pushed
the
ndk-native-window-missing-apis
branch
from
August 31, 2023 11:15
af3ab12
to
0fcef2a
Compare
MarijnS95
force-pushed
the
ndk-native-window-missing-apis
branch
3 times, most recently
from
September 13, 2023 21:38
b867105
to
9a07733
Compare
This was added to the NDK with API level 26 but never made it to Rust. Allows the user to apply mirror and rotation effects.
MarijnS95
force-pushed
the
ndk-native-window-missing-apis
branch
2 times, most recently
from
September 15, 2023 22:15
cb969f2
to
7279787
Compare
MarijnS95
force-pushed
the
ndk-native-window-missing-apis
branch
from
September 15, 2023 22:23
7279787
to
3562d9c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
set_buffers_transform()
APItry_allocate_buffers()
APIset_frame_rate*()
APIs since level 30/31Note that this lacks
ANativeWindow_readFromParcel
/writeToParcel
which'll only appear in API level 34 with R26 which is still in beta. Besides, we don't yet bindAParcel
either.