blob: f81a3b790e54ab196987511bfe3494654d0d3c5c [file] [log] [blame]
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08001LIBNATIVEWINDOW {
2 global:
3 AHardwareBuffer_acquire;
4 AHardwareBuffer_allocate;
Jiyong Parkd508ed92022-07-17 17:41:52 +09005 AHardwareBuffer_createFromHandle; # llndk # systemapi
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08006 AHardwareBuffer_describe;
Yiwei Zhangead3d6e2020-08-11 16:12:50 -07007 AHardwareBuffer_getId; # introduced=31
Jiyong Parkd508ed92022-07-17 17:41:52 +09008 AHardwareBuffer_getNativeHandle; # llndk # systemapi
Krzysztof KosiƄskia5c54bc2018-11-16 18:24:33 -08009 AHardwareBuffer_isSupported; # introduced=29
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080010 AHardwareBuffer_lock;
Valerie Haud2f4daf2019-02-15 13:49:00 -080011 AHardwareBuffer_lockAndGetInfo; # introduced=29
Marius Rennc5f7a3a2019-04-26 10:16:38 -070012 AHardwareBuffer_lockPlanes; # introduced=29
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080013 AHardwareBuffer_recvHandleFromUnixSocket;
14 AHardwareBuffer_release;
15 AHardwareBuffer_sendHandleToUnixSocket;
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080016 AHardwareBuffer_unlock;
John Reck5c404f82022-08-24 10:50:10 -040017 AHardwareBuffer_readFromParcel; # introduced=34
18 AHardwareBuffer_writeToParcel; # introduced=34
Jiyong Park0a0e26b2019-11-06 12:45:02 +090019 ANativeWindowBuffer_getHardwareBuffer; # llndk
20 ANativeWindow_OemStorageGet; # llndk
21 ANativeWindow_OemStorageSet; # llndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080022 ANativeWindow_acquire;
Jiyong Park0a0e26b2019-11-06 12:45:02 +090023 ANativeWindow_cancelBuffer; # llndk
24 ANativeWindow_dequeueBuffer; # llndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080025 ANativeWindow_getBuffersDataSpace; # introduced=28
Jason Macnak78d7fb32022-06-13 10:45:07 -070026 ANativeWindow_getBuffersDefaultDataSpace; # introduced=34
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080027 ANativeWindow_getFormat;
28 ANativeWindow_getHeight;
Jiyong Parkd508ed92022-07-17 17:41:52 +090029 ANativeWindow_getLastDequeueDuration; # systemapi # introduced=30
30 ANativeWindow_getLastDequeueStartTime; # systemapi # introduced=30
31 ANativeWindow_getLastQueueDuration; # systemapi # introduced=30
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080032 ANativeWindow_getWidth;
33 ANativeWindow_lock;
Jiyong Park0a0e26b2019-11-06 12:45:02 +090034 ANativeWindow_query; # llndk
35 ANativeWindow_queryf; # llndk
36 ANativeWindow_queueBuffer; # llndk
Jiyong Parkd508ed92022-07-17 17:41:52 +090037 ANativeWindow_setCancelBufferInterceptor; # systemapi # introduced=30
38 ANativeWindow_setDequeueBufferInterceptor; # systemapi # introduced=30
39 ANativeWindow_setPerformInterceptor; # systemapi # introduced=30
40 ANativeWindow_setQueueBufferInterceptor; # systemapi # introduced=30
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080041 ANativeWindow_release;
Jiyong Park0a0e26b2019-11-06 12:45:02 +090042 ANativeWindow_setAutoPrerotation; # llndk
43 ANativeWindow_setAutoRefresh; # llndk
44 ANativeWindow_setBufferCount; # llndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080045 ANativeWindow_setBuffersDataSpace; # introduced=28
Jiyong Park0a0e26b2019-11-06 12:45:02 +090046 ANativeWindow_setBuffersDimensions; # llndk
47 ANativeWindow_setBuffersFormat; # llndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080048 ANativeWindow_setBuffersGeometry;
Jiyong Park0a0e26b2019-11-06 12:45:02 +090049 ANativeWindow_setBuffersTimestamp; # llndk
Jesse Hall09932ec2017-03-13 11:36:05 -070050 ANativeWindow_setBuffersTransform;
Jiyong Parkd508ed92022-07-17 17:41:52 +090051 ANativeWindow_setDequeueTimeout; # systemapi # introduced=30
Steven Thomas62a4cf82020-01-31 12:04:03 -080052 ANativeWindow_setFrameRate; # introduced=30
Marin Shalamanovc5986772021-03-16 16:09:49 +010053 ANativeWindow_setFrameRateWithChangeStrategy; # introduced=31
Jiyong Park0a0e26b2019-11-06 12:45:02 +090054 ANativeWindow_setSharedBufferMode; # llndk
55 ANativeWindow_setSwapInterval; # llndk
56 ANativeWindow_setUsage; # llndk
Alec Mourid9d85722020-02-13 13:57:19 -080057 ANativeWindow_tryAllocateBuffers; # introduced=30
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080058 ANativeWindow_unlockAndPost;
59 local:
60 *;
61};
dimitryb9fdddb2017-11-21 18:24:36 +010062
63LIBNATIVEWINDOW_PLATFORM {
64 global:
65 extern "C++" {
66 android::AHardwareBuffer_isValidPixelFormat*;
67 android::AHardwareBuffer_convertFromPixelFormat*;
68 android::AHardwareBuffer_convertToPixelFormat*;
69 android::AHardwareBuffer_convertFromGrallocUsageBits*;
70 android::AHardwareBuffer_convertToGrallocUsageBits*;
71 android::AHardwareBuffer_to_GraphicBuffer*;
72 android::AHardwareBuffer_to_ANativeWindowBuffer*;
73 android::AHardwareBuffer_from_GraphicBuffer*;
74 };
75} LIBNATIVEWINDOW;