Skip to content

Instantly share code, notes, and snippets.

View fredemmott's full-sized avatar

Fred Emmott fredemmott

View GitHub Profile
diff --git a/gen-v1.0.32.1/include/OXRTracing/forward_declarations.gen.hpp b/gen-v1.0.34/include/OXRTracing/forward_declarations.gen.hpp
index 3715aa9..8c1082b 100644
--- a/gen-v1.0.32.1/include/OXRTracing/forward_declarations.gen.hpp
+++ b/gen-v1.0.34/include/OXRTracing/forward_declarations.gen.hpp
@@ -46,6 +46,7 @@ extern PFN_xrCreateActionSet next_xrCreateActionSet;
extern PFN_xrCreateActionSpace next_xrCreateActionSpace;
extern PFN_xrCreateBodyTrackerFB next_xrCreateBodyTrackerFB;
extern PFN_xrCreateEyeTrackerFB next_xrCreateEyeTrackerFB;
+extern PFN_xrCreateFaceTracker2FB next_xrCreateFaceTracker2FB;
extern PFN_xrCreateFaceTrackerFB next_xrCreateFaceTrackerFB;

XR_FREDEMMOTT_reflection

Previously XR_FREDEMMOTT_structure_type_sizes

Document version: v2024.01.23.03

Status: Initial draft/RFC. Not started formal process

New structures

Varjo mirror with hello_xr demo, OpenXR Toolkit, and OpenKneeboard running:

image

OpenXR Toolkit left eye screenshot:

HelloXR_20240106_115531_L

OpenXR Toolkit right eye screenshot:

diff --git a/gen-v1.0.31/include/OXRTracing/forward_declarations.gen.hpp b/gen/include/OXRTracing/forward_declarations.gen.hpp
index 7a031df..3715aa9 100644
--- a/gen-v1.0.31/include/OXRTracing/forward_declarations.gen.hpp
+++ b/gen/include/OXRTracing/forward_declarations.gen.hpp
@@ -69,6 +69,7 @@ extern PFN_xrCreateSpatialAnchorFromPerceptionAnchorMSFT
next_xrCreateSpatialAnchorFromPerceptionAnchorMSFT;
extern PFN_xrCreateSpatialAnchorFromPersistedNameMSFT
next_xrCreateSpatialAnchorFromPersistedNameMSFT;
+extern PFN_xrCreateSpatialAnchorHTC next_xrCreateSpatialAnchorHTC;
extern PFN_xrCreateSpatialAnchorMSFT next_xrCreateSpatialAnchorMSFT;
diff --git a/gen-v1.0.30/include/OXRTracing/forward_declarations.gen.hpp b/gen/include/OXRTracing/forward_declarations.gen.hpp
index eb8cc33..7a031df 100644
--- a/gen-v1.0.30/include/OXRTracing/forward_declarations.gen.hpp
+++ b/gen/include/OXRTracing/forward_declarations.gen.hpp
@@ -182,6 +182,9 @@ extern PFN_xrGetReferenceSpaceBoundsRect next_xrGetReferenceSpaceBoundsRect;
extern PFN_xrGetRenderModelPropertiesFB next_xrGetRenderModelPropertiesFB;
extern PFN_xrGetSceneComponentsMSFT next_xrGetSceneComponentsMSFT;
extern PFN_xrGetSceneComputeStateMSFT next_xrGetSceneComputeStateMSFT;
+extern PFN_xrGetSceneMarkerDecodedStringMSFT
+ next_xrGetSceneMarkerDecodedStringMSFT;
diff --git a/src/APILayer/APILayer_loader.cpp b/src/APILayer/APILayer_loader.cpp
index f21ecb7..1041077 100644
--- a/src/APILayer/APILayer_loader.cpp
+++ b/src/APILayer/APILayer_loader.cpp
@@ -312,17 +312,27 @@ static XrResult xrCreateApiLayerInstance(
XrInstance dummyInstance {};
{
- // Workaround UltraLeap bug: it should be possible to enumerate
- // extensions without an XrInstance, but ultraleap's API layer
XrResult OXRTracing_xrEnumerateInstanceExtensionProperties(
const char* layerName, uint32_t propertyCapacityInput,
uint32_t* propertyCountOutput, XrExtensionProperties* properties)
{
TraceLoggingActivity<gTraceProvider> localActivity;
TraceLoggingWriteStart(localActivity,
"xrEnumerateInstanceExtensionProperties",
TraceLoggingString(layerName, "layerName"),
TraceLoggingUInt32(propertyCapacityInput, "propertyCapacityInput"));
diff --git a/gen-v1.0.29/include/OXRTracing/forward_declarations.gen.hpp b/gen-v1.0.30/include/OXRTracing/forward_declarations.gen.hpp
index dbbb744..eb8cc33 100644
--- a/gen-v1.0.29/include/OXRTracing/forward_declarations.gen.hpp
+++ b/gen-v1.0.30/include/OXRTracing/forward_declarations.gen.hpp
@@ -1532,7 +1532,7 @@ XrResult XRAPI_CALL OXRTracing_xrSendVirtualKeyboardInputMETA(
XrVirtualKeyboardMETA keyboard, const XrVirtualKeyboardInputInfoMETA* info,
XrPosef* interactorRootPose);
XrResult XRAPI_CALL OXRTracing_xrSetColorSpaceFB(
- XrSession session, const XrColorSpaceFB colorspace);
+ XrSession session, const XrColorSpaceFB colorSpace);
diff --git a/gen-old/include/OXRTracing/forward_declarations.gen.hpp b/gen/include/OXRTracing/forward_declarations.gen.hpp
index 0b9a590..77b3aea 100644
--- a/gen-old/include/OXRTracing/forward_declarations.gen.hpp
+++ b/gen/include/OXRTracing/forward_declarations.gen.hpp
@@ -252,6 +252,7 @@ extern PFN_xrGetEyeGazesFB next_xrGetEyeGazesFB;
extern PFN_xrPassthroughLayerSetKeyboardHandsIntensityFB
next_xrPassthroughLayerSetKeyboardHandsIntensityFB;
extern PFN_xrGetDeviceSampleRateFB next_xrGetDeviceSampleRateFB;
+extern PFN_xrGetPassthroughPreferencesMETA next_xrGetPassthroughPreferencesMETA;
extern PFN_xrCreateVirtualKeyboardMETA next_xrCreateVirtualKeyboardMETA;
diff --git a/openxr-tracing-old/gen/include/OXRTracing/forward_declarations.gen.hpp b/openxr-tracing/gen/include/OXRTracing/forward_declarations.gen.hpp
index 0919d9a..0b9a590 100644
--- a/openxr-tracing-old/gen/include/OXRTracing/forward_declarations.gen.hpp
+++ b/openxr-tracing/gen/include/OXRTracing/forward_declarations.gen.hpp
@@ -252,6 +252,24 @@ extern PFN_xrGetEyeGazesFB next_xrGetEyeGazesFB;
extern PFN_xrPassthroughLayerSetKeyboardHandsIntensityFB
next_xrPassthroughLayerSetKeyboardHandsIntensityFB;
extern PFN_xrGetDeviceSampleRateFB next_xrGetDeviceSampleRateFB;
+extern PFN_xrCreateVirtualKeyboardMETA next_xrCreateVirtualKeyboardMETA;
+extern PFN_xrDestroyVirtualKeyboardMETA next_xrDestroyVirtualKeyboardMETA;