Add an API for the pixels test to check whether swapchains are promoted to HW overlay |
|||
Issue descriptionOS: Win10 Platform: Intel GPU After creating this new API, the pixel tests can access this API from JavaScript to get the current composition mode and construct the test to failure if the swapchain is not promoted to HW overlay.
,
Oct 12
Taking this from magchen
,
Today
(9 hours ago)
Per piman@ feedback on my first attempt of this issue [1], we are going down a different path. Instead of adding a gpu_benchmarking test API, we are going to add disable_by_default tracing event for various video frame presentation mode, and verify through trace_test that the expected mode happened. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1419158 |
|||
►
Sign in to add a comment |
|||
Comment 1 by kbr@chromium.org
, Jul 25src/content/renderer/gpu/gpu_benchmarking_extension.{cc,h} is the best place to add a testing-only JavaScript API accessible to the GPU pixel tests.