blob: d2ba97145847be5288a26d4b43fbb34161a07553 [file] [log] [blame]
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08001LIBNATIVEWINDOW {
2 global:
3 AHardwareBuffer_acquire;
4 AHardwareBuffer_allocate;
5 AHardwareBuffer_describe;
Jiyong Park8ebc0722017-05-03 11:33:18 +09006 AHardwareBuffer_getNativeHandle; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08007 AHardwareBuffer_lock;
8 AHardwareBuffer_recvHandleFromUnixSocket;
9 AHardwareBuffer_release;
10 AHardwareBuffer_sendHandleToUnixSocket;
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080011 AHardwareBuffer_unlock;
Jiyong Park8ebc0722017-05-03 11:33:18 +090012 ANativeWindowBuffer_getHardwareBuffer; # vndk
13 ANativeWindow_OemStorageGet; # vndk
14 ANativeWindow_OemStorageSet; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080015 ANativeWindow_acquire;
Jiyong Park8ebc0722017-05-03 11:33:18 +090016 ANativeWindow_cancelBuffer; # vndk
17 ANativeWindow_dequeueBuffer; # vndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080018 ANativeWindow_getBuffersDataSpace; # introduced=28
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080019 ANativeWindow_getFormat;
20 ANativeWindow_getHeight;
21 ANativeWindow_getWidth;
22 ANativeWindow_lock;
Jiyong Park8ebc0722017-05-03 11:33:18 +090023 ANativeWindow_query; # vndk
24 ANativeWindow_queryf; # vndk
25 ANativeWindow_queueBuffer; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080026 ANativeWindow_release;
Jiyong Park8ebc0722017-05-03 11:33:18 +090027 ANativeWindow_setAutoRefresh; # vndk
28 ANativeWindow_setBufferCount; # vndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080029 ANativeWindow_setBuffersDataSpace; # introduced=28
Jiyong Park8ebc0722017-05-03 11:33:18 +090030 ANativeWindow_setBuffersDimensions; # vndk
31 ANativeWindow_setBuffersFormat; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080032 ANativeWindow_setBuffersGeometry;
Jiyong Park8ebc0722017-05-03 11:33:18 +090033 ANativeWindow_setBuffersTimestamp; # vndk
Jesse Hall09932ec2017-03-13 11:36:05 -070034 ANativeWindow_setBuffersTransform;
Jiyong Park8ebc0722017-05-03 11:33:18 +090035 ANativeWindow_setSharedBufferMode; # vndk
36 ANativeWindow_setSwapInterval; # vndk
37 ANativeWindow_setUsage; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080038 ANativeWindow_unlockAndPost;
39 local:
40 *;
41};
dimitryb9fdddb2017-11-21 18:24:36 +010042
43LIBNATIVEWINDOW_PLATFORM {
44 global:
45 extern "C++" {
46 android::AHardwareBuffer_isValidPixelFormat*;
47 android::AHardwareBuffer_convertFromPixelFormat*;
48 android::AHardwareBuffer_convertToPixelFormat*;
49 android::AHardwareBuffer_convertFromGrallocUsageBits*;
50 android::AHardwareBuffer_convertToGrallocUsageBits*;
51 android::AHardwareBuffer_to_GraphicBuffer*;
52 android::AHardwareBuffer_to_ANativeWindowBuffer*;
53 android::AHardwareBuffer_from_GraphicBuffer*;
54 };
55} LIBNATIVEWINDOW;