This provides control over whether the context should participate in macOS Automatic Graphics Switching. Closes #377. Closes #935.