blob: 23a05f3dca8ec00ca93c39bc43525fd3436fcf53 [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
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080011 AHardwareBuffer_recvHandleFromUnixSocket;
12 AHardwareBuffer_release;
13 AHardwareBuffer_sendHandleToUnixSocket;
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080014 AHardwareBuffer_unlock;
Jiyong Park8ebc0722017-05-03 11:33:18 +090015 ANativeWindowBuffer_getHardwareBuffer; # vndk
16 ANativeWindow_OemStorageGet; # vndk
17 ANativeWindow_OemStorageSet; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080018 ANativeWindow_acquire;
Jiyong Park8ebc0722017-05-03 11:33:18 +090019 ANativeWindow_cancelBuffer; # vndk
20 ANativeWindow_dequeueBuffer; # vndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080021 ANativeWindow_getBuffersDataSpace; # introduced=28
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080022 ANativeWindow_getFormat;
23 ANativeWindow_getHeight;
24 ANativeWindow_getWidth;
25 ANativeWindow_lock;
Jiyong Park8ebc0722017-05-03 11:33:18 +090026 ANativeWindow_query; # vndk
27 ANativeWindow_queryf; # vndk
28 ANativeWindow_queueBuffer; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080029 ANativeWindow_release;
Jiyong Park8ebc0722017-05-03 11:33:18 +090030 ANativeWindow_setAutoRefresh; # vndk
31 ANativeWindow_setBufferCount; # vndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080032 ANativeWindow_setBuffersDataSpace; # introduced=28
Jiyong Park8ebc0722017-05-03 11:33:18 +090033 ANativeWindow_setBuffersDimensions; # vndk
34 ANativeWindow_setBuffersFormat; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080035 ANativeWindow_setBuffersGeometry;
Jiyong Park8ebc0722017-05-03 11:33:18 +090036 ANativeWindow_setBuffersTimestamp; # vndk
Jesse Hall09932ec2017-03-13 11:36:05 -070037 ANativeWindow_setBuffersTransform;
Jiyong Park8ebc0722017-05-03 11:33:18 +090038 ANativeWindow_setSharedBufferMode; # vndk
39 ANativeWindow_setSwapInterval; # vndk
40 ANativeWindow_setUsage; # vndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080041 ANativeWindow_unlockAndPost;
42 local:
43 *;
44};
dimitryb9fdddb2017-11-21 18:24:36 +010045
46LIBNATIVEWINDOW_PLATFORM {
47 global:
48 extern "C++" {
49 android::AHardwareBuffer_isValidPixelFormat*;
50 android::AHardwareBuffer_convertFromPixelFormat*;
51 android::AHardwareBuffer_convertToPixelFormat*;
52 android::AHardwareBuffer_convertFromGrallocUsageBits*;
53 android::AHardwareBuffer_convertToGrallocUsageBits*;
54 android::AHardwareBuffer_to_GraphicBuffer*;
55 android::AHardwareBuffer_to_ANativeWindowBuffer*;
56 android::AHardwareBuffer_from_GraphicBuffer*;
57 };
58} LIBNATIVEWINDOW;