Module ndk::native_window
source · Expand description
Bindings for ANativeWindow
Structs§
- It is the C counterpart of the
android.view.Surface
object in Java, and can be converted both ways. Depending on the consumer, images submitted toNativeWindow
can be shown on the display or sent to other consumers, such as video encoders. - Lock holding the next drawing surface for writing. It is unlocked and posted on
drop()
. - Transforms that can be applied to buffers as they are displayed to a window.
Enums§
- ChangeFrameRateStrategy
nativewindow
andapi-level-31
Change frame rate strategy value forNativeWindow::set_frame_rate_with_change_strategy()
. - FrameRateCompatibility
nativewindow
andapi-level-30
Compatibility value forNativeWindow::set_frame_rate()
andNativeWindow::set_frame_rate_with_change_strategy()
.