• Alexandre Courbot's avatar
    vaapi: support allocating buffers without GL · 64390b3c
    Alexandre Courbot authored
    VDAs can be created without any GL context. In this case,
    VaapiPictureFactory fails to return pictures since it cannot rely on the
    GL implementation to decide an allocation method. Turn to Ozone in such
    a case, since this is the most sensible candidate and we plan to use
    this feature in unit tests mainly.
    
    BUG=819542
    TEST=Verified that vdatest was still passing on eve, hana and kevin
    
    Change-Id: I08484d1619f32a6bf7613f3cb4663314a1f67c72
    Reviewed-on: https://chromium-review.googlesource.com/961779Reviewed-by: default avatarMiguel Casas <mcasas@chromium.org>
    Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#544979}
    64390b3c
vaapi_picture_factory.cc 3.54 KB