I am using EGLImage in combination with Android GraphicBuffers to remove the need to copy to/from GPU memory. The problem is it seems only one format is supported (RGBA8888). I would like to confirm this, either by quering the driver or if you have the answer here.
1. Is there a way to get this information from the driver?
2. Is there a list of supported GraphicBuffer formats?
There is also an ARM extension which allows you to import dma_buf allocations as a buffer. (This way there is no type associated to the buffer you can simply use vload/vstore on the buffer).
This requires a Mali driver which is r7p0 or above and you need to obviously be able to provide a dma_buf allocation.
Is that something which would work for you you think ?
Anthony
That might be possible yes. I will look into it, thank you.