commit | a499e447f37db10193c6e075e655ec13c1e62309 | [log] [tgz] |
---|---|---|
author | Yahan Zhou <[email protected]> | Tue Feb 26 16:35:01 2019 -0800 |
committer | Lingfeng Yang <[email protected]> | Fri Mar 01 08:29:08 2019 -0800 |
tree | 06bee33d6e5755385bab595b1f9803fa3c0f7509 | |
parent | 19e374e2e4e8f6d6a8db2af93b101e68c72856b3 [diff] |
Vulkan semaphore opaque fd support This CL adds Vulkan semaphore opaque fd support. It associates guest fd with host fd by creating a guest mem file and write the host fd into it. However, they are not 1 to 1 especially when dup() is used on guest fd, which results in fd leaks. It fixes dEQP VK must-pass opaque_fd tests, though. BUG: 123905820 + Patch up on_vkCreateSemaphore to keep extension structs when on Android. Change-Id: Id7d2b4e0e66d08db51d4407883ace819ec1c1a32