blob: 33c6400d520dffbe134d33c76a6eac1af1fe8e40 [file] [log] [blame]
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08001LIBNATIVEWINDOW {
2 global:
3 AHardwareBuffer_acquire;
4 AHardwareBuffer_allocate;
Jesse Hallfbe58352018-04-14 11:20:59 -07005 AHardwareBuffer_createFromHandle; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08006 AHardwareBuffer_describe;
Jiyong Park8ebc0722017-05-03 11:33:18 +09007 AHardwareBuffer_getNativeHandle; # vndk
Krzysztof KosiƄskia5c54bc2018-11-16 18:24:33 -08008 AHardwareBuffer_isSupported; # introduced=29
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08009 AHardwareBuffer_lock;
Valerie Haud2f4daf2019-02-15 13:49:00 -080010 AHardwareBuffer_lockAndGetInfo; # introduced=29
Marius Rennc5f7a3a2019-04-26 10:16:38 -070011 AHardwareBuffer_lockPlanes; # introduced=29
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080012 AHardwareBuffer_recvHandleFromUnixSocket;
13 AHardwareBuffer_release;
14 AHardwareBuffer_sendHandleToUnixSocket;
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080015 AHardwareBuffer_unlock;
Jiyong Park8ebc0722017-05-03 11:33:18 +090016 ANativeWindowBuffer_getHardwareBuffer; # vndk
17 ANativeWindow_OemStorageGet; # vndk
18 ANativeWindow_OemStorageSet; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080019 ANativeWindow_acquire;
Jiyong Park8ebc0722017-05-03 11:33:18 +090020 ANativeWindow_cancelBuffer; # vndk
21 ANativeWindow_dequeueBuffer; # vndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080022 ANativeWindow_getBuffersDataSpace; # introduced=28
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080023 ANativeWindow_getFormat;
24 ANativeWindow_getHeight;
Alec Mouri9fa2cb62019-07-15 17:36:26 -070025 ANativeWindow_getLastDequeueDuration; # apex # introduced=30
Alec Mouria1619662019-08-21 19:30:48 -070026 ANativeWindow_getLastDequeueStartTime; # apex # introduced=30
Alec Mouri0d1398b2019-08-14 10:53:50 -070027 ANativeWindow_getLastQueueDuration; # apex # introduced=30
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080028 ANativeWindow_getWidth;
29 ANativeWindow_lock;
Jiyong Park8ebc0722017-05-03 11:33:18 +090030 ANativeWindow_query; # vndk
31 ANativeWindow_queryf; # vndk
32 ANativeWindow_queueBuffer; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080033 ANativeWindow_release;
Yiwei Zhang538cedc2019-06-24 19:35:03 -070034 ANativeWindow_setAutoPrerotation; # vndk
Jiyong Park8ebc0722017-05-03 11:33:18 +090035 ANativeWindow_setAutoRefresh; # vndk
36 ANativeWindow_setBufferCount; # vndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080037 ANativeWindow_setBuffersDataSpace; # introduced=28
Jiyong Park8ebc0722017-05-03 11:33:18 +090038 ANativeWindow_setBuffersDimensions; # vndk
39 ANativeWindow_setBuffersFormat; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080040 ANativeWindow_setBuffersGeometry;
Jiyong Park8ebc0722017-05-03 11:33:18 +090041 ANativeWindow_setBuffersTimestamp; # vndk
Jesse Hall09932ec2017-03-13 11:36:05 -070042 ANativeWindow_setBuffersTransform;
Jiyong Park8ebc0722017-05-03 11:33:18 +090043 ANativeWindow_setSharedBufferMode; # vndk
44 ANativeWindow_setSwapInterval; # vndk
45 ANativeWindow_setUsage; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080046 ANativeWindow_unlockAndPost;
47 local:
48 *;
49};
dimitryb9fdddb2017-11-21 18:24:36 +010050
51LIBNATIVEWINDOW_PLATFORM {
52 global:
53 extern "C++" {
54 android::AHardwareBuffer_isValidPixelFormat*;
55 android::AHardwareBuffer_convertFromPixelFormat*;
56 android::AHardwareBuffer_convertToPixelFormat*;
57 android::AHardwareBuffer_convertFromGrallocUsageBits*;
58 android::AHardwareBuffer_convertToGrallocUsageBits*;
59 android::AHardwareBuffer_to_GraphicBuffer*;
60 android::AHardwareBuffer_to_ANativeWindowBuffer*;
61 android::AHardwareBuffer_from_GraphicBuffer*;
62 };
63} LIBNATIVEWINDOW;