vaapi: support allocating buffers without GL
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:Miguel Casas <mcasas@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#544979}
Showing
Please register or sign in to comment