-
There're two issues with the current implementation: 1. Wait semaphores are implicitly required to be SYNC_FD exportable 2. As a queue command that can further record cmds against the wsi image, it currently doesn't account for pending cmds in the queue beyond the wait semaphores. This change fixes both by doing a queue submission in the call with a SYNC_FD external signal semaphore. However, due to Android wsi not exposing swapchain to icd, we have to cache the signal semaphore in the queue, otherwise would have to create/destroy in each present. Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <!25185>
3c4c263d