Alec Mouri | cc44522 | 2019-10-22 10:19:17 -0700 | [diff] [blame] | 1 | LIBNATIVEDISPLAY { |
| 2 | global: |
| 3 | AChoreographer_getInstance; # apex # introduced=30 |
| 4 | AChoreographer_postFrameCallback; # apex # introduced=30 |
| 5 | AChoreographer_postFrameCallbackDelayed; # apex # introduced=30 |
| 6 | AChoreographer_postFrameCallback64; # apex # introduced=30 |
| 7 | AChoreographer_postFrameCallbackDelayed64; # apex # introduced=30 |
Alec Mouri | 60aee1c | 2019-10-28 16:18:59 -0700 | [diff] [blame] | 8 | AChoreographer_registerRefreshRateCallback; # apex # introduced=30 |
| 9 | AChoreographer_unregisterRefreshRateCallback; # apex # introduced=30 |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 10 | AChoreographer_create; # apex # introduced=30 |
| 11 | AChoreographer_destroy; # apex # introduced=30 |
| 12 | AChoreographer_getFd; # apex # introduced=30 |
| 13 | AChoreographer_handlePendingEvents; # apex # introduced=30 |
Stan Iliev | 5d6bdb0 | 2020-01-13 11:19:44 -0500 | [diff] [blame] | 14 | ASurfaceTexture_fromSurfaceTexture; # apex # introduced=30 |
| 15 | ASurfaceTexture_release; # apex # introduced=30 |
Alec Mouri | cc44522 | 2019-10-22 10:19:17 -0700 | [diff] [blame] | 16 | local: |
| 17 | *; |
| 18 | }; |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 19 | |
| 20 | LIBNATIVEDISPLAY_PLATFORM { |
| 21 | global: |
| 22 | extern "C++" { |
Alec Mouri | 271de04 | 2020-04-27 22:38:19 -0700 | [diff] [blame^] | 23 | android::AChoreographer_initJVM*; |
| 24 | android::AChoreographer_routeGetInstance*; |
| 25 | android::AChoreographer_routePostFrameCallback*; |
| 26 | android::AChoreographer_routePostFrameCallbackDelayed*; |
| 27 | android::AChoreographer_routePostFrameCallback64*; |
| 28 | android::AChoreographer_routePostFrameCallbackDelayed64*; |
| 29 | android::AChoreographer_routeRegisterRefreshRateCallback*; |
| 30 | android::AChoreographer_routeUnregisterRefreshRateCallback*; |
| 31 | android::AChoreographer_signalRefreshRateCallbacks*; |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 32 | android::ADisplay_acquirePhysicalDisplays*; |
| 33 | android::ADisplay_release*; |
| 34 | android::ADisplay_getMaxSupportedFps*; |
| 35 | android::ADisplay_getDisplayType*; |
| 36 | android::ADisplay_getPreferredWideColorFormat*; |
| 37 | android::ADisplay_getCurrentConfig*; |
| 38 | android::ADisplayConfig_getDensity*; |
| 39 | android::ADisplayConfig_getWidth*; |
| 40 | android::ADisplayConfig_getHeight*; |
| 41 | android::ADisplayConfig_getFps*; |
| 42 | android::ADisplayConfig_getCompositorOffsetNanos*; |
| 43 | android::ADisplayConfig_getAppVsyncOffsetNanos*; |
Stan Iliev | 5d6bdb0 | 2020-01-13 11:19:44 -0500 | [diff] [blame] | 44 | android::ASurfaceTexture_getCurrentTextureTarget*; |
| 45 | android::ASurfaceTexture_takeConsumerOwnership*; |
| 46 | android::ASurfaceTexture_releaseConsumerOwnership*; |
| 47 | android::ASurfaceTexture_dequeueBuffer*; |
Alec Mouri | 271de04 | 2020-04-27 22:38:19 -0700 | [diff] [blame^] | 48 | android::ASurfaceTexture_routeAcquireANativeWindow*; |
| 49 | android::ASurfaceTexture_routeAttachToGLContext*; |
| 50 | android::ASurfaceTexture_routeDetachFromGLContext*; |
| 51 | android::ASurfaceTexture_routeGetTimestamp*; |
| 52 | android::ASurfaceTexture_routeGetTransformMatrix*; |
| 53 | android::ASurfaceTexture_routeUpdateTexImage*; |
| 54 | android::ASurfaceTexture_routeFromSurfaceTexture*; |
| 55 | android::ASurfaceTexture_routeRelease*; |
Stan Iliev | 5d6bdb0 | 2020-01-13 11:19:44 -0500 | [diff] [blame] | 56 | android::SurfaceTexture*; |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 57 | }; |
Stan Iliev | 5d6bdb0 | 2020-01-13 11:19:44 -0500 | [diff] [blame] | 58 | ASurfaceTexture_acquireANativeWindow; |
| 59 | ASurfaceTexture_attachToGLContext; |
| 60 | ASurfaceTexture_detachFromGLContext; |
| 61 | ASurfaceTexture_getTimestamp; |
| 62 | ASurfaceTexture_getTransformMatrix; |
| 63 | ASurfaceTexture_updateTexImage; |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 64 | } LIBNATIVEDISPLAY; |