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?

+3
android opengl-es-2.0 renderscript vertex-buffer


source to share


No one has answered this question yet

Check out similar questions:

20
Using SurfaceTexture with RenderScript
17
OpenGL Vertex Buffer Confusion
8
How to pass array values ​​to and from Android RenderScript using Allocations
2
Returning a Renderscript Structure from the Renderscript Core
1
RAW format with RenderScript
1
Selecting a vertex buffer object
1
Memory errors using Allocations and RenderScript
0
Transfer primitives (triangles / rectangles) with OpenGL ES 2.0
0
opengl vertex buffer
0
Is there a way to use vertex buffer objects in Android OpenGL ES 2.0 from Java?



All Articles
Loading...
X
Show
Funny
Dev
Pics