blob: 969d9379f0c9e5c0d3bb796fd00fe1d0e23e28bd [file] [log] [blame]
Alec Mouricc445222019-10-22 10:19:17 -07001LIBNATIVEDISPLAY {
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 Mouri60aee1c2019-10-28 16:18:59 -07008 AChoreographer_registerRefreshRateCallback; # apex # introduced=30
9 AChoreographer_unregisterRefreshRateCallback; # apex # introduced=30
Rachel Leef4dc39f2022-02-15 18:30:59 -080010 AChoreographer_postVsyncCallback; # apex # introduced=33
Rachel Lee4879d812021-08-25 11:50:11 -070011 AChoreographerFrameCallbackData_getFrameTimeNanos; # apex # introduced=33
12 AChoreographerFrameCallbackData_getFrameTimelinesLength; # apex # introduced=33
13 AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex; # apex # introduced=33
14 AChoreographerFrameCallbackData_getFrameTimelineVsyncId; # apex # introduced=33
Rachel Leef4dc39f2022-02-15 18:30:59 -080015 AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos; # apex # introduced=33
Rachel Lee2825fa22022-01-12 17:35:16 -080016 AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos; # apex # introduced=33
Alec Mourid9ff3272019-11-19 16:23:59 -080017 AChoreographer_create; # apex # introduced=30
18 AChoreographer_destroy; # apex # introduced=30
19 AChoreographer_getFd; # apex # introduced=30
20 AChoreographer_handlePendingEvents; # apex # introduced=30
Stan Iliev5d6bdb02020-01-13 11:19:44 -050021 ASurfaceTexture_fromSurfaceTexture; # apex # introduced=30
22 ASurfaceTexture_release; # apex # 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;