Hi !
What is faster: change opengl states (the one that should be changed), glViewport(...), draw object, glBindTexture(...)
glCopyTexSubImage2D(...) for each object I want to render,
or have different rendering contexts for each object, draw object and then glCopyTexSubImage2D...
The problem is that the objects are not known at compile time so I cannot optimize anything.