1// Copyright 2021-2024 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5include::{generated}/meta/{refprefix}VK_FUCHSIA_external_semaphore.adoc[] 6 7=== Other Extension Metadata 8 9*Last Modified Date*:: 10 2021-03-08 11*IP Status*:: 12 No known IP claims. 13*Contributors*:: 14 - Craig Stout, Google 15 - John Bauman, Google 16 - John Rosasco, Google 17 18=== Description 19 20An application using external memory may wish to synchronize access to that 21memory using semaphores. 22This extension enables an application to export semaphore payload to and 23import semaphore payload from Zircon event handles. 24 25include::{generated}/interfaces/VK_FUCHSIA_external_semaphore.adoc[] 26 27=== Issues 28 291) Does the application need to close the Zircon event handle returned by 30flink:vkGetSemaphoreZirconHandleFUCHSIA? 31 32*RESOLVED*: Yes, unless it is passed back in to a driver instance to import 33the semaphore. 34A successful get call transfers ownership of the Zircon event handle to the 35application, and a successful import transfers it back to the driver. 36Destroying the original semaphore object will not close the Zircon event 37handle nor remove its reference to the underlying semaphore resource 38associated with it. 39 40=== Version History 41 42 * Revision 1, 2021-03-08 (John Rosasco) 43 ** Initial revision 44