Add support for VR frame buffer dumps in render tests
Adds support for using render tests for VR UI through VR's ability to dump the frame buffer to disk. We can't use the standard approach of passing RenderTestRule a View to render since most of the VR UI is rendered natively using Skia. Instead, we refactor RenderTestRule slightly to support taking either a View or a Bitmap, then pass it the Bitmap of the frame buffer dump. Bug: 904012 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:linux_vr;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Icebfff58cea4ac8ab29fb4dbadc715d729729eda Reviewed-on: https://chromium-review.googlesource.com/c/1241471Reviewed-by:Peter Conn <peconn@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#607340}
Showing
449 KB
449 KB
364 KB
482 KB
483 KB