|
Bad performance about display YUV data via OpenGL ES
Posted at 8/31/2016 15:20:15
View:3895
|
Replies:1
Print
Only Author
[Copy Link]
1#
When I use Android 5.1 and call the following OpenGL function, it took too much time.glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, 3840 / 2, 2160 / 2, 0, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, uv_data);
It will take about 94ms to send data to GPU.
But when I use Android 4.4.2 (SD boot), it works fine!
I can update 25 frame per second.
What can I do to solve this problem on Android 5.1?
|
|