Allocating RenderScript for OpenGL ES 2.0 Vertex Buffer

In RenderScript, I create a fixed length vertex array that I draw with OpenGL ES 2.0.

I am currently copying the output selection to a float array by converting that array to a byte buffer and sending that byte buffer to OpenGL. Is there a more efficient way to do this? For example, by creating a byte buffer from a RenderScript distribution directly?


source to share

All Articles