I found that the default behavior of bindTexture in Qt4 is extremely slow:
bindTexture(image,target,format,LinearFilteringBindOption | InvertedYBindOption | MipmapBindOption)
using only LinearFilteringBindOption in binding options speeds up a lot, this is my current call:
bindTexture(image, GL_TEXTURE_2D,GL_RGBA,QGLContext::LinearFilteringBindOption);
more details here : loading time for the 3800x2850 bmp file has been reduced from 2 seconds to 34 milliseconds
Of course, if you need mipmapping, this is not a solution. In this case, I think the path is the pixel objects of the buffer.
louissmr
source share