blob: fd06ec422fc9bf277ff0c334763b538c52ff1e5c [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
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
29 ANativeWindow_setBufferDataSpace; # vndk
30 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;