Versions in this module Expand all Collapse all v0 v0.0.3 Mar 16, 2026 Changes in this version + const ANATIVEWINDOW_CHANGE_FRAME_RATE_ALWAYS + const ANATIVEWINDOW_CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS + const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT + const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE + const ANATIVEWINDOW_TRANSFORM_IDENTITY + const ANATIVEWINDOW_TRANSFORM_MIRROR_HORIZONTAL + const ANATIVEWINDOW_TRANSFORM_MIRROR_VERTICAL + const ANATIVEWINDOW_TRANSFORM_ROTATE_180 + const ANATIVEWINDOW_TRANSFORM_ROTATE_270 + const ANATIVEWINDOW_TRANSFORM_ROTATE_90 + const WINDOW_FORMAT_RGBA_8888 + const WINDOW_FORMAT_RGBX_8888 + const WINDOW_FORMAT_RGB_565 + func ANativeWindow_acquire(window *ANativeWindow) + func ANativeWindow_clearFrameRate(window *ANativeWindow) int32 + func ANativeWindow_getBuffersDataSpace(window *ANativeWindow) int32 + func ANativeWindow_getBuffersDefaultDataSpace(window *ANativeWindow) int32 + func ANativeWindow_getFormat(window *ANativeWindow) int32 + func ANativeWindow_getHeight(window *ANativeWindow) int32 + func ANativeWindow_getWidth(window *ANativeWindow) int32 + func ANativeWindow_lock(window *ANativeWindow, outBuffer *ANativeWindow_Buffer, ...) int32 + func ANativeWindow_release(window *ANativeWindow) + func ANativeWindow_setBuffersDataSpace(window *ANativeWindow, dataSpace int32) int32 + func ANativeWindow_setBuffersGeometry(window *ANativeWindow, width int32, height int32, format int32) int32 + func ANativeWindow_setBuffersTransform(window *ANativeWindow, transform int32) int32 + func ANativeWindow_setFrameRate(window *ANativeWindow, frameRate float32, compatibility int8) int32 + func ANativeWindow_setFrameRateWithChangeStrategy(window *ANativeWindow, frameRate float32, compatibility int8, ...) int32 + func ANativeWindow_tryAllocateBuffers(window *ANativeWindow) + func ANativeWindow_unlockAndPost(window *ANativeWindow) int32 + type ANativeWindow C.ANativeWindow + type ANativeWindow_Buffer C.ANativeWindow_Buffer + type ARect C.ARect + type CgoAllocMap struct + func (a *CgoAllocMap) Add(ptr unsafe.Pointer) + func (a *CgoAllocMap) Borrow(b *CgoAllocMap) + func (a *CgoAllocMap) Free() + func (a *CgoAllocMap) IsEmpty() bool + type SliceHeader struct + Cap int + Data unsafe.Pointer + Len int