OpenGL glTexSubImage2D very slow – a solution!

This article describes a possible reason glTexSubImage2D may be slow. Recently I was working on a piece of code that updated a texture with a camera frame. The application was using the fixed function (non shaders) pipeline of OpenGL. Whilst I didn’t notice it at first, I soon found that the camera image was very [..more..]