Module native_window

Source
Expand description

Bindings for ANativeWindow

Structs§

NativeWindow
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 to NativeWindow can be shown on the display or sent to other consumers, such as video encoders.
NativeWindowBufferLockGuard
Lock holding the next drawing surface for writing. It is unlocked and posted on drop().
NativeWindowTransform
Transforms that can be applied to buffers as they are displayed to a window.

Enums§

ChangeFrameRateStrategynativewindow and api-level-31
Change frame rate strategy value for NativeWindow::set_frame_rate_with_change_strategy().
FrameRateCompatibilitynativewindow and api-level-30
Compatibility value for NativeWindow::set_frame_rate() and NativeWindow::set_frame_rate_with_change_strategy() .

Type Aliases§

Rect