blob: db1c9b784e4a70258095dce135b0feabefda2285 [file] [log] [blame]
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08001LIBNATIVEWINDOW {
2 global:
3 AHardwareBuffer_acquire;
4 AHardwareBuffer_allocate;
Przemyslaw Szczepaniakb7ea9bf2019-11-14 16:05:43 +00005 AHardwareBuffer_createFromHandle; # llndk # apex
Mathias Agopian4a67a5f2017-02-28 17:00:29 -08006 AHardwareBuffer_describe;
Przemyslaw Szczepaniakb7ea9bf2019-11-14 16:05:43 +00007 AHardwareBuffer_getNativeHandle; # llndk # apex
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 Renn75a0a912019-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 Park3ce79732019-11-06 12:45:02 +090016 ANativeWindowBuffer_getHardwareBuffer; # llndk
17 ANativeWindow_OemStorageGet; # llndk
18 ANativeWindow_OemStorageSet; # llndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080019 ANativeWindow_acquire;
Jiyong Park3ce79732019-11-06 12:45:02 +090020 ANativeWindow_cancelBuffer; # llndk
21 ANativeWindow_dequeueBuffer; # llndk
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;
25 ANativeWindow_getWidth;
26 ANativeWindow_lock;
Jiyong Park3ce79732019-11-06 12:45:02 +090027 ANativeWindow_query; # llndk
28 ANativeWindow_queryf; # llndk
29 ANativeWindow_queueBuffer; # llndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080030 ANativeWindow_release;
Jiyong Park3ce79732019-11-06 12:45:02 +090031 ANativeWindow_setAutoRefresh; # llndk
32 ANativeWindow_setBufferCount; # llndk
Peiyong Lin654f87b2018-01-30 14:21:33 -080033 ANativeWindow_setBuffersDataSpace; # introduced=28
Jiyong Park3ce79732019-11-06 12:45:02 +090034 ANativeWindow_setBuffersDimensions; # llndk
35 ANativeWindow_setBuffersFormat; # llndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080036 ANativeWindow_setBuffersGeometry;
Jiyong Park3ce79732019-11-06 12:45:02 +090037 ANativeWindow_setBuffersTimestamp; # llndk
Jesse Hall09932ec2017-03-13 11:36:05 -070038 ANativeWindow_setBuffersTransform;
Jiyong Park3ce79732019-11-06 12:45:02 +090039 ANativeWindow_setSharedBufferMode; # llndk
40 ANativeWindow_setSwapInterval; # llndk
41 ANativeWindow_setUsage; # llndk
Mathias Agopian4a67a5f2017-02-28 17:00:29 -080042 ANativeWindow_unlockAndPost;
43 local:
44 *;
45};
dimitryb9fdddb2017-11-21 18:24:36 +010046
47LIBNATIVEWINDOW_PLATFORM {
48 global:
49 extern "C++" {
50 android::AHardwareBuffer_isValidPixelFormat*;
51 android::AHardwareBuffer_convertFromPixelFormat*;
52 android::AHardwareBuffer_convertToPixelFormat*;
53 android::AHardwareBuffer_convertFromGrallocUsageBits*;
54 android::AHardwareBuffer_convertToGrallocUsageBits*;
55 android::AHardwareBuffer_to_GraphicBuffer*;
56 android::AHardwareBuffer_to_ANativeWindowBuffer*;
57 android::AHardwareBuffer_from_GraphicBuffer*;
58 };
59} LIBNATIVEWINDOW;