[opengl] No more state caching to avoid calling glBindTexture. This allows to make TextureUnit disappear.