ParallelCompile: Adjust the max compiler threads for WebGL
If the extension hasn't been requested, the limit is 2, otherwise at least 4 and no more than half of hardware_concurrency(). Bug: 953687 Change-Id: I3051a4ee18b10c6c21487f7e06a6170aed1b5e87 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1575970 Commit-Queue: Kenneth Russell <kbr@chromium.org> Reviewed-by:Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/heads/master@{#653669}
Showing
Please register or sign in to comment