1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Add Vulkan functions to thread safety section

This commit is contained in:
Camilla Berglund 2016-02-18 15:16:03 +01:00
parent 5e5fea2293
commit 65870346e4

View File

@ -250,6 +250,15 @@ version related functions may be called from any thread:
- @ref glfwGetVersion - @ref glfwGetVersion
- @ref glfwGetVersionString - @ref glfwGetVersionString
Vulkan objects may be created and information queried from any thread. The
following Vulkan related functions may be called from any thread:
- @ref glfwVulkanSupported
- @ref glfwGetRequiredInstanceExtensions
- @ref glfwGetInstanceProcAddress
- @ref glfwGetPhysicalDevicePresentationSupport
- @ref glfwCreateWindowSurface
GLFW uses no synchronization objects internally except for thread-local storage GLFW uses no synchronization objects internally except for thread-local storage
to keep track of the current context for each thread. Synchronization is left to keep track of the current context for each thread. Synchronization is left
to the application. to the application.