xrt: Fix some typos that codespell caught

This commit is contained in:
Moses Turner 2022-09-11 23:32:28 -05:00
parent d2860c9f6c
commit 17acb376f9
8 changed files with 8 additions and 8 deletions

View file

@ -439,7 +439,7 @@ SPDX-FileCopyrightText: 2020 Collabora, Ltd. and the Monado contributors
- Major changes - Major changes
- Centralise the logging functionality in Monado to a single util helper. - Centralise the logging functionality in Monado to a single util helper.
Previously most of our logging was done via fprints and gated behind booleans, 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), ([!408](https://gitlab.freedesktop.org/monado/monado/merge_requests/408),
[!409](https://gitlab.freedesktop.org/monado/monado/merge_requests/409)) [!409](https://gitlab.freedesktop.org/monado/monado/merge_requests/409))
- XRT Interface - XRT Interface

View file

@ -1168,7 +1168,7 @@ process_load_image(class Calibration &c, struct xrt_frame *xf)
std::swap(c.num_wait_for, num_wait_for); std::swap(c.num_wait_for, num_wait_for);
for (uint32_t i = 0; i < c.load.num_images; i++) { 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) { if (c.state.calibrated) {
break; break;
} }

View file

@ -74,7 +74,7 @@ public:
friend SharedThreadGroup; friend SharedThreadGroup;
// No default contstructor. // No default constructor.
SharedThreadPool() = delete; SharedThreadPool() = delete;
// No move. // No move.
SharedThreadPool(SharedThreadPool &&) = delete; SharedThreadPool(SharedThreadPool &&) = delete;

View file

@ -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 * 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" * 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, * 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 * 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 * 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 * such overflow. So timestamps needs to be converted resonably soon after they

View file

@ -2,7 +2,7 @@
// SPDX-License-Identifier: BSL-1.0 // SPDX-License-Identifier: BSL-1.0
/*! /*!
* @file * @file
* @brief Prining helper code. * @brief Printing helper code.
* *
* @author Jakob Bornecrantz <jakob@collabora.com> * @author Jakob Bornecrantz <jakob@collabora.com>
* @author Christoph Haag <christoph.haag@collabora.com> * @author Christoph Haag <christoph.haag@collabora.com>

View file

@ -167,7 +167,7 @@ comp_window_direct_create_surface(struct comp_target_swapchain *cts,
return ret; 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 = VkDisplayPlanePropertiesKHR *plane_properties =
U_TYPED_ARRAY_CALLOC(VkDisplayPlanePropertiesKHR, plane_property_count); U_TYPED_ARRAY_CALLOC(VkDisplayPlanePropertiesKHR, plane_property_count);

View file

@ -431,7 +431,7 @@ update_mesh_discriptor_set(struct vk_bundle *vk,
/* /*
* *
* 'Exported' target resourecs functions. * 'Exported' target resources functions.
* *
*/ */

View file

@ -104,7 +104,7 @@ void
gui_window_record_render(struct gui_record_window *rw, struct gui_program *p); 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 * this function on the main gui thread, and that nothing is pushing into the
* record windows sink. * record windows sink.
*/ */