From 17acb376f96b57a2c293fe9fec7df8f473a00399 Mon Sep 17 00:00:00 2001 From: Moses Turner Date: Sun, 11 Sep 2022 23:32:28 -0500 Subject: [PATCH] xrt: Fix some typos that codespell caught --- doc/CHANGELOG.md | 2 +- src/xrt/auxiliary/tracking/t_calibration.cpp | 2 +- src/xrt/auxiliary/util/u_worker.hpp | 2 +- src/xrt/auxiliary/vk/vk_helpers.h | 2 +- src/xrt/auxiliary/vk/vk_print.c | 2 +- src/xrt/compositor/main/comp_window_direct.c | 2 +- src/xrt/compositor/render/render_gfx.c | 2 +- src/xrt/state_trackers/gui/gui_window_record.h | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index e69479380..a50c192a0 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -439,7 +439,7 @@ SPDX-FileCopyrightText: 2020 Collabora, Ltd. and the Monado contributors - Major changes - Centralise the logging functionality in Monado to a single util helper. Previously most of our logging was done via fprints and gated behind booleans, - now there are common functions to call and a predfined set of levels. + now there are common functions to call and a predefined set of levels. ([!408](https://gitlab.freedesktop.org/monado/monado/merge_requests/408), [!409](https://gitlab.freedesktop.org/monado/monado/merge_requests/409)) - XRT Interface diff --git a/src/xrt/auxiliary/tracking/t_calibration.cpp b/src/xrt/auxiliary/tracking/t_calibration.cpp index e633e81d9..0bffc2bff 100644 --- a/src/xrt/auxiliary/tracking/t_calibration.cpp +++ b/src/xrt/auxiliary/tracking/t_calibration.cpp @@ -1168,7 +1168,7 @@ process_load_image(class Calibration &c, struct xrt_frame *xf) std::swap(c.num_wait_for, num_wait_for); for (uint32_t i = 0; i < c.load.num_images; i++) { - // Early out if the user requeted less images. + // Early out if the user requested less images. if (c.state.calibrated) { break; } diff --git a/src/xrt/auxiliary/util/u_worker.hpp b/src/xrt/auxiliary/util/u_worker.hpp index b38229f08..a2e8a4de6 100644 --- a/src/xrt/auxiliary/util/u_worker.hpp +++ b/src/xrt/auxiliary/util/u_worker.hpp @@ -74,7 +74,7 @@ public: friend SharedThreadGroup; - // No default contstructor. + // No default constructor. SharedThreadPool() = delete; // No move. SharedThreadPool(SharedThreadPool &&) = delete; diff --git a/src/xrt/auxiliary/vk/vk_helpers.h b/src/xrt/auxiliary/vk/vk_helpers.h index 181f83a2f..44ebd7141 100644 --- a/src/xrt/auxiliary/vk/vk_helpers.h +++ b/src/xrt/auxiliary/vk/vk_helpers.h @@ -1356,7 +1356,7 @@ vk_create_timeline_semaphore_from_native(struct vk_bundle *vk, xrt_graphics_sync * Note the timestamp needs to be in the past and not to old, this is because * not all GPU has full 64 bit timer resolution. For instance a Intel GPU "only" * have 36 bits of valid timestamp and a tick period 83.3333 nanosecond, - * equating to an epoch of 5726 seconds before overflowing. The functio can + * equating to an epoch of 5726 seconds before overflowing. The function can * handle overflows happening between the given timestamps and when it is called * but only for one such epoch overflow, any more will only be treated as one * such overflow. So timestamps needs to be converted resonably soon after they diff --git a/src/xrt/auxiliary/vk/vk_print.c b/src/xrt/auxiliary/vk/vk_print.c index 486eadf1d..60745786f 100644 --- a/src/xrt/auxiliary/vk/vk_print.c +++ b/src/xrt/auxiliary/vk/vk_print.c @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BSL-1.0 /*! * @file - * @brief Prining helper code. + * @brief Printing helper code. * * @author Jakob Bornecrantz * @author Christoph Haag diff --git a/src/xrt/compositor/main/comp_window_direct.c b/src/xrt/compositor/main/comp_window_direct.c index f6ce74fbb..e478a3427 100644 --- a/src/xrt/compositor/main/comp_window_direct.c +++ b/src/xrt/compositor/main/comp_window_direct.c @@ -167,7 +167,7 @@ comp_window_direct_create_surface(struct comp_target_swapchain *cts, return ret; } - COMP_DEBUG(cts->base.c, "Found %d plane properites.", plane_property_count); + COMP_DEBUG(cts->base.c, "Found %d plane properties.", plane_property_count); VkDisplayPlanePropertiesKHR *plane_properties = U_TYPED_ARRAY_CALLOC(VkDisplayPlanePropertiesKHR, plane_property_count); diff --git a/src/xrt/compositor/render/render_gfx.c b/src/xrt/compositor/render/render_gfx.c index 89dd1128c..197282b27 100644 --- a/src/xrt/compositor/render/render_gfx.c +++ b/src/xrt/compositor/render/render_gfx.c @@ -431,7 +431,7 @@ update_mesh_discriptor_set(struct vk_bundle *vk, /* * - * 'Exported' target resourecs functions. + * 'Exported' target resources functions. * */ diff --git a/src/xrt/state_trackers/gui/gui_window_record.h b/src/xrt/state_trackers/gui/gui_window_record.h index a8ce60a13..a89006bf7 100644 --- a/src/xrt/state_trackers/gui/gui_window_record.h +++ b/src/xrt/state_trackers/gui/gui_window_record.h @@ -104,7 +104,7 @@ void gui_window_record_render(struct gui_record_window *rw, struct gui_program *p); /*! - * Frees all resources assocciated with a record window. Make sure to only call + * Frees all resources associated with a record window. Make sure to only call * this function on the main gui thread, and that nothing is pushing into the * record windows sink. */