• bsheedy's avatar
    Add support for VR frame buffer dumps in render tests · 3c870ab9
    bsheedy authored
    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: default avatarPeter Conn <peconn@chromium.org>
    Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#607340}
    3c870ab9
BUILD.gn 71.4 KB