blob: 657931342def23b2bb15bc88eb5efc3582540bff [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 Lee4879d812021-08-25 11:50:11 -070010 AChoreographer_postExtendedFrameCallback; # apex # introduced=33
11 AChoreographerFrameCallbackData_getFrameTimeNanos; # apex # introduced=33
12 AChoreographerFrameCallbackData_getFrameTimelinesLength; # apex # introduced=33
13 AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex; # apex # introduced=33
14 AChoreographerFrameCallbackData_getFrameTimelineVsyncId; # apex # introduced=33
Rachel Lee2825fa22022-01-12 17:35:16 -080015 AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTimeNanos; # apex # introduced=33
16 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 Lee4879d812021-08-25 11:50:11 -070038 android::AChoreographer_routePostExtendedFrameCallback*;
39 android::AChoreographerFrameCallbackData_routeGetFrameTimeNanos*;
40 android::AChoreographerFrameCallbackData_routeGetFrameTimelinesLength*;
41 android::AChoreographerFrameCallbackData_routeGetPreferredFrameTimelineIndex*;
42 android::AChoreographerFrameCallbackData_routeGetFrameTimelineVsyncId*;
Rachel Lee2825fa22022-01-12 17:35:16 -080043 android::AChoreographerFrameCallbackData_routeGetFrameTimelineExpectedPresentTimeNanos*;
44 android::AChoreographerFrameCallbackData_routeGetFrameTimelineDeadlineNanos*;
Alec Mouri271de042020-04-27 22:38:19 -070045 android::AChoreographer_signalRefreshRateCallbacks*;
Jorim Jaggic0086af2021-02-12 18:18:11 +010046 android::AChoreographer_getFrameInterval*;
Alec Mourid9ff3272019-11-19 16:23:59 -080047 android::ADisplay_acquirePhysicalDisplays*;
48 android::ADisplay_release*;
49 android::ADisplay_getMaxSupportedFps*;
50 android::ADisplay_getDisplayType*;
51 android::ADisplay_getPreferredWideColorFormat*;
52 android::ADisplay_getCurrentConfig*;
Alec Mourid9ff3272019-11-19 16:23:59 -080053 android::ADisplayConfig_getWidth*;
54 android::ADisplayConfig_getHeight*;
55 android::ADisplayConfig_getFps*;
56 android::ADisplayConfig_getCompositorOffsetNanos*;
57 android::ADisplayConfig_getAppVsyncOffsetNanos*;
Stan Iliev5d6bdb02020-01-13 11:19:44 -050058 android::ASurfaceTexture_getCurrentTextureTarget*;
59 android::ASurfaceTexture_takeConsumerOwnership*;
60 android::ASurfaceTexture_releaseConsumerOwnership*;
61 android::ASurfaceTexture_dequeueBuffer*;
Alec Mouri271de042020-04-27 22:38:19 -070062 android::ASurfaceTexture_routeAcquireANativeWindow*;
63 android::ASurfaceTexture_routeAttachToGLContext*;
64 android::ASurfaceTexture_routeDetachFromGLContext*;
65 android::ASurfaceTexture_routeGetTimestamp*;
66 android::ASurfaceTexture_routeGetTransformMatrix*;
67 android::ASurfaceTexture_routeUpdateTexImage*;
68 android::ASurfaceTexture_routeFromSurfaceTexture*;
69 android::ASurfaceTexture_routeRelease*;
Stan Iliev5d6bdb02020-01-13 11:19:44 -050070 android::SurfaceTexture*;
Alec Mourid9ff3272019-11-19 16:23:59 -080071 };
Stan Iliev5d6bdb02020-01-13 11:19:44 -050072 ASurfaceTexture_acquireANativeWindow;
73 ASurfaceTexture_attachToGLContext;
74 ASurfaceTexture_detachFromGLContext;
75 ASurfaceTexture_getTimestamp;
76 ASurfaceTexture_getTransformMatrix;
77 ASurfaceTexture_updateTexImage;
Alec Mourid9ff3272019-11-19 16:23:59 -080078} LIBNATIVEDISPLAY;