From 8601499a5a63b303103b94ab6c8747943cb265e1 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 6 Nov 2022 03:16:59 +0000 Subject: [PATCH] xrt: Add XRT_MAX_IPC_HANDLES --- src/xrt/include/xrt/xrt_limits.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/xrt/include/xrt/xrt_limits.h b/src/xrt/include/xrt/xrt_limits.h index 245d1467c..9c9cfbd6f 100644 --- a/src/xrt/include/xrt/xrt_limits.h +++ b/src/xrt/include/xrt/xrt_limits.h @@ -17,8 +17,15 @@ * @{ */ +/*! + * Maximum number of handles sent in one call. + */ +#define XRT_MAX_IPC_HANDLES 16 + /*! * Max swapchain images, artificial limit. + * + * Must be smaller or the same as XRT_MAX_IPC_HANDLES. */ #define XRT_MAX_SWAPCHAIN_IMAGES 8