• David Staessens's avatar
    media/gpu/test: Change logic to disable frame validation in video decoder tests. · 78d7ad31
    David Staessens authored
    This CL changes the logic used to disable frame validation when running the
    video_decode_accelerator_tests binary. Currently when '--disable_validator' is
    specified the frame validator will be disabled and the thumbnail test will be
    run.
    
    This CL changes this logic to automatically switch to the thumnail test when
    support for import mode is not detected. The '--disable_validator' parameter is
    now used to both disable the video frame validator (on platforms supporting
    import mode) and the thumbnail test (on platforms only supporting allocate
    mode).
    
    TEST=./video_decode_accelerator_tests on nyan_big
    
    BUG=None
    
    Change-Id: Ia79acd8557ad102ac6ab4c97a5d1502818a14a83
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1688493
    Commit-Queue: David Staessens <dstaessens@chromium.org>
    Reviewed-by: default avatarHirokazu Honda <hiroh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#676238}
    78d7ad31
video_decoder_test_usage.md 3.69 KB