How to access(zero copy) android AHardWareBuffer and ANativeWindow_Buffer, with mali opencl?
please note, ANativeWindow_Buffer is not ANativeWindowBuffer.
The Mali OpenCL driver now supports Importing AHardwareBuffer: www.khronos.org/.../cl_arm_import_memory.txt
and, another question is, Can ION buffer imported with cl_arm_import_memory_dma_buf?
Yes, you can share the ION buffer to obtain a dma_buf file descriptor that can be imported with cl_arm_import_memory_dma_buf. You can look into ion_share or ION_IOC_SHARE.