blob: fc59431d086e3a2e0d87eb6f058ddaa6bdef604d [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*;
Alec Mourid9ff3272019-11-19 16:23:59 -080032 android::ADisplay_acquirePhysicalDisplays*;
33 android::ADisplay_release*;
34 android::ADisplay_getMaxSupportedFps*;
35 android::ADisplay_getDisplayType*;
36 android::ADisplay_getPreferredWideColorFormat*;
37 android::ADisplay_getCurrentConfig*;
38 android::ADisplayConfig_getDensity*;
39 android::ADisplayConfig_getWidth*;
40 android::ADisplayConfig_getHeight*;
41 android::ADisplayConfig_getFps*;
42 android::ADisplayConfig_getCompositorOffsetNanos*;
43 android::ADisplayConfig_getAppVsyncOffsetNanos*;
Stan Iliev5d6bdb02020-01-13 11:19:44 -050044 android::ASurfaceTexture_getCurrentTextureTarget*;
45 android::ASurfaceTexture_takeConsumerOwnership*;
46 android::ASurfaceTexture_releaseConsumerOwnership*;
47 android::ASurfaceTexture_dequeueBuffer*;
Alec Mouri271de042020-04-27 22:38:19 -070048 android::ASurfaceTexture_routeAcquireANativeWindow*;
49 android::ASurfaceTexture_routeAttachToGLContext*;
50 android::ASurfaceTexture_routeDetachFromGLContext*;
51 android::ASurfaceTexture_routeGetTimestamp*;
52 android::ASurfaceTexture_routeGetTransformMatrix*;
53 android::ASurfaceTexture_routeUpdateTexImage*;
54 android::ASurfaceTexture_routeFromSurfaceTexture*;
55 android::ASurfaceTexture_routeRelease*;
Stan Iliev5d6bdb02020-01-13 11:19:44 -050056 android::SurfaceTexture*;
Alec Mourid9ff3272019-11-19 16:23:59 -080057 };
Stan Iliev5d6bdb02020-01-13 11:19:44 -050058 ASurfaceTexture_acquireANativeWindow;
59 ASurfaceTexture_attachToGLContext;
60 ASurfaceTexture_detachFromGLContext;
61 ASurfaceTexture_getTimestamp;
62 ASurfaceTexture_getTransformMatrix;
63 ASurfaceTexture_updateTexImage;
Alec Mourid9ff3272019-11-19 16:23:59 -080064} LIBNATIVEDISPLAY;