[gpu] Add GL performance log suppression
Suppress GL_DEBUG_TYPE_PERFORMANCE log messages for web tests that can get sent to the JS console and cause unnecessary test failures due to test output log expectation comparisons. Tested by removing suppressions for tests due to such failures in PS5 and adding mac-skia-alt-arm64-blink-rel bot. Bug: 374090995 Change-Id: Id211e17e0f92f29af2faaadb9f806323162d9437 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6018367 Commit-Queue: Saifuddin Hitawala <hitawala@chromium.org> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/main@{#1382695}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
1989a59ce8
commit
e608efe630
content
gpu
@@ -290,6 +290,7 @@ static const char* const kSwitchNames[] = {
|
||||
switches::kUseGpuInTests,
|
||||
switches::kWatchDirForScrollJankReport,
|
||||
switches::kWebViewDrawFunctorUsesVulkan,
|
||||
switches::kSuppressPerformanceLogs,
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
sandbox::policy::switches::kEnableSandboxLogging,
|
||||
sandbox::policy::switches::kDisableMetalShaderCache,
|
||||
|
@@ -284,6 +284,11 @@ void WebTestBrowserMainRunner::Initialize() {
|
||||
// We want stable/baseline results when running web tests.
|
||||
command_line.AppendSwitch(switches::kDisableSkiaRuntimeOpts);
|
||||
|
||||
// Suppress GL_DEBUG_TYPE_PERFORMANCE log messages that can get sent to the JS
|
||||
// console and cause unnecessary test failures due test output log expectation
|
||||
// comparisons.
|
||||
command_line.AppendSwitch(switches::kSuppressPerformanceLogs);
|
||||
|
||||
command_line.AppendSwitch(switches::kDisallowNonExactResourceReuse);
|
||||
|
||||
// Always run with fake media devices.
|
||||
|
Reference in New Issue
Block a user