
When SkiaGraphite is not enabled, turning on dedicated media service thread will introduce rendering performance regression on Windows. If Ganesh is used or when dawn is not backed by either D3D11 or D3D12, we run media service on GPU main to avoid turning on multi-thread protection. Bug: 375237130 Change-Id: Ic7cbffacb3d59ae202ba8232cb571845c6394ca2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5965653 Commit-Queue: Jianlin Qiu <jianlin.qiu@intel.com> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1379393}