Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# clang-format pre-commit hook
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.6
rev: v21.1.8
hooks:
- id: clang-format
types_or: [c++, c, cuda]
Expand Down
20 changes: 10 additions & 10 deletions openxr/test/external/openxr_headers/XR_MNDX_xdev_space.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
* @ingroup external_openxr
*/
#ifndef XR_MNDX_XDEV_SPACE_H
#define XR_MNDX_XDEV_SPACE_H 1
#define XR_MNDX_XDEV_SPACE_H 1

#include "openxr_extension_helpers.h"
#include "openxr_extension_helpers.h"

#ifdef __cplusplus
#ifdef __cplusplus
extern "C" {
#endif
#endif

// Extension number 445 (444 prefix)
#define XR_MNDX_xdev_space 1
#define XR_MNDX_xdev_space_SPEC_VERSION 1
#define XR_MNDX_XDEV_SPACE_EXTENSION_NAME "XR_MNDX_xdev_space"
// Extension number 445 (444 prefix)
#define XR_MNDX_xdev_space 1
#define XR_MNDX_xdev_space_SPEC_VERSION 1
#define XR_MNDX_XDEV_SPACE_EXTENSION_NAME "XR_MNDX_xdev_space"

XR_DEFINE_ATOM(XrXDevIdMNDX)
XR_DEFINE_HANDLE(XrXDevListMNDX)
Expand Down Expand Up @@ -78,8 +78,8 @@ typedef XrResult(XRAPI_PTR* PFN_xrDestroyXDevListMNDX)(XrXDevListMNDX xdevList);
typedef XrResult(XRAPI_PTR* PFN_xrCreateXDevSpaceMNDX)(XrSession session, const XrCreateXDevSpaceInfoMNDX* createInfo,
XrSpace* space);

#ifdef __cplusplus
#ifdef __cplusplus
}
#endif
#endif

#endif
1,803 changes: 902 additions & 901 deletions openxr/test/external/openxr_headers/openxr.h

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions openxr/test/external/openxr_headers/openxr_loader_negotiation.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef OPENXR_LOADER_NEGOTIATION_H_
#define OPENXR_LOADER_NEGOTIATION_H_ 1
#define OPENXR_LOADER_NEGOTIATION_H_ 1

/*
** Copyright 2017-2024, The Khronos Group Inc.
Expand All @@ -12,30 +12,30 @@
**
*/

#include "openxr.h"
#include "openxr.h"

#ifdef __cplusplus
#ifdef __cplusplus
extern "C" {
#endif
#endif

// XR_LOADER_VERSION_1_0 is a preprocessor guard. Do not pass it to API calls.
#define XR_LOADER_VERSION_1_0 1
// XR_LOADER_VERSION_1_0 is a preprocessor guard. Do not pass it to API calls.
#define XR_LOADER_VERSION_1_0 1

#define XR_CURRENT_LOADER_API_LAYER_VERSION 1
#define XR_CURRENT_LOADER_API_LAYER_VERSION 1

#define XR_CURRENT_LOADER_RUNTIME_VERSION 1
#define XR_CURRENT_LOADER_RUNTIME_VERSION 1

#define XR_LOADER_INFO_STRUCT_VERSION 1
#define XR_LOADER_INFO_STRUCT_VERSION 1

#define XR_API_LAYER_INFO_STRUCT_VERSION 1
#define XR_API_LAYER_INFO_STRUCT_VERSION 1

#define XR_RUNTIME_INFO_STRUCT_VERSION 1
#define XR_RUNTIME_INFO_STRUCT_VERSION 1

#define XR_API_LAYER_NEXT_INFO_STRUCT_VERSION 1
#define XR_API_LAYER_NEXT_INFO_STRUCT_VERSION 1

#define XR_API_LAYER_CREATE_INFO_STRUCT_VERSION 1
#define XR_API_LAYER_CREATE_INFO_STRUCT_VERSION 1

#define XR_API_LAYER_MAX_SETTINGS_PATH_SIZE 512
#define XR_API_LAYER_MAX_SETTINGS_PATH_SIZE 512

typedef enum XrLoaderInterfaceStructs {
XR_LOADER_INTERFACE_STRUCT_UNINTIALIZED = 0,
Expand Down Expand Up @@ -109,8 +109,8 @@ typedef XrResult(XRAPI_PTR* PFN_xrNegotiateLoaderApiLayerInterface)(const XrNego
const char* layerName,
XrNegotiateApiLayerRequest* apiLayerRequest);

#ifndef XR_NO_PROTOTYPES
#ifdef XR_EXTENSION_PROTOTYPES
#ifndef XR_NO_PROTOTYPES
#ifdef XR_EXTENSION_PROTOTYPES
XRAPI_ATTR XrResult XRAPI_CALL xrCreateApiLayerInstance(const XrInstanceCreateInfo* info, const XrApiLayerCreateInfo* layerInfo,
XrInstance* instance);

Expand All @@ -120,11 +120,11 @@ XRAPI_ATTR XrResult XRAPI_CALL xrNegotiateLoaderRuntimeInterface(const XrNegotia
XRAPI_ATTR XrResult XRAPI_CALL xrNegotiateLoaderApiLayerInterface(const XrNegotiateLoaderInfo* loaderInfo,
const char* layerName,
XrNegotiateApiLayerRequest* apiLayerRequest);
#endif /* XR_EXTENSION_PROTOTYPES */
#endif /* !XR_NO_PROTOTYPES */
#endif /* XR_EXTENSION_PROTOTYPES */
#endif /* !XR_NO_PROTOTYPES */

#ifdef __cplusplus
#ifdef __cplusplus
}
#endif
#endif

#endif
Loading