The open source OpenXR runtime

compositor: Improve word choice/clarity

+8 -8
+1 -1
src/xrt/compositor/client/comp_gl_client.h
··· 45 45 uint32_t tex_target; 46 46 47 47 /*! 48 - * The compositor this swapchain was created on. Used when swapchain functions need access to the GL context. 48 + * The compositor this swapchain was created on. Used when swapchain functions need to use the GL context. 49 49 * 50 50 * Not an owning pointer. 51 51 */
+1 -1
src/xrt/compositor/client/comp_gl_memobj_swapchain.h
··· 37 37 38 38 /*! 39 39 * Create a swapchain, belonging to a client_gl_compositor, that uses 40 - * GL_memory_object and related extensions to access the native buffer. 40 + * GL_memory_object and related extensions to use the native buffer. 41 41 * 42 42 * This is most commonly used on desktop OpenGL. 43 43 *
+1 -1
src/xrt/compositor/client/comp_gl_xlib_client.h
··· 38 38 39 39 /*! 40 40 * Temporary storage for "current" OpenGL context while app_context is 41 - * made current via context_begin/context_end. We only need one because 41 + * made current using context_begin/context_end. We only need one because 42 42 * app_context can only be made current in one thread at a time too. 43 43 */ 44 44 struct client_gl_context temp_context;
+1 -1
src/xrt/compositor/main/comp_target_swapchain.c
··· 30 30 */ 31 31 32 32 /*! 33 - * These formats will be 'preferred' - in future we may wish to give preference 33 + * These formats will be 'preferred' - we may wish to give preference 34 34 * to higher bit depths if they are available, but most display devices we are 35 35 * interested in should support one these. 36 36 */
+1 -1
src/xrt/compositor/main/comp_window.h
··· 48 48 comp_window_wayland_create(struct comp_compositor *c); 49 49 50 50 /*! 51 - * Create a direct surface to a HMD via Wayland. 51 + * Create a direct surface to a HMD using Wayland. 52 52 * 53 53 * @ingroup comp 54 54 */
+1 -1
src/xrt/compositor/main/comp_window_direct_wayland.c
··· 143 143 lease->leased_fd = -1; 144 144 } 145 145 146 - COMP_DEBUG(lease->w->base.base.c, "Lease has been terminated"); 146 + COMP_DEBUG(lease->w->base.base.c, "Lease has been closed"); 147 147 lease->finished = true; 148 148 } 149 149
+1 -1
src/xrt/compositor/shaders/distortion.comp
··· 43 43 dist_uv = dist_uv + extent_pixel_size / 2.0; 44 44 45 45 46 - // In order to correctly sample we need to put position (0, 0) in the 46 + // To correctly sample we need to put position (0, 0) in the 47 47 // middle of the (0, 0) texel in the distortion texures. That's why we 48 48 // offset with half the texel size, pushing all samples into the middle 49 49 // of each texels, a kin to a vertex buffer. We need to put uv coord
+1 -1
src/xrt/compositor/util/comp_vulkan.c
··· 135 135 char buffer[UUID_STR_SIZE] = {0}; 136 136 snprint_uuid(buffer, ARRAY_SIZE(buffer), &vk_res->client_gpu_deviceUUID); 137 137 138 - // Trailing space above, means 'to' should be right next to '%s'. 138 + // Trailing space from snprint_uuid, means 'to' should be right next to '%s'. 139 139 VK_DEBUG(vk, "Suggest %d with uuid: %sto clients", vk_res->client_gpu_index, buffer); 140 140 141 141 if (get_device_luid(vk, vk_res->client_gpu_index, &vk_res->client_gpu_deviceLUID)) {