Standardize GPU browser argument logic
Refactors the GPU Telemetry code to do the following: 1. Move arguments that are used more than once to constants in a new file. 2. Standardize how browser arguments are determined. Now, tests only call either CustomizeBrowserArgs() or RestartBrowserIfNecessaryWithArgs() with any non-default args to use. The base class now handles application of child class-specific default arguments using the GenerateBrowserArgs() class method. 3. Move the --disable-metal-test-shaders argument to be applied to all GPU tests, not just WebGL ones. Bug: 1085899, 1090480 Change-Id: I9f73d5953420cb5b5c8bd3f71d4b091751a92595 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300801 Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Reviewed-by:Yuly Novikov <ynovikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#789137}
Showing
This diff is collapsed.
Please register or sign in to comment