I have a WebGL context, created with powerPreference option:
const gl = canvas.getContext('webgl2', {
powerPreference: 'high-performance',
});
in Safari, after disabling "WebGL via Metal" experimental feature, it switches to discrete GPU, but in Tauri this isn't the case
I thought Safari tells WebKit somehow to disable Metal, so looked for some docs:
https://trac.webkit.org/wiki/FeatureFlags
https://trac.webkit.org/wiki/EnvironmentVariables
but there's no such thing there