Share OpenGL context for fast resolution change