macOS/ARM: Make gpu::SwitchableGPUsSupported always return true
This flag gates whether or not we specify kCGLPFAAllowOfflineRenderers, and whether or not we call CGLSetVirtualScreen to manually migrate our compositing/raster contexts on GPU switch. ARM DTKs only have the single integrated AGX GPU, and do not recognize external GPUs, so this is necessarily untested. Indications are that it would be a good idea to add this to our initial ARM shipping build. Note that this would enable the flag even on single-GPU systems, because we haven't been able to test multi-GPU detection code on multi-GPU ARM machines (and so this could end up being unused if that code failed to detect the multi-GPU configuration). Bug: 1131312 Change-Id: I38404a8fc380d9f7542f0aaf93f969893815fac2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2522431Reviewed-by:Zhenyao Mo <zmo@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#825578}
Showing
Please register or sign in to comment