The only way to get profit from the fact, that mobile devices have shared memory for CPU and GPU was using GrphicBuffer
. But since Android 7 restrict access to private native libs (including gralloc) it is impossible to use it any more. The question - is there any alternative way to get direct memory access to texture's pixel data?
I know, that something simmilar can be done using PBO (pixel buffer object). But it still does additional memory copy, wich is undesirable. Especially if we know, that there was way to do it with zero copies.
There are many apps, wich used this feature, because it can heavily increase the performance. I think many developers are in stuck with this problem now.