Redirection of windows to GL textures