2424 */
2525
2626/* *
27- * @file
28- * Declares the root class for layer management of VkDevice objects.
27+ * @file Declares the root class for layer management of VkDevice objects.
2928 *
3029 * Role summary
3130 * ============
4140 * Key properties
4241 * ==============
4342 *
44- * Unlike EGL contexts, Vulkan devices are designed to be used concurrently by
45- * multiple application threads. An application can have multiple concurrent
46- * devices (although this is less common than with OpenGL ES applications), and
47- * use each device from multiple threads.
43+ * Vulkan devices are designed to be used concurrently by multiple application
44+ * threads. An application can have multiple concurrent devices, and use each
45+ * device from multiple threads.
4846 *
4947 * Access to the layer driver structures must therefore be kept thread-safe.
5048 * For sake of simplicity, we generally implement this by:
@@ -80,6 +78,8 @@ class Device
8078 * @brief Fetch a device from the global store of dispatchable devices.
8179 *
8280 * @param handle The dispatchable device handle to use as an indirect lookup.
81+ *
82+ * @return The layer device context.
8383 */
8484 static Device* retrieve (
8585 VkDevice handle);
@@ -88,6 +88,8 @@ class Device
8888 * @brief Fetch a device from the global store of dispatchable devices.
8989 *
9090 * @param handle The dispatchable queue handle to use as an indirect lookup.
91+ *
92+ * @return The layer device context.
9193 */
9294 static Device* retrieve (
9395 VkQueue handle);
@@ -96,6 +98,8 @@ class Device
9698 * @brief Fetch a device from the global store of dispatchable devices.
9799 *
98100 * @param handle The dispatchable command buffer handle to use as an indirect lookup.
101+ *
102+ * @return The layer device context.
99103 */
100104 static Device* retrieve (
101105 VkCommandBuffer handle);
@@ -125,7 +129,7 @@ class Device
125129 /* *
126130 * @brief Destroy this layer device object.
127131 */
128- ~Device ();
132+ ~Device () = default ;
129133
130134public:
131135 /* *
0 commit comments