Alec Mouri | cc44522 | 2019-10-22 10:19:17 -0700 | [diff] [blame] | 1 | LIBNATIVEDISPLAY { |
| 2 | global: |
Jiyong Park | cbe9a32 | 2022-07-19 21:42:13 +0900 | [diff] [blame] | 3 | AChoreographer_getInstance; # systemapi # introduced=30 |
| 4 | AChoreographer_postFrameCallback; # systemapi # introduced=30 |
| 5 | AChoreographer_postFrameCallbackDelayed; # systemapi # introduced=30 |
| 6 | AChoreographer_postFrameCallback64; # systemapi # introduced=30 |
| 7 | AChoreographer_postFrameCallbackDelayed64; # systemapi # introduced=30 |
| 8 | AChoreographer_registerRefreshRateCallback; # systemapi # introduced=30 |
| 9 | AChoreographer_unregisterRefreshRateCallback; # systemapi # introduced=30 |
| 10 | AChoreographer_postVsyncCallback; # systemapi # introduced=33 |
| 11 | AChoreographerFrameCallbackData_getFrameTimeNanos; # systemapi # introduced=33 |
| 12 | AChoreographerFrameCallbackData_getFrameTimelinesLength; # systemapi # introduced=33 |
| 13 | AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex; # systemapi # introduced=33 |
| 14 | AChoreographerFrameCallbackData_getFrameTimelineVsyncId; # systemapi # introduced=33 |
| 15 | AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos; # systemapi # introduced=33 |
| 16 | AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos; # systemapi # introduced=33 |
| 17 | AChoreographer_create; # systemapi # introduced=30 |
| 18 | AChoreographer_destroy; # systemapi # introduced=30 |
| 19 | AChoreographer_getFd; # systemapi # introduced=30 |
| 20 | AChoreographer_handlePendingEvents; # systemapi # introduced=30 |
| 21 | ASurfaceTexture_fromSurfaceTexture; # systemapi # introduced=30 |
| 22 | ASurfaceTexture_release; # systemapi # introduced=30 |
Alec Mouri | cc44522 | 2019-10-22 10:19:17 -0700 | [diff] [blame] | 23 | local: |
| 24 | *; |
| 25 | }; |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 26 | |
| 27 | LIBNATIVEDISPLAY_PLATFORM { |
| 28 | global: |
| 29 | extern "C++" { |
Alec Mouri | 271de04 | 2020-04-27 22:38:19 -0700 | [diff] [blame] | 30 | android::AChoreographer_initJVM*; |
| 31 | android::AChoreographer_routeGetInstance*; |
| 32 | android::AChoreographer_routePostFrameCallback*; |
| 33 | android::AChoreographer_routePostFrameCallbackDelayed*; |
| 34 | android::AChoreographer_routePostFrameCallback64*; |
| 35 | android::AChoreographer_routePostFrameCallbackDelayed64*; |
| 36 | android::AChoreographer_routeRegisterRefreshRateCallback*; |
| 37 | android::AChoreographer_routeUnregisterRefreshRateCallback*; |
Rachel Lee | f4dc39f | 2022-02-15 18:30:59 -0800 | [diff] [blame] | 38 | android::AChoreographer_routePostVsyncCallback*; |
Rachel Lee | 4879d81 | 2021-08-25 11:50:11 -0700 | [diff] [blame] | 39 | android::AChoreographerFrameCallbackData_routeGetFrameTimeNanos*; |
| 40 | android::AChoreographerFrameCallbackData_routeGetFrameTimelinesLength*; |
| 41 | android::AChoreographerFrameCallbackData_routeGetPreferredFrameTimelineIndex*; |
| 42 | android::AChoreographerFrameCallbackData_routeGetFrameTimelineVsyncId*; |
Rachel Lee | f4dc39f | 2022-02-15 18:30:59 -0800 | [diff] [blame] | 43 | android::AChoreographerFrameCallbackData_routeGetFrameTimelineExpectedPresentationTimeNanos*; |
Rachel Lee | 2825fa2 | 2022-01-12 17:35:16 -0800 | [diff] [blame] | 44 | android::AChoreographerFrameCallbackData_routeGetFrameTimelineDeadlineNanos*; |
Rachel Lee | 103a58a | 2022-02-22 15:51:05 -0800 | [diff] [blame] | 45 | android::AChoreographer_getStartTimeNanosForVsyncId*; |
Alec Mouri | 271de04 | 2020-04-27 22:38:19 -0700 | [diff] [blame] | 46 | android::AChoreographer_signalRefreshRateCallbacks*; |
Jorim Jaggi | c0086af | 2021-02-12 18:18:11 +0100 | [diff] [blame] | 47 | android::AChoreographer_getFrameInterval*; |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 48 | android::ADisplay_acquirePhysicalDisplays*; |
| 49 | android::ADisplay_release*; |
| 50 | android::ADisplay_getMaxSupportedFps*; |
| 51 | android::ADisplay_getDisplayType*; |
| 52 | android::ADisplay_getPreferredWideColorFormat*; |
| 53 | android::ADisplay_getCurrentConfig*; |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 54 | android::ADisplayConfig_getWidth*; |
| 55 | android::ADisplayConfig_getHeight*; |
| 56 | android::ADisplayConfig_getFps*; |
| 57 | android::ADisplayConfig_getCompositorOffsetNanos*; |
| 58 | android::ADisplayConfig_getAppVsyncOffsetNanos*; |
Stan Iliev | 5d6bdb0 | 2020-01-13 11:19:44 -0500 | [diff] [blame] | 59 | android::ASurfaceTexture_getCurrentTextureTarget*; |
| 60 | android::ASurfaceTexture_takeConsumerOwnership*; |
| 61 | android::ASurfaceTexture_releaseConsumerOwnership*; |
| 62 | android::ASurfaceTexture_dequeueBuffer*; |
Alec Mouri | 271de04 | 2020-04-27 22:38:19 -0700 | [diff] [blame] | 63 | android::ASurfaceTexture_routeAcquireANativeWindow*; |
| 64 | android::ASurfaceTexture_routeAttachToGLContext*; |
| 65 | android::ASurfaceTexture_routeDetachFromGLContext*; |
| 66 | android::ASurfaceTexture_routeGetTimestamp*; |
| 67 | android::ASurfaceTexture_routeGetTransformMatrix*; |
| 68 | android::ASurfaceTexture_routeUpdateTexImage*; |
| 69 | android::ASurfaceTexture_routeFromSurfaceTexture*; |
| 70 | android::ASurfaceTexture_routeRelease*; |
Stan Iliev | 5d6bdb0 | 2020-01-13 11:19:44 -0500 | [diff] [blame] | 71 | android::SurfaceTexture*; |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 72 | }; |
Stan Iliev | 5d6bdb0 | 2020-01-13 11:19:44 -0500 | [diff] [blame] | 73 | ASurfaceTexture_acquireANativeWindow; |
| 74 | ASurfaceTexture_attachToGLContext; |
| 75 | ASurfaceTexture_detachFromGLContext; |
| 76 | ASurfaceTexture_getTimestamp; |
| 77 | ASurfaceTexture_getTransformMatrix; |
| 78 | ASurfaceTexture_updateTexImage; |
Alec Mouri | d9ff327 | 2019-11-19 16:23:59 -0800 | [diff] [blame] | 79 | } LIBNATIVEDISPLAY; |