Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 1 | LIBNATIVEWINDOW { |
| 2 | global: |
| 3 | AHardwareBuffer_acquire; |
| 4 | AHardwareBuffer_allocate; |
Przemyslaw Szczepaniak | 7864fbc | 2019-11-14 16:05:43 +0000 | [diff] [blame] | 5 | AHardwareBuffer_createFromHandle; # llndk # apex |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 6 | AHardwareBuffer_describe; |
Przemyslaw Szczepaniak | 7864fbc | 2019-11-14 16:05:43 +0000 | [diff] [blame] | 7 | AHardwareBuffer_getNativeHandle; # llndk # apex |
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 |
Marius Renn | c5f7a3a | 2019-04-26 10:16:38 -0700 | [diff] [blame] | 11 | AHardwareBuffer_lockPlanes; # introduced=29 |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 12 | AHardwareBuffer_recvHandleFromUnixSocket; |
| 13 | AHardwareBuffer_release; |
| 14 | AHardwareBuffer_sendHandleToUnixSocket; |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 15 | AHardwareBuffer_unlock; |
Jiyong Park | 0a0e26b | 2019-11-06 12:45:02 +0900 | [diff] [blame] | 16 | ANativeWindowBuffer_getHardwareBuffer; # llndk |
| 17 | ANativeWindow_OemStorageGet; # llndk |
| 18 | ANativeWindow_OemStorageSet; # llndk |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 19 | ANativeWindow_acquire; |
Jiyong Park | 0a0e26b | 2019-11-06 12:45:02 +0900 | [diff] [blame] | 20 | ANativeWindow_cancelBuffer; # llndk |
| 21 | ANativeWindow_dequeueBuffer; # llndk |
Peiyong Lin | 654f87b | 2018-01-30 14:21:33 -0800 | [diff] [blame] | 22 | ANativeWindow_getBuffersDataSpace; # introduced=28 |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 23 | ANativeWindow_getFormat; |
| 24 | ANativeWindow_getHeight; |
Alec Mouri | 9fa2cb6 | 2019-07-15 17:36:26 -0700 | [diff] [blame] | 25 | ANativeWindow_getLastDequeueDuration; # apex # introduced=30 |
Alec Mouri | a161966 | 2019-08-21 19:30:48 -0700 | [diff] [blame] | 26 | ANativeWindow_getLastDequeueStartTime; # apex # introduced=30 |
Alec Mouri | 0d1398b | 2019-08-14 10:53:50 -0700 | [diff] [blame] | 27 | ANativeWindow_getLastQueueDuration; # apex # introduced=30 |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 28 | ANativeWindow_getWidth; |
| 29 | ANativeWindow_lock; |
Jiyong Park | 0a0e26b | 2019-11-06 12:45:02 +0900 | [diff] [blame] | 30 | ANativeWindow_query; # llndk |
| 31 | ANativeWindow_queryf; # llndk |
| 32 | ANativeWindow_queueBuffer; # llndk |
Alec Mouri | 09d122a | 2019-11-25 10:00:53 -0800 | [diff] [blame] | 33 | ANativeWindow_setCancelBufferInterceptor; # apex # introduced=30 |
| 34 | ANativeWindow_setDequeueBufferInterceptor; # apex # introduced=30 |
| 35 | ANativeWindow_setPerformInterceptor; # apex # introduced=30 |
| 36 | ANativeWindow_setQueueBufferInterceptor; # apex # introduced=30 |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 37 | ANativeWindow_release; |
Jiyong Park | 0a0e26b | 2019-11-06 12:45:02 +0900 | [diff] [blame] | 38 | ANativeWindow_setAutoPrerotation; # llndk |
| 39 | ANativeWindow_setAutoRefresh; # llndk |
| 40 | ANativeWindow_setBufferCount; # llndk |
Peiyong Lin | 654f87b | 2018-01-30 14:21:33 -0800 | [diff] [blame] | 41 | ANativeWindow_setBuffersDataSpace; # introduced=28 |
Jiyong Park | 0a0e26b | 2019-11-06 12:45:02 +0900 | [diff] [blame] | 42 | ANativeWindow_setBuffersDimensions; # llndk |
| 43 | ANativeWindow_setBuffersFormat; # llndk |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 44 | ANativeWindow_setBuffersGeometry; |
Jiyong Park | 0a0e26b | 2019-11-06 12:45:02 +0900 | [diff] [blame] | 45 | ANativeWindow_setBuffersTimestamp; # llndk |
Jesse Hall | 09932ec | 2017-03-13 11:36:05 -0700 | [diff] [blame] | 46 | ANativeWindow_setBuffersTransform; |
Alec Mouri | 04fdb60 | 2019-08-23 19:41:43 -0700 | [diff] [blame] | 47 | ANativeWindow_setDequeueTimeout; # apex # introduced=30 |
Steven Thomas | 62a4cf8 | 2020-01-31 12:04:03 -0800 | [diff] [blame] | 48 | ANativeWindow_setFrameRate; # introduced=30 |
Jiyong Park | 0a0e26b | 2019-11-06 12:45:02 +0900 | [diff] [blame] | 49 | ANativeWindow_setSharedBufferMode; # llndk |
| 50 | ANativeWindow_setSwapInterval; # llndk |
| 51 | ANativeWindow_setUsage; # llndk |
Alec Mouri | d9d8572 | 2020-02-13 13:57:19 -0800 | [diff] [blame] | 52 | ANativeWindow_tryAllocateBuffers; # introduced=30 |
Mathias Agopian | 4a67a5f | 2017-02-28 17:00:29 -0800 | [diff] [blame] | 53 | ANativeWindow_unlockAndPost; |
| 54 | local: |
| 55 | *; |
| 56 | }; |
dimitry | b9fdddb | 2017-11-21 18:24:36 +0100 | [diff] [blame] | 57 | |
| 58 | LIBNATIVEWINDOW_PLATFORM { |
| 59 | global: |
| 60 | extern "C++" { |
| 61 | android::AHardwareBuffer_isValidPixelFormat*; |
| 62 | android::AHardwareBuffer_convertFromPixelFormat*; |
| 63 | android::AHardwareBuffer_convertToPixelFormat*; |
| 64 | android::AHardwareBuffer_convertFromGrallocUsageBits*; |
| 65 | android::AHardwareBuffer_convertToGrallocUsageBits*; |
| 66 | android::AHardwareBuffer_to_GraphicBuffer*; |
| 67 | android::AHardwareBuffer_to_ANativeWindowBuffer*; |
| 68 | android::AHardwareBuffer_from_GraphicBuffer*; |
| 69 | }; |
| 70 | } LIBNATIVEWINDOW; |