The open source OpenXR runtime
0
fork

Configure Feed

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

c/null: Small Cleanups

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>

+11 -10
+1 -1
src/xrt/compositor/null/null_compositor.c
··· 4 4 * @file 5 5 * @brief Null compositor implementation. 6 6 * 7 - * Based on src/xrt/compositor/main/comp_compositor.c 7 + * Originally based on src/xrt/compositor/main/comp_compositor.c 8 8 * 9 9 * @author Jakob Bornecrantz <jakob@collabora.com> 10 10 * @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
+8 -7
src/xrt/compositor/null/null_compositor.h
··· 1 - // Copyright 2019-2022, Collabora, Ltd. 1 + // Copyright 2019-2024, Collabora, Ltd. 2 2 // SPDX-License-Identifier: BSL-1.0 3 3 /*! 4 4 * @file 5 - * @brief Header for null compositor. 5 + * @brief Internal header for null compositor. 6 6 * 7 - * Based on src/xrt/compositor/main/comp_compositor.h 7 + * Originally based on src/xrt/compositor/main/comp_compositor.h 8 8 * 9 9 * @author Jakob Bornecrantz <jakob@collabora.com> 10 10 * @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com> ··· 14 14 15 15 #pragma once 16 16 17 - #include "xrt/xrt_gfx_vk.h" 18 17 #include "xrt/xrt_instance.h" 19 18 20 - #include "os/os_time.h" 21 - 22 - #include "util/u_threading.h" 23 19 #include "util/u_logging.h" 24 20 #include "util/u_pacing.h" 25 21 26 22 #include "util/comp_base.h" 23 + 24 + #include <stdint.h> 27 25 28 26 29 27 #ifdef __cplusplus 30 28 extern "C" { 31 29 #endif 30 + 31 + struct xrt_device; 32 + struct u_pacing_compositor; 32 33 33 34 /*! 34 35 * @defgroup comp_null Null compositor
+2 -2
src/xrt/compositor/null/null_interfaces.h
··· 1 - // Copyright 2019-2022, Collabora, Ltd. 1 + // Copyright 2019-2024, Collabora, Ltd. 2 2 // SPDX-License-Identifier: BSL-1.0 3 3 /*! 4 4 * @file ··· 11 11 12 12 #pragma once 13 13 14 - #include "xrt/xrt_compiler.h" 14 + #include "xrt/xrt_results.h" 15 15 16 16 17 17 #ifdef __cplusplus