blob: 753954d97ae55c8cd7b9c3270954cc5bdf90b7a2 [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
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08008 AHardwareBuffer_lock;
9 AHardwareBuffer_recvHandleFromUnixSocket;
10 AHardwareBuffer_release;
11 AHardwareBuffer_sendHandleToUnixSocket;
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080012 AHardwareBuffer_unlock;
Jiyong Park8ebc0722017-05-03 11:33:18 +090013 ANativeWindowBuffer_getHardwareBuffer; # vndk
14 ANativeWindow_OemStorageGet; # vndk
15 ANativeWindow_OemStorageSet; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080016 ANativeWindow_acquire;
Jiyong Park8ebc0722017-05-03 11:33:18 +090017 ANativeWindow_cancelBuffer; # vndk
18 ANativeWindow_dequeueBuffer; # vndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080019 ANativeWindow_getBuffersDataSpace; # introduced=28
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080020 ANativeWindow_getFormat;
21 ANativeWindow_getHeight;
22 ANativeWindow_getWidth;
23 ANativeWindow_lock;
Jiyong Park8ebc0722017-05-03 11:33:18 +090024 ANativeWindow_query; # vndk
25 ANativeWindow_queryf; # vndk
26 ANativeWindow_queueBuffer; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080027 ANativeWindow_release;
Jiyong Park8ebc0722017-05-03 11:33:18 +090028 ANativeWindow_setAutoRefresh; # vndk
29 ANativeWindow_setBufferCount; # vndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080030 ANativeWindow_setBuffersDataSpace; # introduced=28
Jiyong Park8ebc0722017-05-03 11:33:18 +090031 ANativeWindow_setBuffersDimensions; # vndk
32 ANativeWindow_setBuffersFormat; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080033 ANativeWindow_setBuffersGeometry;
Jiyong Park8ebc0722017-05-03 11:33:18 +090034 ANativeWindow_setBuffersTimestamp; # vndk
Jesse Hall09932ec2017-03-13 11:36:05 -070035 ANativeWindow_setBuffersTransform;
Jiyong Park8ebc0722017-05-03 11:33:18 +090036 ANativeWindow_setSharedBufferMode; # vndk
37 ANativeWindow_setSwapInterval; # vndk
38 ANativeWindow_setUsage; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080039 ANativeWindow_unlockAndPost;
40 local:
41 *;
42};
dimitryb9fdddb2017-11-21 18:24:36 +010043
44LIBNATIVEWINDOW_PLATFORM {
45 global:
46 extern "C++" {
47 android::AHardwareBuffer_isValidPixelFormat*;
48 android::AHardwareBuffer_convertFromPixelFormat*;
49 android::AHardwareBuffer_convertToPixelFormat*;
50 android::AHardwareBuffer_convertFromGrallocUsageBits*;
51 android::AHardwareBuffer_convertToGrallocUsageBits*;
52 android::AHardwareBuffer_to_GraphicBuffer*;
53 android::AHardwareBuffer_to_ANativeWindowBuffer*;
54 android::AHardwareBuffer_from_GraphicBuffer*;
55 };
56} LIBNATIVEWINDOW;