Commit 1694425c authored by Sunny Sachanandani's avatar Sunny Sachanandani Committed by Commit Bot

Enable GPU thread priority finch flags on Windows by default

In preparation for launching this on stable channel per go/finch101.

Bug: 965778
Change-Id: I244791af79f2ef04b4dbd16f662cf2cc9fa54994
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949844Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721344}
parent 7e7af08d
...@@ -72,11 +72,11 @@ const base::Feature kDirectCompositionUnderlays{ ...@@ -72,11 +72,11 @@ const base::Feature kDirectCompositionUnderlays{
#if defined(OS_WIN) #if defined(OS_WIN)
// Use a high priority for GPU process on Windows. // Use a high priority for GPU process on Windows.
const base::Feature kGpuProcessHighPriorityWin{ const base::Feature kGpuProcessHighPriorityWin{
"GpuProcessHighPriorityWin", base::FEATURE_DISABLED_BY_DEFAULT}; "GpuProcessHighPriorityWin", base::FEATURE_ENABLED_BY_DEFAULT};
#endif #endif
// Use ThreadPriority::DISPLAY for GPU main, viz compositor and IO threads. // Use ThreadPriority::DISPLAY for GPU main, viz compositor and IO threads.
#if defined(OS_ANDROID) || defined(OS_CHROMEOS) #if defined(OS_ANDROID) || defined(OS_CHROMEOS) || defined(OS_WIN)
const base::Feature kGpuUseDisplayThreadPriority{ const base::Feature kGpuUseDisplayThreadPriority{
"GpuUseDisplayThreadPriority", base::FEATURE_ENABLED_BY_DEFAULT}; "GpuUseDisplayThreadPriority", base::FEATURE_ENABLED_BY_DEFAULT};
#else #else
......
...@@ -374,7 +374,7 @@ const base::Feature kVerifyHTMLFetchedFromAppCacheBeforeDelay{ ...@@ -374,7 +374,7 @@ const base::Feature kVerifyHTMLFetchedFromAppCacheBeforeDelay{
// compositor & IO threads. // compositor & IO threads.
const base::Feature kBlinkCompositorUseDisplayThreadPriority { const base::Feature kBlinkCompositorUseDisplayThreadPriority {
"BlinkCompositorUseDisplayThreadPriority", "BlinkCompositorUseDisplayThreadPriority",
#if defined(OS_ANDROID) || defined(OS_CHROMEOS) #if defined(OS_ANDROID) || defined(OS_CHROMEOS) || defined(OS_WIN)
base::FEATURE_ENABLED_BY_DEFAULT base::FEATURE_ENABLED_BY_DEFAULT
#else #else
base::FEATURE_DISABLED_BY_DEFAULT base::FEATURE_DISABLED_BY_DEFAULT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment