The open source OpenXR runtime
0
fork

Configure Feed

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

xrt: add inttypes.h to xrt_compiler.h

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

authored by

Simon Zeni and committed by
Rylie Pavlik
39535666 6847183c

+1 -64
-1
src/xrt/auxiliary/d3d/d3d_d3d11_allocator.cpp
··· 26 26 #include <wil/com.h> 27 27 #include <wil/result.h> 28 28 29 - #include <inttypes.h> 30 29 #include <memory> 31 30 32 31 #define DEFAULT_CATCH(...) \
-1
src/xrt/auxiliary/d3d/d3d_d3d11_fence.cpp
··· 22 22 #include <wil/com.h> 23 23 #include <wil/result.h> 24 24 25 - #include <inttypes.h> 26 25 #include <memory> 27 26 28 27 using namespace std::chrono;
-1
src/xrt/auxiliary/d3d/d3d_d3d12_allocator.cpp
··· 26 26 #include <wil/com.h> 27 27 #include <wil/result.h> 28 28 29 - #include <inttypes.h> 30 29 #include <memory> 31 30 32 31 #define DEFAULT_CATCH(...) \
-1
src/xrt/auxiliary/d3d/d3d_d3d12_fence.cpp
··· 23 23 #include <wil/com.h> 24 24 #include <wil/result.h> 25 25 26 - #include <inttypes.h> 27 26 #include <memory> 28 27 29 28 using namespace std::chrono;
-1
src/xrt/auxiliary/ogl/ogl_helpers.c
··· 13 13 #include "ogl_helpers.h" 14 14 #include "ogl_api.h" // IWYU pragma: keep 15 15 16 - #include <inttypes.h> 17 16 18 17 /*! 19 18 * Check for OpenGL errors, context needs to be current.
-1
src/xrt/auxiliary/os/os_ble_dbus.c
··· 20 20 #include <unistd.h> 21 21 #include <string.h> 22 22 #include <time.h> 23 - #include <inttypes.h> 24 23 #include <dbus/dbus.h> 25 24 26 25
-1
src/xrt/auxiliary/os/os_time.cpp
··· 17 17 18 18 #ifdef XRT_OS_WINDOWS 19 19 20 - #include <inttypes.h> 21 20 #include <chrono> 22 21 23 22 extern "C" uint64_t
-1
src/xrt/auxiliary/tracking/t_tracker_psvr.cpp
··· 35 35 #include <Hungarian.hpp> 36 36 #include <Eigen/Eigen> 37 37 #include <opencv2/opencv.hpp> 38 - #include <inttypes.h> 39 38 40 39 41 40 DEBUG_GET_ONCE_LOG_OPTION(psvr_log, "PSVR_TRACKING_LOG", U_LOGGING_WARN)
-1
src/xrt/auxiliary/util/u_imu_sink_force_monotonic.c
··· 11 11 #include "util/u_trace_marker.h" 12 12 #include "util/u_logging.h" 13 13 14 - #include <inttypes.h> 15 14 16 15 /*! 17 16 * An @ref xrt_imu_sink splitter.
-1
src/xrt/auxiliary/util/u_live_stats.cpp
··· 9 9 10 10 #include "u_live_stats.h" 11 11 12 - #include <inttypes.h> 13 12 #include <algorithm> 14 13 15 14
-1
src/xrt/auxiliary/util/u_pacing_app.c
··· 20 20 21 21 #include <stdio.h> 22 22 #include <assert.h> 23 - #include <inttypes.h> 24 23 25 24 DEBUG_GET_ONCE_LOG_OPTION(log_level, "U_PACING_APP_LOG", U_LOGGING_WARN) 26 25 DEBUG_GET_ONCE_FLOAT_OPTION(min_app_time_ms, "U_PACING_APP_MIN_TIME_MS", 1.0f)
-1
src/xrt/auxiliary/util/u_pacing_compositor.c
··· 19 19 20 20 #include <stdio.h> 21 21 #include <assert.h> 22 - #include <inttypes.h> 23 22 24 23 DEBUG_GET_ONCE_LOG_OPTION(log_level, "U_PACING_COMPOSITOR_LOG", U_LOGGING_WARN) 25 24
-1
src/xrt/auxiliary/util/u_pacing_compositor_fake.c
··· 21 21 22 22 #include <stdio.h> 23 23 #include <assert.h> 24 - #include <inttypes.h> 25 24 26 25 27 26 /*
-1
src/xrt/auxiliary/util/u_sink_force_genlock.c
··· 16 16 17 17 #include <stdio.h> 18 18 #include <pthread.h> 19 - #include <inttypes.h> 20 19 21 20 22 21 /*!
-1
src/xrt/auxiliary/util/u_system_helpers.c
··· 17 17 18 18 #include <assert.h> 19 19 #include <limits.h> 20 - #include <inttypes.h> 21 20 22 21 23 22 /*
-1
src/xrt/auxiliary/util/u_trace_marker.c
··· 16 16 #include "util/u_debug.h" 17 17 #include "util/u_trace_marker.h" 18 18 19 - #include <inttypes.h> 20 19 21 20 22 21 #ifdef U_TRACE_PERCETTO
-1
src/xrt/auxiliary/vk/vk_print.c
··· 12 12 #include "util/u_pretty_print.h" 13 13 #include "vk/vk_helpers.h" 14 14 15 - #include <inttypes.h> 16 15 17 16 /* 18 17 *
-1
src/xrt/compositor/client/comp_d3d11_client.cpp
··· 38 38 #include <wil/result_macros.h> 39 39 40 40 #include <assert.h> 41 - #include <inttypes.h> 42 41 #include <memory> 43 42 #include <stdio.h> 44 43 #include <stdlib.h>
-1
src/xrt/compositor/client/comp_d3d12_client.cpp
··· 37 37 #include <wil/result_macros.h> 38 38 39 39 #include <assert.h> 40 - #include <inttypes.h> 41 40 #include <memory> 42 41 #include <stdio.h> 43 42 #include <stdlib.h>
-1
src/xrt/compositor/client/comp_d3d_common.cpp
··· 13 13 #include "util/u_logging.h" 14 14 #include "util/u_time.h" 15 15 16 - #include <inttypes.h> 17 16 18 17 19 18 #define D3D_COMMON_SPEW(log_level, ...) U_LOG_IFL_T(log_level, __VA_ARGS__);
-1
src/xrt/compositor/client/comp_gl_client.c
··· 30 30 #include "util/u_logging.h" 31 31 #include "util/u_trace_marker.h" 32 32 33 - #include <inttypes.h> 34 33 35 34 36 35 /*
-1
src/xrt/compositor/client/comp_gl_eglimage_swapchain.c
··· 31 31 #include "client/comp_egl_client.h" 32 32 #include "client/comp_gl_eglimage_swapchain.h" 33 33 34 - #include <inttypes.h> 35 34 36 35 #ifdef XRT_GRAPHICS_BUFFER_HANDLE_IS_AHARDWAREBUFFER 37 36 #include <android/hardware_buffer.h>
-1
src/xrt/compositor/client/comp_gl_memobj_swapchain.c
··· 23 23 #include "client/comp_gl_client.h" 24 24 #include "client/comp_gl_memobj_swapchain.h" 25 25 26 - #include <inttypes.h> 27 26 28 27 /*! 29 28 * Down-cast helper.
-1
src/xrt/compositor/main/comp_renderer.c
··· 47 47 #include <stdio.h> 48 48 #include <assert.h> 49 49 #include <math.h> 50 - #include <inttypes.h> 51 50 52 51 53 52 /*
-1
src/xrt/compositor/main/comp_target_swapchain.c
··· 21 21 22 22 #include <assert.h> 23 23 #include <stdlib.h> 24 - #include <inttypes.h> 25 24 26 25 27 26 /*
-1
src/xrt/compositor/main/comp_window_direct.c
··· 8 8 * @ingroup comp_main 9 9 */ 10 10 11 - #include <inttypes.h> 12 11 13 12 #include "comp_window_direct.h" 14 13
-1
src/xrt/compositor/main/comp_window_direct_randr.c
··· 17 17 18 18 #include "main/comp_window_direct.h" 19 19 20 - #include <inttypes.h> 21 20 22 21 /* 23 22 *
-1
src/xrt/compositor/multi/comp_multi_compositor.c
··· 29 29 #include <stdarg.h> 30 30 #include <stdlib.h> 31 31 #include <string.h> 32 - #include <inttypes.h> 33 32 34 33 #ifdef XRT_GRAPHICS_SYNC_HANDLE_IS_FD 35 34 #include <unistd.h>
-1
src/xrt/compositor/util/comp_swapchain.c
··· 27 27 28 28 #include <stdio.h> 29 29 #include <stdlib.h> 30 - #include <inttypes.h> 31 30 #include <errno.h> 32 31 33 32
-1
src/xrt/drivers/euroc/euroc_player.cpp
··· 31 31 #include <fstream> 32 32 #include <future> 33 33 #include <thread> 34 - #include <inttypes.h> 35 34 36 35 //! @see euroc_player_playback_config 37 36 DEBUG_GET_ONCE_LOG_OPTION(euroc_log, "EUROC_LOG", U_LOGGING_WARN)
-1
src/xrt/drivers/realsense/rs_ddev.c
··· 37 37 #include <stdio.h> 38 38 #include <assert.h> 39 39 #include <stdlib.h> 40 - #include <inttypes.h> 41 40 42 41 43 42 /*!
-1
src/xrt/drivers/rift_s/rift_s.c
··· 28 28 #include <stdio.h> 29 29 #include <time.h> 30 30 #include <assert.h> 31 - #include <inttypes.h> 32 31 33 32 #include "math/m_api.h" 34 33 #include "math/m_vec3.h"
-1
src/xrt/drivers/rift_s/rift_s_camera.c
··· 17 17 */ 18 18 #include <asm/byteorder.h> 19 19 #include <string.h> 20 - #include <inttypes.h> 21 20 22 21 #include "rift_s.h" 23 22 #include "rift_s_camera.h"
-1
src/xrt/drivers/rift_s/rift_s_controller.c
··· 20 20 #include <string.h> 21 21 #include <stdio.h> 22 22 #include <assert.h> 23 - #include <inttypes.h> 24 23 25 24 #include "math/m_api.h" 26 25 #include "math/m_space.h"
-1
src/xrt/drivers/rift_s/rift_s_hmd.c
··· 26 26 #include <stdio.h> 27 27 #include <time.h> 28 28 #include <assert.h> 29 - #include <inttypes.h> 30 29 31 30 #include "math/m_api.h" 32 31 #include "math/m_vec3.h"
-1
src/xrt/drivers/rift_s/rift_s_tracker.c
··· 21 21 #include <stdio.h> 22 22 #include <time.h> 23 23 #include <assert.h> 24 - #include <inttypes.h> 25 24 26 25 #include "math/m_api.h" 27 26 #include "math/m_clock_tracking.h"
-1
src/xrt/drivers/survive/survive_driver.c
··· 15 15 #include <string.h> 16 16 #include <assert.h> 17 17 #include <string.h> 18 - #include <inttypes.h> 19 18 20 19 #include "math/m_api.h" 21 20 #include "math/m_space.h"
-1
src/xrt/drivers/wmr/wmr_camera.c
··· 14 14 #include <libusb.h> 15 15 #include <stdlib.h> 16 16 #include <assert.h> 17 - #include <inttypes.h> 18 17 19 18 #include "math/m_api.h" 20 19 #include "os/os_threading.h"
-1
src/xrt/drivers/wmr/wmr_source.c
··· 23 23 24 24 #include <assert.h> 25 25 #include <stdio.h> 26 - #include <inttypes.h> 27 26 28 27 #define WMR_SOURCE_STR "WMR Source" 29 28
+1
src/xrt/include/xrt/xrt_compiler.h
··· 16 16 #include <stddef.h> 17 17 #include <stdint.h> 18 18 #include <stdbool.h> 19 + #include <inttypes.h> 19 20 20 21 #ifdef _MSC_VER 21 22 #include <intrin.h>
-1
src/xrt/ipc/server/ipc_server_mainloop_android.c
··· 22 22 23 23 #include <stdlib.h> 24 24 #include <unistd.h> 25 - #include <inttypes.h> 26 25 #include <stdbool.h> 27 26 #include <sys/types.h> 28 27 #include <sys/stat.h>
-1
src/xrt/ipc/server/ipc_server_mainloop_linux.c
··· 27 27 28 28 #include <stdlib.h> 29 29 #include <unistd.h> 30 - #include <inttypes.h> 31 30 #include <stdbool.h> 32 31 #include <sys/types.h> 33 32 #include <sys/stat.h>
-1
src/xrt/ipc/server/ipc_server_process.c
··· 34 34 #include "server/ipc_server_interface.h" 35 35 36 36 #include <stdlib.h> 37 - #include <inttypes.h> 38 37 #include <stdbool.h> 39 38 #include <sys/types.h> 40 39 #include <sys/stat.h>
-1
src/xrt/state_trackers/gui/gui_scene_record.c
··· 41 41 #include "stb_image_write.h" 42 42 43 43 #include <assert.h> 44 - #include <inttypes.h> 45 44 46 45 47 46 struct camera_window
-1
src/xrt/state_trackers/gui/gui_widget_native_images.c
··· 18 18 #include "gui_widget_native_images.h" 19 19 20 20 #include <assert.h> 21 - #include <inttypes.h> 22 21 23 22 24 23 /*
-1
src/xrt/state_trackers/gui/gui_window_record.c
··· 42 42 #include "stb_image_write.h" 43 43 44 44 #include <assert.h> 45 - #include <inttypes.h> 46 45 47 46 48 47 /*
-1
src/xrt/state_trackers/oxr/oxr_api_action.c
··· 22 22 #include "oxr_subaction.h" 23 23 24 24 #include <stdio.h> 25 - #include <inttypes.h> 26 25 27 26 #include "bindings/b_generated_bindings.h" 28 27
-1
src/xrt/state_trackers/oxr/oxr_api_body_tracking.c
··· 10 10 #include <stdio.h> 11 11 #include <stdlib.h> 12 12 #include <string.h> 13 - #include <inttypes.h> 14 13 15 14 #include "util/u_trace_marker.h" 16 15
-1
src/xrt/state_trackers/oxr/oxr_api_face_tracking.c
··· 10 10 #include <stdio.h> 11 11 #include <stdlib.h> 12 12 #include <string.h> 13 - #include <inttypes.h> 14 13 15 14 #include "util/u_trace_marker.h" 16 15
-1
src/xrt/state_trackers/oxr/oxr_api_instance.c
··· 32 32 #include <stdio.h> 33 33 #include <stdlib.h> 34 34 #include <string.h> 35 - #include <inttypes.h> 36 35 37 36 DEBUG_GET_ONCE_BOOL_OPTION(ignore_openxr_version, "OXR_IGNORE_OPENXR_VERSION", false) 38 37
-1
src/xrt/state_trackers/oxr/oxr_api_passthrough.c
··· 20 20 #include "oxr_subaction.h" 21 21 22 22 #include <stdio.h> 23 - #include <inttypes.h> 24 23 25 24 XrResult 26 25 oxr_xrCreateGeometryInstanceFB(XrSession session,
-1
src/xrt/state_trackers/oxr/oxr_api_session.c
··· 11 11 #include <stdio.h> 12 12 #include <stdlib.h> 13 13 #include <string.h> 14 - #include <inttypes.h> 15 14 16 15 #include "xrt/xrt_compiler.h" 17 16
-1
src/xrt/state_trackers/oxr/oxr_api_space.c
··· 28 28 #include <stdio.h> 29 29 #include <stdlib.h> 30 30 #include <string.h> 31 - #include <inttypes.h> 32 31 33 32 34 33 /*
-1
src/xrt/state_trackers/oxr/oxr_api_swapchain.c
··· 23 23 #include <stdio.h> 24 24 #include <stdlib.h> 25 25 #include <string.h> 26 - #include <inttypes.h> 27 26 28 27 29 28 XRAPI_ATTR XrResult XRAPI_CALL
-1
src/xrt/state_trackers/oxr/oxr_api_xdev.c
··· 22 22 #include "oxr_api_funcs.h" 23 23 #include "oxr_api_verify.h" 24 24 25 - #include <inttypes.h> 26 25 27 26 28 27 #ifdef OXR_HAVE_MNDX_xdev_space
-1
src/xrt/state_trackers/oxr/oxr_body_tracking.c
··· 10 10 #include <stdio.h> 11 11 #include <stdlib.h> 12 12 #include <string.h> 13 - #include <inttypes.h> 14 13 15 14 #include "math/m_api.h" 16 15 #include "math/m_mathinclude.h"
-1
src/xrt/state_trackers/oxr/oxr_face_tracking.c
··· 10 10 #include <stdio.h> 11 11 #include <stdlib.h> 12 12 #include <string.h> 13 - #include <inttypes.h> 14 13 15 14 #include "oxr_objects.h" 16 15 #include "oxr_logger.h"
-1
src/xrt/state_trackers/oxr/oxr_session.c
··· 49 49 #include <stdio.h> 50 50 #include <stdlib.h> 51 51 #include <assert.h> 52 - #include <inttypes.h> 53 52 54 53 55 54 DEBUG_GET_ONCE_NUM_OPTION(ipd, "OXR_DEBUG_IPD_MM", 63)
-1
src/xrt/state_trackers/oxr/oxr_session_frame_end.c
··· 35 35 #include <stdio.h> 36 36 #include <stdlib.h> 37 37 #include <assert.h> 38 - #include <inttypes.h> 39 38 40 39 41 40 /*
-1
src/xrt/state_trackers/oxr/oxr_system.c
··· 11 11 #include <stdio.h> 12 12 #include <stdlib.h> 13 13 #include <string.h> 14 - #include <inttypes.h> 15 14 #include <assert.h> 16 15 17 16 #include "xrt/xrt_device.h"
-1
src/xrt/state_trackers/oxr/oxr_vulkan.c
··· 10 10 #include <stdio.h> 11 11 #include <string.h> 12 12 #include <stdlib.h> 13 - #include <inttypes.h> 14 13 15 14 #include "util/u_misc.h" 16 15 #include "util/u_debug.h"
-1
src/xrt/state_trackers/oxr/oxr_xdev.c
··· 21 21 #include "xrt/xrt_defines.h" 22 22 23 23 #include <stdio.h> 24 - #include <inttypes.h> 25 24 26 25 27 26 /*
-1
src/xrt/state_trackers/prober/p_dump.c
··· 17 17 18 18 #include <stdio.h> 19 19 #include <string.h> 20 - #include <inttypes.h> 21 20 22 21 23 22 #define P(...) \
-1
src/xrt/state_trackers/prober/p_udev.c
··· 14 14 #include <assert.h> 15 15 #include <string.h> 16 16 #include <libudev.h> 17 - #include <inttypes.h> 18 17 #include <linux/hidraw.h> 19 18 20 19
-1
src/xrt/targets/sdl_test/sdl_swapchain.c
··· 12 12 #include "util/u_handles.h" 13 13 #include "ogl/ogl_helpers.h" 14 14 15 - #include <inttypes.h> 16 15 17 16 18 17 static void