The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

auxiliary: Improve word choice/clarity

+10 -11
+1 -1
src/xrt/auxiliary/ogl/ogl_documentation.h
··· 2 2 // SPDX-License-Identifier: BSL-1.0 3 3 /*! 4 4 * @file 5 - * @brief Header with just documentation. 5 + * @brief Header with only documentation. 6 6 * @author Jakob Bornecrantz <jakob@collabora.com> 7 7 * @ingroup aux_ogl 8 8 */
+1 -2
src/xrt/auxiliary/os/os_hid.h
··· 70 70 /*! 71 71 * Get a numbered feature report. 72 72 * 73 - * If the device doesn't have more than one feature report, just request 74 - * report 0. 73 + * If the device doesn't have more than one feature report, request report 0. 75 74 * 76 75 * @public @memberof os_hid_device 77 76 */
+4 -4
src/xrt/auxiliary/os/os_time.h
··· 125 125 /*! 126 126 * @brief Sleep the given number of nanoseconds, trying harder to be precise. 127 127 * 128 - * On some platforms, there is no way to improve sleep precision easily with some OS-specific state, so we just forward 128 + * On some platforms, there is no way to improve sleep precision easily with some OS-specific state, so we forward 129 129 * to os_nanosleep(). 130 130 * 131 131 * Note that on all platforms, the system scheduler has the final say. ··· 146 146 } 147 147 } 148 148 #endif 149 - // If we fall through from an implementation, or there's no implementation needed for a platform, we just 149 + // If we fall through from an implementation, or there's no implementation needed for a platform, we 150 150 // delegate to the regular os_nanosleep. 151 151 os_nanosleep(nsec); 152 152 } ··· 155 155 /*! 156 156 * @brief Convert a timespec struct to nanoseconds. 157 157 * 158 - * Note that this just does the value combining, no adjustment for epochs is performed. 158 + * Note that this does the value combining, no adjustment for epochs is performed. 159 159 * 160 160 * @ingroup aux_os_time_extra 161 161 */ ··· 171 171 /*! 172 172 * @brief Convert an nanosecond integer to a timespec struct. 173 173 * 174 - * Note that this just does the value splitting, no adjustment for epochs is performed. 174 + * Note that this does the value splitting, no adjustment for epochs is performed. 175 175 * @ingroup aux_os_time_extra 176 176 */ 177 177 static inline void
+1 -1
src/xrt/auxiliary/vk/vk_bundle_init.c
··· 605 605 res = vk->vkEnumerateDeviceExtensionProperties(physical_device, NULL, &prop_count, props); 606 606 vk_check_error_with_free("vkEnumerateDeviceExtensionProperties", res, false, props); 607 607 608 - // Check above returns on failure. 608 + // The preceding check returns on failure. 609 609 *out_props = props; 610 610 *out_prop_count = prop_count; 611 611
+3 -3
src/xrt/auxiliary/vk/vk_helpers.h
··· 39 39 40 40 /*! 41 41 * A bundle of Vulkan functions and objects, used by both @ref comp and @ref 42 - * comp_client. Note that they both have different instances of the object and 43 - * as such VkInstance and so on. 42 + * comp_client. Note that they both have different instances of the object, and 43 + * thus different VkInstance, etc. 44 44 * 45 45 * @ingroup aux_vk 46 46 */ ··· 871 871 vk_locked_submit(struct vk_bundle *vk, VkQueue queue, uint32_t count, const VkSubmitInfo *infos, VkFence fence); 872 872 873 873 /*! 874 - * Set the image layout via a berrier command, takes the pool lock. 874 + * Set the image layout using a barrier command, takes the pool lock. 875 875 * 876 876 * @pre Requires successful call to vk_init_mutex. 877 877 *