This change looks small, but it switches the entire 3D viewport from legacy OpenGL functions to our own code. Kept non-modern viewport on legacy path so we can compare easily (via the Modern Viewport checkbox). Part of T49450
This change looks small, but it switches the entire 3D viewport from legacy OpenGL functions to our own code. Kept non-modern viewport on legacy path so we can compare easily (via the Modern Viewport checkbox). Part of T49450