blob: 9172d5ed13add23318e4d1571cfc6ac2731edf06 [file] [log] [blame]
Alec Mouricc445222019-10-22 10:19:17 -07001LIBNATIVEDISPLAY {
2 global:
Jiyong Parkcbe9a322022-07-19 21:42:13 +09003 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 Mouricc445222019-10-22 10:19:17 -070023 local:
24 *;
25};
Alec Mourid9ff3272019-11-19 16:23:59 -080026
27LIBNATIVEDISPLAY_PLATFORM {
28 global:
29 extern "C++" {
Alec Mouri271de042020-04-27 22:38:19 -070030 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 Leef4dc39f2022-02-15 18:30:59 -080038 android::AChoreographer_routePostVsyncCallback*;
Rachel Lee4879d812021-08-25 11:50:11 -070039 android::AChoreographerFrameCallbackData_routeGetFrameTimeNanos*;
40 android::AChoreographerFrameCallbackData_routeGetFrameTimelinesLength*;
41 android::AChoreographerFrameCallbackData_routeGetPreferredFrameTimelineIndex*;
42 android::AChoreographerFrameCallbackData_routeGetFrameTimelineVsyncId*;
Rachel Leef4dc39f2022-02-15 18:30:59 -080043 android::AChoreographerFrameCallbackData_routeGetFrameTimelineExpectedPresentationTimeNanos*;
Rachel Lee2825fa22022-01-12 17:35:16 -080044 android::AChoreographerFrameCallbackData_routeGetFrameTimelineDeadlineNanos*;
Rachel Lee103a58a2022-02-22 15:51:05 -080045 android::AChoreographer_getStartTimeNanosForVsyncId*;
Alec Mouri271de042020-04-27 22:38:19 -070046 android::AChoreographer_signalRefreshRateCallbacks*;
Jorim Jaggic0086af2021-02-12 18:18:11 +010047 android::AChoreographer_getFrameInterval*;
Alec Mourid9ff3272019-11-19 16:23:59 -080048 android::ADisplay_acquirePhysicalDisplays*;
49 android::ADisplay_release*;
50 android::ADisplay_getMaxSupportedFps*;
51 android::ADisplay_getDisplayType*;
52 android::ADisplay_getPreferredWideColorFormat*;
53 android::ADisplay_getCurrentConfig*;
Alec Mourid9ff3272019-11-19 16:23:59 -080054 android::ADisplayConfig_getWidth*;
55 android::ADisplayConfig_getHeight*;
56 android::ADisplayConfig_getFps*;
57 android::ADisplayConfig_getCompositorOffsetNanos*;
58 android::ADisplayConfig_getAppVsyncOffsetNanos*;
Stan Iliev5d6bdb02020-01-13 11:19:44 -050059 android::ASurfaceTexture_getCurrentTextureTarget*;
60 android::ASurfaceTexture_takeConsumerOwnership*;
61 android::ASurfaceTexture_releaseConsumerOwnership*;
62 android::ASurfaceTexture_dequeueBuffer*;
Alec Mouri271de042020-04-27 22:38:19 -070063 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 Iliev5d6bdb02020-01-13 11:19:44 -050071 android::SurfaceTexture*;
Alec Mourid9ff3272019-11-19 16:23:59 -080072 };
Stan Iliev5d6bdb02020-01-13 11:19:44 -050073 ASurfaceTexture_acquireANativeWindow;
74 ASurfaceTexture_attachToGLContext;
75 ASurfaceTexture_detachFromGLContext;
76 ASurfaceTexture_getTimestamp;
77 ASurfaceTexture_getTransformMatrix;
78 ASurfaceTexture_updateTexImage;
Alec Mourid9ff3272019-11-19 16:23:59 -080079} LIBNATIVEDISPLAY;