blob: 9ed49154811eb34e03c50b40263476f5def6d6bf [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
Alec Mourid9ff3272019-11-19 16:23:59 -080010 AChoreographer_create; # apex # introduced=30
11 AChoreographer_destroy; # apex # introduced=30
12 AChoreographer_getFd; # apex # introduced=30
13 AChoreographer_handlePendingEvents; # apex # introduced=30
Stan Iliev5d6bdb02020-01-13 11:19:44 -050014 ASurfaceTexture_fromSurfaceTexture; # apex # introduced=30
15 ASurfaceTexture_release; # apex # introduced=30
Alec Mouricc445222019-10-22 10:19:17 -070016 local:
17 *;
18};
Alec Mourid9ff3272019-11-19 16:23:59 -080019
20LIBNATIVEDISPLAY_PLATFORM {
21 global:
22 extern "C++" {
Alec Mouri271de042020-04-27 22:38:19 -070023 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*;
Ady Abraham74e17562020-08-24 18:18:19 -070032 android::AChoreographer_getVsyncId*;
Ady Abraham0d28d762020-10-05 17:50:41 -070033 android::AChoreographer_getFrameDeadline*;
Jorim Jaggic0086af2021-02-12 18:18:11 +010034 android::AChoreographer_getFrameInterval*;
Alec Mourid9ff3272019-11-19 16:23:59 -080035 android::ADisplay_acquirePhysicalDisplays*;
36 android::ADisplay_release*;
37 android::ADisplay_getMaxSupportedFps*;
38 android::ADisplay_getDisplayType*;
39 android::ADisplay_getPreferredWideColorFormat*;
40 android::ADisplay_getCurrentConfig*;
41 android::ADisplayConfig_getDensity*;
42 android::ADisplayConfig_getWidth*;
43 android::ADisplayConfig_getHeight*;
44 android::ADisplayConfig_getFps*;
45 android::ADisplayConfig_getCompositorOffsetNanos*;
46 android::ADisplayConfig_getAppVsyncOffsetNanos*;
Stan Iliev5d6bdb02020-01-13 11:19:44 -050047 android::ASurfaceTexture_getCurrentTextureTarget*;
48 android::ASurfaceTexture_takeConsumerOwnership*;
49 android::ASurfaceTexture_releaseConsumerOwnership*;
50 android::ASurfaceTexture_dequeueBuffer*;
Alec Mouri271de042020-04-27 22:38:19 -070051 android::ASurfaceTexture_routeAcquireANativeWindow*;
52 android::ASurfaceTexture_routeAttachToGLContext*;
53 android::ASurfaceTexture_routeDetachFromGLContext*;
54 android::ASurfaceTexture_routeGetTimestamp*;
55 android::ASurfaceTexture_routeGetTransformMatrix*;
56 android::ASurfaceTexture_routeUpdateTexImage*;
57 android::ASurfaceTexture_routeFromSurfaceTexture*;
58 android::ASurfaceTexture_routeRelease*;
Stan Iliev5d6bdb02020-01-13 11:19:44 -050059 android::SurfaceTexture*;
Alec Mourid9ff3272019-11-19 16:23:59 -080060 };
Stan Iliev5d6bdb02020-01-13 11:19:44 -050061 ASurfaceTexture_acquireANativeWindow;
62 ASurfaceTexture_attachToGLContext;
63 ASurfaceTexture_detachFromGLContext;
64 ASurfaceTexture_getTimestamp;
65 ASurfaceTexture_getTransformMatrix;
66 ASurfaceTexture_updateTexImage;
Alec Mourid9ff3272019-11-19 16:23:59 -080067} LIBNATIVEDISPLAY;