NEW 220844
WebGL powerPreference cannot be tested due to tests needing to run while no other test is run
https://bugs.webkit.org/show_bug.cgi?id=220844
Summary WebGL powerPreference cannot be tested due to tests needing to run while no o...
Kimmo Kinnunen
Reported 2021-01-22 00:12:26 PST
WebGL powerPreference cannot be tested due to tests needing to run while no other test is run The powerPreference tests should test sequences related to integrated GPU switches to discrete GPU and vice versa. This needs the feature that such tests could be marked as "run singly", e.g. so that no other test would be run. This is needed because other WebGL tests are sensitive to which GPU is being selected, and it is no good if the GPU which tests are run is not deterministic.
Attachments
Kenneth Russell
Comment 1 2021-01-23 12:17:33 PST
Such a test also generally needs to run on dual-GPU Mac laptops in order to test the browser is properly using the integrated or discrete GPU. In case they're useful, here are some of the tests of this functionality that Chromium runs. Happy to answer any questions about how they work. https://source.chromium.org/chromium/chromium/src/+/master:content/test/gpu/gpu_tests/gpu_process_integration_test.py;l=483
Radar WebKit Bug Importer
Comment 2 2021-01-29 00:13:13 PST
Note You need to log in before you can comment on or make changes to this bug.