How To Improve Opengl Es Display Performance In Android
I am working to improve the video display efficiency of our video conferencing project in android. Video display is implemented in native opengl code. The opengl code is implemente
Solution 1:
glTexSubImage2D() is too slow for video frame rates. With OpenGL ES 1.1 and native code you can load the video frames into textures much faster by avoiding that and using the EGL Image Extensions instead. It is discussed with example code in this article.
With OpenGL ES 2.0, you could also perform the YUV to RGB color space conversion in shader code which is also a major performance improvement for video. I have posted examples of this here on StackOverflow before.
Post a Comment for "How To Improve Opengl Es Display Performance In Android"