Closed Squareys closed 1 year ago
Ah I thought this was a PR already :)
I'd say having flags Flag::PowerPreferenceLowPower
and Flag::PowerPreferenceHighPerformance
would make sense, and the default would be if neither is chosen. And keeping the old one, annotated as deprecated, for backwards compatibility.
Implemented in e9c44739f2a89b49816b4cae5334705a01c6e15e.
Hi all,
in WebGL, there is the option to set powerPreference to prefer high performance or low power consumption, or default. The final value is currently not supported in EmscriptenApplication, but is supported in emscripten.
There might be usecases where letting the User Agent (Browser) choose the power preference is wanted.
Best, Jonathan