blob: f8c9e4a55fd363b313b63402c5ab3fbe2fc08af5 [file] [log] [blame]
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08001LIBNATIVEWINDOW {
2 global:
3 AHardwareBuffer_acquire;
4 AHardwareBuffer_allocate;
Przemyslaw Szczepaniak7864fbc2019-11-14 16:05:43 +00005 AHardwareBuffer_createFromHandle; # llndk # apex
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08006 AHardwareBuffer_describe;
Yiwei Zhangead3d6e2020-08-11 16:12:50 -07007 AHardwareBuffer_getId; # introduced=31
Przemyslaw Szczepaniak7864fbc2019-11-14 16:05:43 +00008 AHardwareBuffer_getNativeHandle; # llndk # apex
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;
Jiyong Park0a0e26b2019-11-06 12:45:02 +090017 ANativeWindowBuffer_getHardwareBuffer; # llndk
18 ANativeWindow_OemStorageGet; # llndk
19 ANativeWindow_OemStorageSet; # llndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080020 ANativeWindow_acquire;
Jiyong Park0a0e26b2019-11-06 12:45:02 +090021 ANativeWindow_cancelBuffer; # llndk
22 ANativeWindow_dequeueBuffer; # llndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080023 ANativeWindow_getBuffersDataSpace; # introduced=28
Jason Macnak78d7fb32022-06-13 10:45:07 -070024 ANativeWindow_getBuffersDefaultDataSpace; # introduced=34
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080025 ANativeWindow_getFormat;
26 ANativeWindow_getHeight;
Alec Mouri9fa2cb62019-07-15 17:36:26 -070027 ANativeWindow_getLastDequeueDuration; # apex # introduced=30
Alec Mouria1619662019-08-21 19:30:48 -070028 ANativeWindow_getLastDequeueStartTime; # apex # introduced=30
Alec Mouri0d1398b2019-08-14 10:53:50 -070029 ANativeWindow_getLastQueueDuration; # apex # introduced=30
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080030 ANativeWindow_getWidth;
31 ANativeWindow_lock;
Jiyong Park0a0e26b2019-11-06 12:45:02 +090032 ANativeWindow_query; # llndk
33 ANativeWindow_queryf; # llndk
34 ANativeWindow_queueBuffer; # llndk
Alec Mouri09d122a2019-11-25 10:00:53 -080035 ANativeWindow_setCancelBufferInterceptor; # apex # introduced=30
36 ANativeWindow_setDequeueBufferInterceptor; # apex # introduced=30
37 ANativeWindow_setPerformInterceptor; # apex # introduced=30
38 ANativeWindow_setQueueBufferInterceptor; # apex # introduced=30
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080039 ANativeWindow_release;
Jiyong Park0a0e26b2019-11-06 12:45:02 +090040 ANativeWindow_setAutoPrerotation; # llndk
41 ANativeWindow_setAutoRefresh; # llndk
42 ANativeWindow_setBufferCount; # llndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080043 ANativeWindow_setBuffersDataSpace; # introduced=28
Jiyong Park0a0e26b2019-11-06 12:45:02 +090044 ANativeWindow_setBuffersDimensions; # llndk
45 ANativeWindow_setBuffersFormat; # llndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080046 ANativeWindow_setBuffersGeometry;
Jiyong Park0a0e26b2019-11-06 12:45:02 +090047 ANativeWindow_setBuffersTimestamp; # llndk
Jesse Hall09932ec2017-03-13 11:36:05 -070048 ANativeWindow_setBuffersTransform;
Alec Mouri04fdb602019-08-23 19:41:43 -070049 ANativeWindow_setDequeueTimeout; # apex # introduced=30
Steven Thomas62a4cf82020-01-31 12:04:03 -080050 ANativeWindow_setFrameRate; # introduced=30
Marin Shalamanovc5986772021-03-16 16:09:49 +010051 ANativeWindow_setFrameRateWithChangeStrategy; # introduced=31
Jiyong Park0a0e26b2019-11-06 12:45:02 +090052 ANativeWindow_setSharedBufferMode; # llndk
53 ANativeWindow_setSwapInterval; # llndk
54 ANativeWindow_setUsage; # llndk
Alec Mourid9d85722020-02-13 13:57:19 -080055 ANativeWindow_tryAllocateBuffers; # introduced=30
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080056 ANativeWindow_unlockAndPost;
57 local:
58 *;
59};
dimitryb9fdddb2017-11-21 18:24:36 +010060
61LIBNATIVEWINDOW_PLATFORM {
62 global:
63 extern "C++" {
64 android::AHardwareBuffer_isValidPixelFormat*;
65 android::AHardwareBuffer_convertFromPixelFormat*;
66 android::AHardwareBuffer_convertToPixelFormat*;
67 android::AHardwareBuffer_convertFromGrallocUsageBits*;
68 android::AHardwareBuffer_convertToGrallocUsageBits*;
69 android::AHardwareBuffer_to_GraphicBuffer*;
70 android::AHardwareBuffer_to_ANativeWindowBuffer*;
71 android::AHardwareBuffer_from_GraphicBuffer*;
72 };
73} LIBNATIVEWINDOW;