Structs§
Enums§
Constants§
- NDK_
GLUE_ LOOPER_ EVENT_ PIPE_ IDENT ndk-glue
macros register the reading end of an event pipe with the mainThreadLooper
under thisident
. When returned fromThreadLooper::poll_*
an event can be retrieved frompoll_events()
.- NDK_
GLUE_ LOOPER_ INPUT_ QUEUE_ IDENT - The
InputQueue
received from Android is registered with the mainThreadLooper
under thisident
. When returned fromThreadLooper::poll_*
an event can be retrieved frominput_queue()
.
Functions§
- android_
log - content_
rect - This function accesses a
static
variable internally and must only be used if you are sure there is exactly one version ofndk_glue
in your dependency tree. - init⚠
- Safety
- input_
queue - Returns an
InputQueue
held inside a lock, preventing Android from freeing it immediately in itsInputQueue
destructor. - native_
activity - This function accesses a
static
variable internally and must only be used if you are sure there is exactly one version ofndk_glue
in your dependency tree. - native_
window - Returns a
NativeWindow
held inside a lock, preventing Android from freeing it immediately in itsNativeWindow
destructor. - poll_
events