mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
Only allocate using minigbm if scanout bind is request (which can indicate that the buffer is to be shared until a proper virgl bind flag for shared is available), but if that fails because the format is not supported for scanout, retry the minigbm allocation with the scanout flag. BUG=chromium:945033 TEST=None Change-Id: Ib99bf01c8b9c2a98b1c0d1a8592d5f7c6e1aa859 Reviewed-on: https://chromium-review.googlesource.com/1569025 Commit-Ready: David Riley <davidriley@chromium.org> Tested-by: David Riley <davidriley@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |