Remove feature GpuProcessHighPriorityWin.
It's fully enabled on Windows for a few years now. TEST=bots Bug: 40628534 Change-Id: I81b77bd30bbb31f35ac0fca903d8b95958d2d0c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5710568 Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Auto-Submit: Zhenyao Mo <zmo@chromium.org> Commit-Queue: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1327908}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
1ab36084e3
commit
dca79a2800
@ -248,8 +248,9 @@ int GpuMain(MainFunctionParams parameters) {
|
||||
base::win::ScopedCOMInitializer com_initializer(
|
||||
base::win::ScopedCOMInitializer::kMTA);
|
||||
|
||||
if (base::FeatureList::IsEnabled(features::kGpuProcessHighPriorityWin))
|
||||
::SetPriorityClass(::GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
|
||||
// A higher priority class is used for the GPU process so that it remains at
|
||||
// a higher priority than renderer processes.
|
||||
::SetPriorityClass(::GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
|
||||
#endif
|
||||
|
||||
// Installs a base::LogMessageHandlerFunction which ensures messages are sent
|
||||
|
@ -199,11 +199,6 @@ BASE_FEATURE(kDawnSIRepsUseClientProvidedInternalUsages,
|
||||
base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
// Use a high priority for GPU process on Windows.
|
||||
BASE_FEATURE(kGpuProcessHighPriorityWin,
|
||||
"GpuProcessHighPriorityWin",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
|
||||
// Disable overlay promotion for clear video quads when their MPO quad would
|
||||
// move.
|
||||
BASE_FEATURE(kDisableVideoOverlayIfMoving,
|
||||
|
@ -47,8 +47,6 @@ GPU_EXPORT BASE_DECLARE_FEATURE(kEnableMSAAOnNewIntelGPUs);
|
||||
GPU_EXPORT BASE_DECLARE_FEATURE(kDawnSIRepsUseClientProvidedInternalUsages);
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
GPU_EXPORT BASE_DECLARE_FEATURE(kGpuProcessHighPriorityWin);
|
||||
|
||||
GPU_EXPORT BASE_DECLARE_FEATURE(kDisableVideoOverlayIfMoving);
|
||||
|
||||
GPU_EXPORT BASE_DECLARE_FEATURE(kNoUndamagedOverlayPromotion);
|
||||
|
Reference in New Issue
Block a user