Update pixel video test to use correct dimensions.
1. Update 2 pixel video tests to use dimensions within the actual physical device limits. These tests were using the video player and test rectangle width which was overflowing the actual physical device width. Hence we were getting assert when taking a screenshot of the video and cropping it with the test rectangle because the test rectangle width was more than the screenshot width. 2. Update the color expectations for 4 tests accordingly. 3. Add viewport metadata for this page to scale correctly on mobile devices. 4.This CL fixes 2 tests on android - Pixel_Video_MP4_FourColors_Rot_90 and Pixel_Video_MP4_FourColors_Rot_270. Remove the test expectations from pixel_expectations.txt. 5. This CL updates 2 tests running on windows - Pixel_DirectComposition_Video_MP4_FourColors_Rot_90 and Pixel_DirectComposition_Video_MP4_FourColors_Rot_270. Bug: 925744 Change-Id: I3d15256675b538b6be5a4c8f5318c1949c0ab271 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1699145 Commit-Queue: vikas soni <vikassoni@chromium.org> Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Reviewed-by:
Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#678550}
Showing
Please register or sign in to comment