Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 1 | LIBNATIVEWINDOW { |
| 2 | global: |
| 3 | AHardwareBuffer_acquire; |
| 4 | AHardwareBuffer_allocate; |
Jesse Hall | fbe5835 | 2018-04-14 11:20:59 -0700 | [diff] [blame] | 5 | AHardwareBuffer_createFromHandle; # vndk |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 6 | AHardwareBuffer_describe; |
Jiyong Park | 8ebc072 | 2017-05-03 11:33:18 +0900 | [diff] [blame] | 7 | AHardwareBuffer_getNativeHandle; # vndk |
Krzysztof KosiĆski | a5c54bc | 2018-11-16 18:24:33 -0800 | [diff] [blame] | 8 | AHardwareBuffer_isSupported; # introduced=29 |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 9 | AHardwareBuffer_lock; |
Valerie Hau | d2f4daf | 2019-02-15 13:49:00 -0800 | [diff] [blame^] | 10 | AHardwareBuffer_lockAndGetInfo; # introduced=29 |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 11 | AHardwareBuffer_recvHandleFromUnixSocket; |
| 12 | AHardwareBuffer_release; |
| 13 | AHardwareBuffer_sendHandleToUnixSocket; |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 14 | AHardwareBuffer_unlock; |
Jiyong Park | 8ebc072 | 2017-05-03 11:33:18 +0900 | [diff] [blame] | 15 | ANativeWindowBuffer_getHardwareBuffer; # vndk |
| 16 | ANativeWindow_OemStorageGet; # vndk |
| 17 | ANativeWindow_OemStorageSet; # vndk |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 18 | ANativeWindow_acquire; |
Jiyong Park | 8ebc072 | 2017-05-03 11:33:18 +0900 | [diff] [blame] | 19 | ANativeWindow_cancelBuffer; # vndk |
| 20 | ANativeWindow_dequeueBuffer; # vndk |
Peiyong Lin | 654f87b | 2018-01-30 14:21:33 -0800 | [diff] [blame] | 21 | ANativeWindow_getBuffersDataSpace; # introduced=28 |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 22 | ANativeWindow_getFormat; |
| 23 | ANativeWindow_getHeight; |
| 24 | ANativeWindow_getWidth; |
| 25 | ANativeWindow_lock; |
Jiyong Park | 8ebc072 | 2017-05-03 11:33:18 +0900 | [diff] [blame] | 26 | ANativeWindow_query; # vndk |
| 27 | ANativeWindow_queryf; # vndk |
| 28 | ANativeWindow_queueBuffer; # vndk |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 29 | ANativeWindow_release; |
Jiyong Park | 8ebc072 | 2017-05-03 11:33:18 +0900 | [diff] [blame] | 30 | ANativeWindow_setAutoRefresh; # vndk |
| 31 | ANativeWindow_setBufferCount; # vndk |
Peiyong Lin | 654f87b | 2018-01-30 14:21:33 -0800 | [diff] [blame] | 32 | ANativeWindow_setBuffersDataSpace; # introduced=28 |
Jiyong Park | 8ebc072 | 2017-05-03 11:33:18 +0900 | [diff] [blame] | 33 | ANativeWindow_setBuffersDimensions; # vndk |
| 34 | ANativeWindow_setBuffersFormat; # vndk |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 35 | ANativeWindow_setBuffersGeometry; |
Jiyong Park | 8ebc072 | 2017-05-03 11:33:18 +0900 | [diff] [blame] | 36 | ANativeWindow_setBuffersTimestamp; # vndk |
Jesse Hall | 09932ec | 2017-03-13 11:36:05 -0700 | [diff] [blame] | 37 | ANativeWindow_setBuffersTransform; |
Jiyong Park | 8ebc072 | 2017-05-03 11:33:18 +0900 | [diff] [blame] | 38 | ANativeWindow_setSharedBufferMode; # vndk |
| 39 | ANativeWindow_setSwapInterval; # vndk |
| 40 | ANativeWindow_setUsage; # vndk |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 41 | ANativeWindow_unlockAndPost; |
| 42 | local: |
| 43 | *; |
| 44 | }; |
dimitry | b9fdddb | 2017-11-21 18:24:36 +0100 | [diff] [blame] | 45 | |
| 46 | LIBNATIVEWINDOW_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; |