From b986077c113eeb6b45cd21384cc2d426511485cf Mon Sep 17 00:00:00 2001 From: Wenlin Mao Date: Wed, 9 Oct 2024 14:17:06 -0700 Subject: [PATCH] v69 --- .../meta_openxr_preview/extx1_event_channel.h | 18 +++ .../meta_body_tracking_calibration.h | 18 +++ .../meta_body_tracking_fidelity.h | 18 +++ .../meta_body_tracking_full_body.h | 18 +++ .../meta_boundary_visibility.h | 18 +++ .../meta_detached_controllers.h | 18 +++ .../meta_hand_tracking_wide_motion_mode.h | 18 +++ .../meta_simultaneous_hands_and_controllers.h | 18 +++ .../meta_spatial_entity_discovery.h | 18 +++ .../meta_spatial_entity_persistence.h | 18 +++ .../openxr_extension_helpers.h | 20 ++- .../openxr_oculus_helpers.h | 20 ++- README.md | 2 +- Samples/1stParty/OVR/Include/JniUtils-inl.h | 20 ++- Samples/1stParty/OVR/Include/JniUtils.h | 20 ++- Samples/1stParty/OVR/Include/OVR_Asserts.h | 2 - Samples/1stParty/OVR/Include/OVR_BitFlags.h | 20 ++- Samples/1stParty/OVR/Include/OVR_Compiler.h | 2 - Samples/1stParty/OVR/Include/OVR_LogUtils.h | 20 ++- Samples/1stParty/OVR/Include/OVR_Math.h | 20 ++- .../OVR/Include/OVR_SanitizerMacros.h | 20 ++- Samples/1stParty/OVR/Include/OVR_Std.h | 2 - Samples/1stParty/OVR/Include/OVR_Types.h | 2 - .../1stParty/OVR/Include/OVR_TypesafeNumber.h | 20 ++- Samples/1stParty/OVR/Include/StringUtils.h | 20 ++- Samples/3rdParty/CMakeLists.txt | 2 - Samples/CMakeLists.txt | 18 ++- Samples/SampleXrFramework/CMakeLists.txt | 18 ++- Samples/SampleXrFramework/Src/CompilerUtils.h | 20 ++- Samples/SampleXrFramework/Src/FrameParams.h | 20 ++- .../Src/GUI/ActionComponents.cpp | 20 ++- .../Src/GUI/ActionComponents.h | 20 ++- .../Src/GUI/AnimComponents.cpp | 20 ++- .../Src/GUI/AnimComponents.h | 20 ++- .../Src/GUI/CollisionPrimitive.cpp | 20 ++- .../Src/GUI/CollisionPrimitive.h | 20 ++- .../Src/GUI/DefaultComponent.cpp | 20 ++- .../Src/GUI/DefaultComponent.h | 20 ++- Samples/SampleXrFramework/Src/GUI/Fader.cpp | 20 ++- Samples/SampleXrFramework/Src/GUI/Fader.h | 20 ++- .../SampleXrFramework/Src/GUI/GazeCursor.cpp | 20 ++- .../SampleXrFramework/Src/GUI/GazeCursor.h | 20 ++- Samples/SampleXrFramework/Src/GUI/GuiSys.cpp | 20 ++- Samples/SampleXrFramework/Src/GUI/GuiSys.h | 20 ++- Samples/SampleXrFramework/Src/GUI/Lerp.h | 18 +++ .../Src/GUI/MetaDataManager.cpp | 20 ++- .../Src/GUI/MetaDataManager.h | 20 ++- .../SampleXrFramework/Src/GUI/Reflection.cpp | 20 ++- .../SampleXrFramework/Src/GUI/Reflection.h | 20 ++- .../Src/GUI/ReflectionData.cpp | 20 ++- .../Src/GUI/ReflectionData.h | 20 ++- .../Src/GUI/SoundLimiter.cpp | 20 ++- .../SampleXrFramework/Src/GUI/SoundLimiter.h | 20 ++- Samples/SampleXrFramework/Src/GUI/VRMenu.cpp | 20 ++- Samples/SampleXrFramework/Src/GUI/VRMenu.h | 20 ++- .../Src/GUI/VRMenuComponent.cpp | 20 ++- .../Src/GUI/VRMenuComponent.h | 20 ++- .../SampleXrFramework/Src/GUI/VRMenuEvent.cpp | 20 ++- .../SampleXrFramework/Src/GUI/VRMenuEvent.h | 20 ++- .../Src/GUI/VRMenuEventHandler.cpp | 20 ++- .../Src/GUI/VRMenuEventHandler.h | 20 ++- .../SampleXrFramework/Src/GUI/VRMenuMgr.cpp | 20 ++- Samples/SampleXrFramework/Src/GUI/VRMenuMgr.h | 20 ++- .../Src/GUI/VRMenuObject.cpp | 20 ++- .../SampleXrFramework/Src/GUI/VRMenuObject.h | 20 ++- .../SampleXrFramework/Src/GUI/ui_default.h | 20 ++- .../SampleXrFramework/Src/Input/ArmModel.cpp | 20 ++- .../SampleXrFramework/Src/Input/ArmModel.h | 20 ++- .../Src/Input/AxisRenderer.cpp | 20 ++- .../Src/Input/AxisRenderer.h | 20 ++- .../Src/Input/ControllerRenderer.cpp | 20 ++- .../Src/Input/ControllerRenderer.h | 20 ++- .../Src/Input/HandMaskRenderer.cpp | 20 ++- .../Src/Input/HandMaskRenderer.h | 20 ++- .../Src/Input/HandRenderer.cpp | 20 ++- .../Src/Input/HandRenderer.h | 20 ++- .../SampleXrFramework/Src/Input/Skeleton.cpp | 20 ++- .../SampleXrFramework/Src/Input/Skeleton.h | 20 ++- .../Src/Input/SkeletonRenderer.cpp | 20 ++- .../Src/Input/SkeletonRenderer.h | 20 ++- .../SampleXrFramework/Src/Input/TinyUI.cpp | 20 ++- Samples/SampleXrFramework/Src/Input/TinyUI.h | 20 ++- .../Src/Locale/OVR_Locale.cpp | 18 +++ .../SampleXrFramework/Src/Locale/OVR_Locale.h | 18 +++ .../SampleXrFramework/Src/Locale/tinyxml2.cpp | 18 +++ .../SampleXrFramework/Src/Locale/tinyxml2.h | 18 +++ Samples/SampleXrFramework/Src/Misc/Log.c | 20 ++- Samples/SampleXrFramework/Src/Misc/Log.h | 20 ++- .../Src/Model/ModelAnimationUtils.cpp | 20 ++- .../Src/Model/ModelAnimationUtils.h | 20 ++- .../Src/Model/ModelCollision.cpp | 20 ++- .../Src/Model/ModelCollision.h | 20 ++- .../SampleXrFramework/Src/Model/ModelDef.h | 20 ++- .../SampleXrFramework/Src/Model/ModelFile.cpp | 20 ++- .../SampleXrFramework/Src/Model/ModelFile.h | 20 ++- .../Src/Model/ModelFileLoading.h | 20 ++- .../Src/Model/ModelFile_OvrScene.cpp | 20 ++- .../Src/Model/ModelFile_glTF.cpp | 20 ++- .../Src/Model/ModelRender.cpp | 20 ++- .../SampleXrFramework/Src/Model/ModelRender.h | 20 ++- .../Src/Model/ModelTrace.cpp | 20 ++- .../SampleXrFramework/Src/Model/ModelTrace.h | 20 ++- .../SampleXrFramework/Src/Model/SceneView.cpp | 20 ++- .../SampleXrFramework/Src/Model/SceneView.h | 20 ++- .../SampleXrFramework/Src/OVR_BinaryFile2.cpp | 20 ++- .../SampleXrFramework/Src/OVR_BinaryFile2.h | 20 ++- Samples/SampleXrFramework/Src/OVR_FileSys.cpp | 20 ++- Samples/SampleXrFramework/Src/OVR_FileSys.h | 20 ++- Samples/SampleXrFramework/Src/OVR_Lexer2.cpp | 18 +++ Samples/SampleXrFramework/Src/OVR_Lexer2.h | 18 +++ .../SampleXrFramework/Src/OVR_MappedFile.cpp | 20 ++- .../SampleXrFramework/Src/OVR_MappedFile.h | 20 ++- Samples/SampleXrFramework/Src/OVR_Stream.cpp | 20 ++- Samples/SampleXrFramework/Src/OVR_Stream.h | 20 ++- .../SampleXrFramework/Src/OVR_Stream_Impl.h | 20 ++- .../SampleXrFramework/Src/OVR_UTF8Util.cpp | 2 - Samples/SampleXrFramework/Src/OVR_UTF8Util.h | 2 - Samples/SampleXrFramework/Src/OVR_Uri.cpp | 20 ++- Samples/SampleXrFramework/Src/OVR_Uri.h | 20 ++- .../SampleXrFramework/Src/PackageFiles.cpp | 20 ++- Samples/SampleXrFramework/Src/PackageFiles.h | 20 ++- .../Src/Render/BeamRenderer.cpp | 20 ++- .../Src/Render/BeamRenderer.h | 20 ++- .../Src/Render/BillBoardRenderer.cpp | 20 ++- .../Src/Render/BillBoardRenderer.h | 20 ++- .../Src/Render/BitmapFont.cpp | 20 ++- .../SampleXrFramework/Src/Render/BitmapFont.h | 20 ++- .../Src/Render/DebugLines.cpp | 20 ++- .../SampleXrFramework/Src/Render/DebugLines.h | 20 ++- .../Src/Render/EaseFunctions.cpp | 20 ++- .../Src/Render/EaseFunctions.h | 20 ++- Samples/SampleXrFramework/Src/Render/Egl.c | 20 ++- Samples/SampleXrFramework/Src/Render/Egl.h | 20 ++- .../Src/Render/Framebuffer.cpp | 18 +++ .../Src/Render/Framebuffer.h | 20 ++- .../Src/Render/GeometryBuilder.cpp | 20 ++- .../Src/Render/GeometryBuilder.h | 20 ++- .../Src/Render/GeometryRenderer.cpp | 20 ++- .../Src/Render/GeometryRenderer.h | 20 ++- .../SampleXrFramework/Src/Render/GlBuffer.cpp | 20 ++- .../SampleXrFramework/Src/Render/GlBuffer.h | 20 ++- .../Src/Render/GlGeometry.cpp | 20 ++- .../SampleXrFramework/Src/Render/GlGeometry.h | 20 ++- .../Src/Render/GlProgram.cpp | 20 ++- .../SampleXrFramework/Src/Render/GlProgram.h | 20 ++- .../Src/Render/GlTexture.cpp | 20 ++- .../SampleXrFramework/Src/Render/GlTexture.h | 20 ++- .../Src/Render/GlWrapperWin32.c | 18 +++ .../Src/Render/GlWrapperWin32.h | 18 +++ .../SampleXrFramework/Src/Render/GpuState.h | 20 ++- .../Src/Render/PanelRenderer.cpp | 20 ++- .../Src/Render/PanelRenderer.h | 20 ++- .../Src/Render/ParticleSystem.cpp | 20 ++- .../Src/Render/ParticleSystem.h | 20 ++- .../Src/Render/PointList.cpp | 20 ++- .../SampleXrFramework/Src/Render/PointList.h | 20 ++- .../SampleXrFramework/Src/Render/Ribbon.cpp | 20 ++- Samples/SampleXrFramework/Src/Render/Ribbon.h | 20 ++- .../Src/Render/SimpleBeamRenderer.h | 20 ++- .../Src/Render/SimpleCollisionRenderer.h | 20 ++- .../Src/Render/SimpleGlbRenderer.cpp | 18 +++ .../Src/Render/SimpleGlbRenderer.h | 18 +++ .../Src/Render/SurfaceRender.cpp | 20 ++- .../Src/Render/SurfaceRender.h | 20 ++- .../Src/Render/SurfaceTexture.cpp | 20 ++- .../Src/Render/SurfaceTexture.h | 20 ++- .../Src/Render/TextureAtlas.cpp | 20 ++- .../Src/Render/TextureAtlas.h | 20 ++- .../Src/Render/TextureManager.cpp | 20 ++- .../Src/Render/TextureManager.h | 20 ++- Samples/SampleXrFramework/Src/System.cpp | 20 ++- Samples/SampleXrFramework/Src/System.h | 20 ++- Samples/SampleXrFramework/Src/XrApp.cpp | 139 ++++++++++-------- Samples/SampleXrFramework/Src/XrApp.h | 49 +++++- Samples/XrSamples/CMakeLists.txt | 17 ++- .../XrBodyFaceEyeSocial/CMakeLists.txt | 18 ++- .../Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../XrBodyFaceEyeSocial/Src/main.cpp | 20 ++- .../java/MainActivity.java | 18 +++ .../XrSamples/XrColorSpaceFB/CMakeLists.txt | 18 ++- .../XrColorSpaceFB/Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../XrColorSpaceFB/Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ Samples/XrSamples/XrColorSpaceFB/Src/main.cpp | 18 +++ .../Src/openxr_reflection_macro.h | 18 +++ .../XrColorSpaceFB/java/MainActivity.java | 18 +++ .../CMakeLists.txt | 18 ++- .../Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../Src/XrCompositor_NativeActivity.c | 22 ++- .../XrSamples/XrControllers/CMakeLists.txt | 18 ++- .../XrControllers/Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../XrControllers/Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ Samples/XrSamples/XrControllers/Src/main.cpp | 20 ++- .../XrControllers/java/MainActivity.java | 20 ++- .../XrSamples/XrHandDataSource/CMakeLists.txt | 18 ++- .../Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../Src/EnvironmentRenderer.cpp | 18 +++ .../Src/EnvironmentRenderer.h | 18 +++ .../XrHandDataSource/Src/SkyboxRenderer.cpp | 18 +++ .../XrHandDataSource/Src/SkyboxRenderer.h | 18 +++ .../XrSamples/XrHandDataSource/Src/main.cpp | 18 +++ .../XrHandDataSource/Src/xr_hand_helper.h | 18 +++ .../XrHandDataSource/Src/xr_helper.h | 18 +++ .../Src/xr_render_model_helper.h | 18 +++ .../XrHandDataSource/java/MainActivity.java | 18 +++ .../CMakeLists.txt | 18 ++- .../Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../XrHandTrackingWideMotionMode/Src/main.cpp | 18 +++ .../Src/xr_hand_helper.h | 18 +++ .../Src/xr_helper.h | 18 +++ .../java/MainActivity.java | 18 +++ .../XrHandsAndControllers/CMakeLists.txt | 18 ++- .../Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../Src/ActionSetDisplayPanel.cpp | 18 +++ .../Src/ActionSetDisplayPanel.h | 18 +++ .../Src/EnvironmentRenderer.cpp | 18 +++ .../Src/EnvironmentRenderer.h | 18 +++ .../Src/SkyboxRenderer.cpp | 18 +++ .../Src/SkyboxRenderer.h | 18 +++ .../XrHandsAndControllers/Src/main.cpp | 49 ++++-- .../java/MainActivity.java | 18 +++ Samples/XrSamples/XrHandsFB/CMakeLists.txt | 18 ++- .../XrHandsFB/Projects/Android/build.bat | 16 ++ .../XrHandsFB/Projects/Android/build.gradle | 18 +++ .../XrHandsFB/Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ Samples/XrSamples/XrHandsFB/Src/main.cpp | 18 +++ .../XrHandsFB/java/MainActivity.java | 18 +++ Samples/XrSamples/XrInput/CMakeLists.txt | 18 ++- .../XrInput/Projects/Android/build.bat | 16 ++ .../XrInput/Projects/Android/build.gradle | 18 +++ .../XrInput/Projects/Android/build.py | 18 ++- .../XrInput/Projects/Android/settings.gradle | 18 +++ .../XrInput/Src/ActionSetDisplayPanel.cpp | 18 +++ .../XrInput/Src/ActionSetDisplayPanel.h | 18 +++ Samples/XrSamples/XrInput/Src/main.cpp | 18 +++ .../XrSamples/XrInput/java/MainActivity.java | 18 +++ Samples/XrSamples/XrKeyboard/CMakeLists.txt | 18 ++- .../XrKeyboard/Projects/Android/build.bat | 16 ++ .../XrKeyboard/Projects/Android/build.gradle | 18 +++ .../XrKeyboard/Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../XrKeyboard/Src/Input/KeyboardRenderer.cpp | 18 +++ .../XrKeyboard/Src/Input/KeyboardRenderer.h | 18 +++ Samples/XrSamples/XrKeyboard/Src/main.cpp | 18 +++ .../XrSamples/XrKeyboard/Src/xr_hand_helper.h | 18 +++ Samples/XrSamples/XrKeyboard/Src/xr_helper.h | 18 +++ .../XrKeyboard/Src/xr_keyboard_helper.h | 18 +++ .../XrKeyboard/Src/xr_passthrough_helper.h | 18 +++ .../XrKeyboard/Src/xr_render_model_helper.h | 18 +++ .../XrKeyboard/java/MainActivity.java | 18 +++ .../XrSamples/XrPassthrough/CMakeLists.txt | 18 ++- .../XrPassthrough/Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../XrPassthrough/Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../XrPassthrough/Src/XrPassthrough.cpp | 22 ++- .../XrPassthrough/Src/XrPassthrough.h | 18 +++ .../XrPassthrough/Src/XrPassthroughGl.cpp | 18 +++ .../XrPassthrough/Src/XrPassthroughGl.h | 18 +++ .../XrPassthrough/Src/XrPassthroughInput.cpp | 20 ++- .../XrPassthrough/Src/XrPassthroughInput.h | 18 +++ .../java/com/oculus/NativeActivity.java | 18 +++ .../XrPassthroughOcclusion/CMakeLists.txt | 18 ++- .../Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../Src/XrPassthroughOcclusion.cpp | 20 ++- .../Src/XrPassthroughOcclusion.h | 18 +++ .../Src/XrPassthroughOcclusionGl.cpp | 18 +++ .../Src/XrPassthroughOcclusionGl.h | 18 +++ .../Src/XrPassthroughOcclusionInput.cpp | 18 +++ .../Src/XrPassthroughOcclusionInput.h | 18 +++ .../xrpassthroughocclusion/MainActivity.java | 20 ++- .../MainNativeActivity.java | 20 ++- Samples/XrSamples/XrSceneModel/CMakeLists.txt | 18 ++- .../XrSceneModel/Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../XrSceneModel/Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../XrSceneModel/Src/SceneModelGl.cpp | 18 +++ .../XrSamples/XrSceneModel/Src/SceneModelGl.h | 18 +++ .../XrSceneModel/Src/SceneModelHelpers.h | 20 ++- .../XrSceneModel/Src/SceneModelShaders.h | 20 ++- .../XrSceneModel/Src/SceneModelXr.cpp | 26 +++- .../XrSamples/XrSceneModel/Src/SceneModelXr.h | 18 +++ .../XrSceneModel/Src/SimpleXrInput.cpp | 18 +++ .../XrSceneModel/Src/SimpleXrInput.h | 18 +++ .../java/com/oculus/NativeActivity.java | 18 +++ Samples/XrSamples/XrSpaceWarp/CMakeLists.txt | 18 ++- .../XrSpaceWarp/Projects/Android/build.bat | 16 ++ .../XrSpaceWarp/Projects/Android/build.gradle | 18 +++ .../XrSpaceWarp/Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../XrSamples/XrSpaceWarp/Src/XrSpaceWarp.c | 22 ++- .../XrSamples/XrSpatialAnchor/CMakeLists.txt | 18 ++- .../Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../XrSpatialAnchor/Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../XrSpatialAnchor/Src/SimpleXrInput.cpp | 18 +++ .../XrSpatialAnchor/Src/SimpleXrInput.h | 18 +++ .../Src/SpatialAnchorExternalDataHandler.h | 18 +++ .../Src/SpatialAnchorFileHandler.cpp | 18 +++ .../Src/SpatialAnchorFileHandler.h | 18 +++ .../XrSpatialAnchor/Src/SpatialAnchorGl.cpp | 18 +++ .../XrSpatialAnchor/Src/SpatialAnchorGl.h | 18 +++ .../Src/SpatialAnchorUtilities.cpp | 18 +++ .../Src/SpatialAnchorUtilities.h | 18 +++ .../XrSpatialAnchor/Src/SpatialAnchorXr.cpp | 20 ++- .../XrSpatialAnchor/Src/SpatialAnchorXr.h | 18 +++ .../java/com/oculus/NativeActivity.java | 18 +++ .../XrVirtualKeyboard/CMakeLists.txt | 18 ++- .../Projects/Android/build.bat | 16 ++ .../Projects/Android/build.gradle | 18 +++ .../Projects/Android/build.py | 18 ++- .../Projects/Android/settings.gradle | 18 +++ .../Src/VirtualKeyboardModelRenderer.cpp | 18 +++ .../Src/VirtualKeyboardModelRenderer.h | 18 +++ .../XrVirtualKeyboard/Src/XrHandHelper.h | 18 +++ .../XrVirtualKeyboard/Src/XrHelper.h | 18 +++ .../Src/XrRenderModelHelper.cpp | 18 +++ .../Src/XrRenderModelHelper.h | 18 +++ .../Src/XrVirtualKeyboardHelper.cpp | 18 +++ .../Src/XrVirtualKeyboardHelper.h | 18 +++ .../XrSamples/XrVirtualKeyboard/Src/main.cpp | 18 +++ .../XrVirtualKeyboard/java/MainActivity.java | 18 +++ Samples/bin/scripts/build/ovrbuild.py | 18 ++- .../bin/scripts/build/ovrbuild_keystore.py | 16 ++ Samples/bin/scripts/build/perproject/build.py | 18 ++- Samples/bin/scripts/build/util.py | 16 ++ Samples/build.gradle | 18 +++ Samples/settings.gradle.kts | 19 ++- 352 files changed, 6200 insertions(+), 475 deletions(-) diff --git a/OpenXR/meta_openxr_preview/extx1_event_channel.h b/OpenXR/meta_openxr_preview/extx1_event_channel.h index 4b94373..7f54564 100755 --- a/OpenXR/meta_openxr_preview/extx1_event_channel.h +++ b/OpenXR/meta_openxr_preview/extx1_event_channel.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef EXTX1_EVENT_CHANNEL_H_ #define EXTX1_EVENT_CHANNEL_H_ 1 diff --git a/OpenXR/meta_openxr_preview/meta_body_tracking_calibration.h b/OpenXR/meta_openxr_preview/meta_body_tracking_calibration.h index 119b649..7f5f8bf 100755 --- a/OpenXR/meta_openxr_preview/meta_body_tracking_calibration.h +++ b/OpenXR/meta_openxr_preview/meta_body_tracking_calibration.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef META_BODY_TRACKING_CALIBRATION_H_ #define META_BODY_TRACKING_CALIBRATION_H_ 1 diff --git a/OpenXR/meta_openxr_preview/meta_body_tracking_fidelity.h b/OpenXR/meta_openxr_preview/meta_body_tracking_fidelity.h index bbbb7a0..89b3c76 100755 --- a/OpenXR/meta_openxr_preview/meta_body_tracking_fidelity.h +++ b/OpenXR/meta_openxr_preview/meta_body_tracking_fidelity.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef META_BODY_TRACKING_FIDELITY_H_ #define META_BODY_TRACKING_FIDELITY_H_ 1 diff --git a/OpenXR/meta_openxr_preview/meta_body_tracking_full_body.h b/OpenXR/meta_openxr_preview/meta_body_tracking_full_body.h index b496c39..6256a80 100755 --- a/OpenXR/meta_openxr_preview/meta_body_tracking_full_body.h +++ b/OpenXR/meta_openxr_preview/meta_body_tracking_full_body.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef META_BODY_TRACKING_FULL_BODY_H_ #define META_BODY_TRACKING_FULL_BODY_H_ 1 diff --git a/OpenXR/meta_openxr_preview/meta_boundary_visibility.h b/OpenXR/meta_openxr_preview/meta_boundary_visibility.h index 3186164..9ddeaae 100755 --- a/OpenXR/meta_openxr_preview/meta_boundary_visibility.h +++ b/OpenXR/meta_openxr_preview/meta_boundary_visibility.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef META_BOUNDARY_VISIBILITY_H_ #define META_BOUNDARY_VISIBILITY_H_ 1 diff --git a/OpenXR/meta_openxr_preview/meta_detached_controllers.h b/OpenXR/meta_openxr_preview/meta_detached_controllers.h index b89e1fa..62321b2 100755 --- a/OpenXR/meta_openxr_preview/meta_detached_controllers.h +++ b/OpenXR/meta_openxr_preview/meta_detached_controllers.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef META_DETACHED_CONTROLLERS_H_ #define META_DETACHED_CONTROLLERS_H_ 1 diff --git a/OpenXR/meta_openxr_preview/meta_hand_tracking_wide_motion_mode.h b/OpenXR/meta_openxr_preview/meta_hand_tracking_wide_motion_mode.h index 91c53e0..f7b0403 100755 --- a/OpenXR/meta_openxr_preview/meta_hand_tracking_wide_motion_mode.h +++ b/OpenXR/meta_openxr_preview/meta_hand_tracking_wide_motion_mode.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef META_HAND_TRACKING_WIDE_MOTION_MODE_H_ #define META_HAND_TRACKING_WIDE_MOTION_MODE_H_ 1 diff --git a/OpenXR/meta_openxr_preview/meta_simultaneous_hands_and_controllers.h b/OpenXR/meta_openxr_preview/meta_simultaneous_hands_and_controllers.h index 98c5ce9..aac6699 100755 --- a/OpenXR/meta_openxr_preview/meta_simultaneous_hands_and_controllers.h +++ b/OpenXR/meta_openxr_preview/meta_simultaneous_hands_and_controllers.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef META_SIMULTANEOUS_HANDS_AND_CONTROLLERS_H_ #define META_SIMULTANEOUS_HANDS_AND_CONTROLLERS_H_ 1 diff --git a/OpenXR/meta_openxr_preview/meta_spatial_entity_discovery.h b/OpenXR/meta_openxr_preview/meta_spatial_entity_discovery.h index 0f81a5e..67f71f1 100755 --- a/OpenXR/meta_openxr_preview/meta_spatial_entity_discovery.h +++ b/OpenXR/meta_openxr_preview/meta_spatial_entity_discovery.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef META_SPATIAL_ENTITY_DISCOVERY_H_ #define META_SPATIAL_ENTITY_DISCOVERY_H_ 1 diff --git a/OpenXR/meta_openxr_preview/meta_spatial_entity_persistence.h b/OpenXR/meta_openxr_preview/meta_spatial_entity_persistence.h index 389de95..ca44b4e 100755 --- a/OpenXR/meta_openxr_preview/meta_spatial_entity_persistence.h +++ b/OpenXR/meta_openxr_preview/meta_spatial_entity_persistence.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef META_SPATIAL_ENTITY_PERSISTENCE_H_ #define META_SPATIAL_ENTITY_PERSISTENCE_H_ 1 diff --git a/OpenXR/meta_openxr_preview/openxr_extension_helpers.h b/OpenXR/meta_openxr_preview/openxr_extension_helpers.h index 1d6e630..d6d3e8e 100755 --- a/OpenXR/meta_openxr_preview/openxr_extension_helpers.h +++ b/OpenXR/meta_openxr_preview/openxr_extension_helpers.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : openxr_extension_helpers.h diff --git a/OpenXR/meta_openxr_preview/openxr_oculus_helpers.h b/OpenXR/meta_openxr_preview/openxr_oculus_helpers.h index 0d46964..5eea612 100755 --- a/OpenXR/meta_openxr_preview/openxr_oculus_helpers.h +++ b/OpenXR/meta_openxr_preview/openxr_oculus_helpers.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : openxr_oculus_helpers.h diff --git a/README.md b/README.md index 5637c66..3a9812b 100644 --- a/README.md +++ b/README.md @@ -61,4 +61,4 @@ While the samples provided in this package are designed as Quest Native / Androi See the [CONTRIBUTING](CONTRIBUTING.md) file for how to help out. ## License -Meta OpenXR SDK is subject to the Oculus SDK License Agreement, as found in the [LICENSE](LICENSE.txt) file. +Meta OpenXR SDK is subject to the Oculus SDK License Agreement, as found in the LICENSE file. diff --git a/Samples/1stParty/OVR/Include/JniUtils-inl.h b/Samples/1stParty/OVR/Include/JniUtils-inl.h index 34c01dc..6350012 100755 --- a/Samples/1stParty/OVR/Include/JniUtils-inl.h +++ b/Samples/1stParty/OVR/Include/JniUtils-inl.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once /////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/Samples/1stParty/OVR/Include/JniUtils.h b/Samples/1stParty/OVR/Include/JniUtils.h index bb0357e..7f146eb 100755 --- a/Samples/1stParty/OVR/Include/JniUtils.h +++ b/Samples/1stParty/OVR/Include/JniUtils.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : JniUtils.h diff --git a/Samples/1stParty/OVR/Include/OVR_Asserts.h b/Samples/1stParty/OVR/Include/OVR_Asserts.h index 3c41661..b9d8a6c 100755 --- a/Samples/1stParty/OVR/Include/OVR_Asserts.h +++ b/Samples/1stParty/OVR/Include/OVR_Asserts.h @@ -8,7 +8,6 @@ * otherwise accompanies this software in either electronic or hard copy form. * * You may obtain a copy of the License at - * * https://developer.oculus.com/licenses/oculussdk/ * * Unless required by applicable law or agreed to in writing, the Oculus SDK @@ -17,7 +16,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - /************************************************************************************ * Filename : OVR_Asserts.h * Content : Capture Asserts for Release and Debug builds. Send Telemetry logs in diff --git a/Samples/1stParty/OVR/Include/OVR_BitFlags.h b/Samples/1stParty/OVR/Include/OVR_BitFlags.h index fb7204e..d20e980 100755 --- a/Samples/1stParty/OVR/Include/OVR_BitFlags.h +++ b/Samples/1stParty/OVR/Include/OVR_BitFlags.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ PublicHeader: OVR_Kernel.h diff --git a/Samples/1stParty/OVR/Include/OVR_Compiler.h b/Samples/1stParty/OVR/Include/OVR_Compiler.h index 4d8b3b1..66c8d54 100755 --- a/Samples/1stParty/OVR/Include/OVR_Compiler.h +++ b/Samples/1stParty/OVR/Include/OVR_Compiler.h @@ -8,7 +8,6 @@ * otherwise accompanies this software in either electronic or hard copy form. * * You may obtain a copy of the License at - * * https://developer.oculus.com/licenses/oculussdk/ * * Unless required by applicable law or agreed to in writing, the Oculus SDK @@ -17,7 +16,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - /************************************************************************************ * PublicHeader: OVR_Types.h * Filename : OVR_Compiler.h diff --git a/Samples/1stParty/OVR/Include/OVR_LogUtils.h b/Samples/1stParty/OVR/Include/OVR_LogUtils.h index 7abf270..ff308bb 100755 --- a/Samples/1stParty/OVR/Include/OVR_LogUtils.h +++ b/Samples/1stParty/OVR/Include/OVR_LogUtils.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_LogUtils.h (Previously Log.h) diff --git a/Samples/1stParty/OVR/Include/OVR_Math.h b/Samples/1stParty/OVR/Include/OVR_Math.h index fd35911..32b764e 100755 --- a/Samples/1stParty/OVR/Include/OVR_Math.h +++ b/Samples/1stParty/OVR/Include/OVR_Math.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /********************************************************************************/ /** \file OVR_Math.h \brief Implementation of 3D primitives such as vectors, matrices. diff --git a/Samples/1stParty/OVR/Include/OVR_SanitizerMacros.h b/Samples/1stParty/OVR/Include/OVR_SanitizerMacros.h index 66751e9..b808007 100755 --- a/Samples/1stParty/OVR/Include/OVR_SanitizerMacros.h +++ b/Samples/1stParty/OVR/Include/OVR_SanitizerMacros.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #if defined(__has_feature) diff --git a/Samples/1stParty/OVR/Include/OVR_Std.h b/Samples/1stParty/OVR/Include/OVR_Std.h index 9edcc65..233a51d 100755 --- a/Samples/1stParty/OVR/Include/OVR_Std.h +++ b/Samples/1stParty/OVR/Include/OVR_Std.h @@ -8,7 +8,6 @@ * otherwise accompanies this software in either electronic or hard copy form. * * You may obtain a copy of the License at - * * https://developer.oculus.com/licenses/oculussdk/ * * Unless required by applicable law or agreed to in writing, the Oculus SDK @@ -17,7 +16,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - /************************************************************************************ * Filename : OVR_Std.h * Content : Standard C function interface diff --git a/Samples/1stParty/OVR/Include/OVR_Types.h b/Samples/1stParty/OVR/Include/OVR_Types.h index d671ca4..cfe7260 100755 --- a/Samples/1stParty/OVR/Include/OVR_Types.h +++ b/Samples/1stParty/OVR/Include/OVR_Types.h @@ -8,7 +8,6 @@ * otherwise accompanies this software in either electronic or hard copy form. * * You may obtain a copy of the License at - * * https://developer.oculus.com/licenses/oculussdk/ * * Unless required by applicable law or agreed to in writing, the Oculus SDK @@ -17,7 +16,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - /************************************************************************************ * Filename : OVR_Types.h * Content : Standard library defines and simple types diff --git a/Samples/1stParty/OVR/Include/OVR_TypesafeNumber.h b/Samples/1stParty/OVR/Include/OVR_TypesafeNumber.h index 511f7fa..df10db5 100755 --- a/Samples/1stParty/OVR/Include/OVR_TypesafeNumber.h +++ b/Samples/1stParty/OVR/Include/OVR_TypesafeNumber.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ PublicHeader: OVR_Kernel.h diff --git a/Samples/1stParty/OVR/Include/StringUtils.h b/Samples/1stParty/OVR/Include/StringUtils.h index 3baa6d4..63b2e1f 100755 --- a/Samples/1stParty/OVR/Include/StringUtils.h +++ b/Samples/1stParty/OVR/Include/StringUtils.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : String_Utils.h diff --git a/Samples/3rdParty/CMakeLists.txt b/Samples/3rdParty/CMakeLists.txt index e110d2e..5ce3a04 100755 --- a/Samples/3rdParty/CMakeLists.txt +++ b/Samples/3rdParty/CMakeLists.txt @@ -1,5 +1,3 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - function(find_ktx) # use prebuild library for Android to avoid runtime crash, further # investigation needed on building from ktx source diff --git a/Samples/CMakeLists.txt b/Samples/CMakeLists.txt index e36ca31..7a9cadd 100755 --- a/Samples/CMakeLists.txt +++ b/Samples/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. cmake_minimum_required(VERSION 3.10.2) project(MetaOpenXRSDK C CXX) diff --git a/Samples/SampleXrFramework/CMakeLists.txt b/Samples/SampleXrFramework/CMakeLists.txt index 2e7fb36..f13ef23 100755 --- a/Samples/SampleXrFramework/CMakeLists.txt +++ b/Samples/SampleXrFramework/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. if(NOT TARGET OpenXR::openxr_loader) find_package(OpenXR REQUIRED) endif() diff --git a/Samples/SampleXrFramework/Src/CompilerUtils.h b/Samples/SampleXrFramework/Src/CompilerUtils.h index 377d6bc..a7b45ce 100755 --- a/Samples/SampleXrFramework/Src/CompilerUtils.h +++ b/Samples/SampleXrFramework/Src/CompilerUtils.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : CompilerUtils.h diff --git a/Samples/SampleXrFramework/Src/FrameParams.h b/Samples/SampleXrFramework/Src/FrameParams.h index 7a14054..a2380fd 100755 --- a/Samples/SampleXrFramework/Src/FrameParams.h +++ b/Samples/SampleXrFramework/Src/FrameParams.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : FrameParams.h diff --git a/Samples/SampleXrFramework/Src/GUI/ActionComponents.cpp b/Samples/SampleXrFramework/Src/GUI/ActionComponents.cpp index 5d68522..d777239 100755 --- a/Samples/SampleXrFramework/Src/GUI/ActionComponents.cpp +++ b/Samples/SampleXrFramework/Src/GUI/ActionComponents.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ActionComponents.h diff --git a/Samples/SampleXrFramework/Src/GUI/ActionComponents.h b/Samples/SampleXrFramework/Src/GUI/ActionComponents.h index d0ad87e..2042995 100755 --- a/Samples/SampleXrFramework/Src/GUI/ActionComponents.h +++ b/Samples/SampleXrFramework/Src/GUI/ActionComponents.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ActionComponents.h diff --git a/Samples/SampleXrFramework/Src/GUI/AnimComponents.cpp b/Samples/SampleXrFramework/Src/GUI/AnimComponents.cpp index aa2ebaf..babd572 100755 --- a/Samples/SampleXrFramework/Src/GUI/AnimComponents.cpp +++ b/Samples/SampleXrFramework/Src/GUI/AnimComponents.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SurfaceAnim_Component.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/AnimComponents.h b/Samples/SampleXrFramework/Src/GUI/AnimComponents.h index 4a2f85e..4a59890 100755 --- a/Samples/SampleXrFramework/Src/GUI/AnimComponents.h +++ b/Samples/SampleXrFramework/Src/GUI/AnimComponents.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SurfaceAnim_Component.h diff --git a/Samples/SampleXrFramework/Src/GUI/CollisionPrimitive.cpp b/Samples/SampleXrFramework/Src/GUI/CollisionPrimitive.cpp index f87d689..169c260 100755 --- a/Samples/SampleXrFramework/Src/GUI/CollisionPrimitive.cpp +++ b/Samples/SampleXrFramework/Src/GUI/CollisionPrimitive.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : CollisionPrimitive.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/CollisionPrimitive.h b/Samples/SampleXrFramework/Src/GUI/CollisionPrimitive.h index e883b86..c0df94d 100755 --- a/Samples/SampleXrFramework/Src/GUI/CollisionPrimitive.h +++ b/Samples/SampleXrFramework/Src/GUI/CollisionPrimitive.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : CollisionPrimitive.h diff --git a/Samples/SampleXrFramework/Src/GUI/DefaultComponent.cpp b/Samples/SampleXrFramework/Src/GUI/DefaultComponent.cpp index 173e02a..0d9460e 100755 --- a/Samples/SampleXrFramework/Src/GUI/DefaultComponent.cpp +++ b/Samples/SampleXrFramework/Src/GUI/DefaultComponent.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : DefaultComponent.h diff --git a/Samples/SampleXrFramework/Src/GUI/DefaultComponent.h b/Samples/SampleXrFramework/Src/GUI/DefaultComponent.h index 5dde490..509a5b8 100755 --- a/Samples/SampleXrFramework/Src/GUI/DefaultComponent.h +++ b/Samples/SampleXrFramework/Src/GUI/DefaultComponent.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : DefaultComponent.h diff --git a/Samples/SampleXrFramework/Src/GUI/Fader.cpp b/Samples/SampleXrFramework/Src/GUI/Fader.cpp index edc779f..78d932d 100755 --- a/Samples/SampleXrFramework/Src/GUI/Fader.cpp +++ b/Samples/SampleXrFramework/Src/GUI/Fader.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Fader.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/Fader.h b/Samples/SampleXrFramework/Src/GUI/Fader.h index a7cba53..bec4589 100755 --- a/Samples/SampleXrFramework/Src/GUI/Fader.h +++ b/Samples/SampleXrFramework/Src/GUI/Fader.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Fader.h diff --git a/Samples/SampleXrFramework/Src/GUI/GazeCursor.cpp b/Samples/SampleXrFramework/Src/GUI/GazeCursor.cpp index c6d741e..186f70d 100755 --- a/Samples/SampleXrFramework/Src/GUI/GazeCursor.cpp +++ b/Samples/SampleXrFramework/Src/GUI/GazeCursor.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GazeCursor.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/GazeCursor.h b/Samples/SampleXrFramework/Src/GUI/GazeCursor.h index 7f5aac0..5bc91df 100755 --- a/Samples/SampleXrFramework/Src/GUI/GazeCursor.h +++ b/Samples/SampleXrFramework/Src/GUI/GazeCursor.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GazeCursor.h diff --git a/Samples/SampleXrFramework/Src/GUI/GuiSys.cpp b/Samples/SampleXrFramework/Src/GUI/GuiSys.cpp index 84f6eb5..07e052c 100755 --- a/Samples/SampleXrFramework/Src/GUI/GuiSys.cpp +++ b/Samples/SampleXrFramework/Src/GUI/GuiSys.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OvrGuiSys.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/GuiSys.h b/Samples/SampleXrFramework/Src/GUI/GuiSys.h index fe579c8..5a94780 100755 --- a/Samples/SampleXrFramework/Src/GUI/GuiSys.h +++ b/Samples/SampleXrFramework/Src/GUI/GuiSys.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GuiSys.h diff --git a/Samples/SampleXrFramework/Src/GUI/Lerp.h b/Samples/SampleXrFramework/Src/GUI/Lerp.h index 911afe3..1c93cbb 100755 --- a/Samples/SampleXrFramework/Src/GUI/Lerp.h +++ b/Samples/SampleXrFramework/Src/GUI/Lerp.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. diff --git a/Samples/SampleXrFramework/Src/GUI/MetaDataManager.cpp b/Samples/SampleXrFramework/Src/GUI/MetaDataManager.cpp index deabb5b..f78ce19 100755 --- a/Samples/SampleXrFramework/Src/GUI/MetaDataManager.cpp +++ b/Samples/SampleXrFramework/Src/GUI/MetaDataManager.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : MetaDataManager.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/MetaDataManager.h b/Samples/SampleXrFramework/Src/GUI/MetaDataManager.h index 0ea4c48..82ffc05 100755 --- a/Samples/SampleXrFramework/Src/GUI/MetaDataManager.h +++ b/Samples/SampleXrFramework/Src/GUI/MetaDataManager.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : MetaDataManager.h diff --git a/Samples/SampleXrFramework/Src/GUI/Reflection.cpp b/Samples/SampleXrFramework/Src/GUI/Reflection.cpp index 831bb29..779a9dc 100755 --- a/Samples/SampleXrFramework/Src/GUI/Reflection.cpp +++ b/Samples/SampleXrFramework/Src/GUI/Reflection.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Reflection.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/Reflection.h b/Samples/SampleXrFramework/Src/GUI/Reflection.h index 05eb932..2929b0c 100755 --- a/Samples/SampleXrFramework/Src/GUI/Reflection.h +++ b/Samples/SampleXrFramework/Src/GUI/Reflection.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Reflection.h diff --git a/Samples/SampleXrFramework/Src/GUI/ReflectionData.cpp b/Samples/SampleXrFramework/Src/GUI/ReflectionData.cpp index b8a6d6b..fe1bffd 100755 --- a/Samples/SampleXrFramework/Src/GUI/ReflectionData.cpp +++ b/Samples/SampleXrFramework/Src/GUI/ReflectionData.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ReflectionData.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/ReflectionData.h b/Samples/SampleXrFramework/Src/GUI/ReflectionData.h index 60d8621..001074b 100755 --- a/Samples/SampleXrFramework/Src/GUI/ReflectionData.h +++ b/Samples/SampleXrFramework/Src/GUI/ReflectionData.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ReflectionData.h diff --git a/Samples/SampleXrFramework/Src/GUI/SoundLimiter.cpp b/Samples/SampleXrFramework/Src/GUI/SoundLimiter.cpp index 6891e31..3cbbd7f 100755 --- a/Samples/SampleXrFramework/Src/GUI/SoundLimiter.cpp +++ b/Samples/SampleXrFramework/Src/GUI/SoundLimiter.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SoundLimiter.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/SoundLimiter.h b/Samples/SampleXrFramework/Src/GUI/SoundLimiter.h index 4ec48e6..c6d676a 100755 --- a/Samples/SampleXrFramework/Src/GUI/SoundLimiter.h +++ b/Samples/SampleXrFramework/Src/GUI/SoundLimiter.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SoundLimiter.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenu.cpp b/Samples/SampleXrFramework/Src/GUI/VRMenu.cpp index 35c064e..848ace1 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenu.cpp +++ b/Samples/SampleXrFramework/Src/GUI/VRMenu.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenu.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenu.h b/Samples/SampleXrFramework/Src/GUI/VRMenu.h index 05edb92..eb1016e 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenu.h +++ b/Samples/SampleXrFramework/Src/GUI/VRMenu.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenu.h diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuComponent.cpp b/Samples/SampleXrFramework/Src/GUI/VRMenuComponent.cpp index 697b497..33b5233 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuComponent.cpp +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuComponent.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenuComponent.h diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuComponent.h b/Samples/SampleXrFramework/Src/GUI/VRMenuComponent.h index a9c2ffa..92c2b64 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuComponent.h +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuComponent.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenuComponent.h diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuEvent.cpp b/Samples/SampleXrFramework/Src/GUI/VRMenuEvent.cpp index 7c34a0b..c654c0f 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuEvent.cpp +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuEvent.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenuEvent.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuEvent.h b/Samples/SampleXrFramework/Src/GUI/VRMenuEvent.h index d41b9a4..d551e4f 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuEvent.h +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuEvent.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenuEvent.h diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuEventHandler.cpp b/Samples/SampleXrFramework/Src/GUI/VRMenuEventHandler.cpp index df88303..ec86c66 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuEventHandler.cpp +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuEventHandler.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenuEventHandler.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuEventHandler.h b/Samples/SampleXrFramework/Src/GUI/VRMenuEventHandler.h index b3874d5..70f42b7 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuEventHandler.h +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuEventHandler.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenuFrame.h diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuMgr.cpp b/Samples/SampleXrFramework/Src/GUI/VRMenuMgr.cpp index 81a277c..dad3fba 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuMgr.cpp +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuMgr.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OvrMenuMgr.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuMgr.h b/Samples/SampleXrFramework/Src/GUI/VRMenuMgr.h index 242f917..430ac0e 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuMgr.h +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuMgr.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenuMgr.h diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuObject.cpp b/Samples/SampleXrFramework/Src/GUI/VRMenuObject.cpp index 5a2feb6..78e2553 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuObject.cpp +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuObject.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenuObject.cpp diff --git a/Samples/SampleXrFramework/Src/GUI/VRMenuObject.h b/Samples/SampleXrFramework/Src/GUI/VRMenuObject.h index c29bb71..5231f1c 100755 --- a/Samples/SampleXrFramework/Src/GUI/VRMenuObject.h +++ b/Samples/SampleXrFramework/Src/GUI/VRMenuObject.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : VRMenuObject.h diff --git a/Samples/SampleXrFramework/Src/GUI/ui_default.h b/Samples/SampleXrFramework/Src/GUI/ui_default.h index 1bfd699..33a129c 100755 --- a/Samples/SampleXrFramework/Src/GUI/ui_default.h +++ b/Samples/SampleXrFramework/Src/GUI/ui_default.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ui_default.h diff --git a/Samples/SampleXrFramework/Src/Input/ArmModel.cpp b/Samples/SampleXrFramework/Src/Input/ArmModel.cpp index 35125bd..008b859 100755 --- a/Samples/SampleXrFramework/Src/Input/ArmModel.cpp +++ b/Samples/SampleXrFramework/Src/Input/ArmModel.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ArmModel.cpp diff --git a/Samples/SampleXrFramework/Src/Input/ArmModel.h b/Samples/SampleXrFramework/Src/Input/ArmModel.h index a704f87..0dff0fb 100755 --- a/Samples/SampleXrFramework/Src/Input/ArmModel.h +++ b/Samples/SampleXrFramework/Src/Input/ArmModel.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ArmModel.h diff --git a/Samples/SampleXrFramework/Src/Input/AxisRenderer.cpp b/Samples/SampleXrFramework/Src/Input/AxisRenderer.cpp index d2b20c7..156431b 100755 --- a/Samples/SampleXrFramework/Src/Input/AxisRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Input/AxisRenderer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : AxisRenderer.cpp diff --git a/Samples/SampleXrFramework/Src/Input/AxisRenderer.h b/Samples/SampleXrFramework/Src/Input/AxisRenderer.h index a9c8aaa..c1c9374 100755 --- a/Samples/SampleXrFramework/Src/Input/AxisRenderer.h +++ b/Samples/SampleXrFramework/Src/Input/AxisRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : AxisRenderer.h diff --git a/Samples/SampleXrFramework/Src/Input/ControllerRenderer.cpp b/Samples/SampleXrFramework/Src/Input/ControllerRenderer.cpp index d48ab56..341c3d7 100755 --- a/Samples/SampleXrFramework/Src/Input/ControllerRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Input/ControllerRenderer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ControllerRenderer.cpp diff --git a/Samples/SampleXrFramework/Src/Input/ControllerRenderer.h b/Samples/SampleXrFramework/Src/Input/ControllerRenderer.h index 870ea45..f42b437 100755 --- a/Samples/SampleXrFramework/Src/Input/ControllerRenderer.h +++ b/Samples/SampleXrFramework/Src/Input/ControllerRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ControllerRenderer.h diff --git a/Samples/SampleXrFramework/Src/Input/HandMaskRenderer.cpp b/Samples/SampleXrFramework/Src/Input/HandMaskRenderer.cpp index e117f2b..1493c38 100755 --- a/Samples/SampleXrFramework/Src/Input/HandMaskRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Input/HandMaskRenderer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : HandMaskRenderer.cpp diff --git a/Samples/SampleXrFramework/Src/Input/HandMaskRenderer.h b/Samples/SampleXrFramework/Src/Input/HandMaskRenderer.h index 8e20d9c..0282900 100755 --- a/Samples/SampleXrFramework/Src/Input/HandMaskRenderer.h +++ b/Samples/SampleXrFramework/Src/Input/HandMaskRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : HandMaskRenderer.h diff --git a/Samples/SampleXrFramework/Src/Input/HandRenderer.cpp b/Samples/SampleXrFramework/Src/Input/HandRenderer.cpp index 7a5da90..b4651ed 100755 --- a/Samples/SampleXrFramework/Src/Input/HandRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Input/HandRenderer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : HandRenderer.cpp diff --git a/Samples/SampleXrFramework/Src/Input/HandRenderer.h b/Samples/SampleXrFramework/Src/Input/HandRenderer.h index 9ef70c3..2888841 100755 --- a/Samples/SampleXrFramework/Src/Input/HandRenderer.h +++ b/Samples/SampleXrFramework/Src/Input/HandRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : HandRenderer.h diff --git a/Samples/SampleXrFramework/Src/Input/Skeleton.cpp b/Samples/SampleXrFramework/Src/Input/Skeleton.cpp index cc39fcd..5447e11 100755 --- a/Samples/SampleXrFramework/Src/Input/Skeleton.cpp +++ b/Samples/SampleXrFramework/Src/Input/Skeleton.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Skeleton.cpp diff --git a/Samples/SampleXrFramework/Src/Input/Skeleton.h b/Samples/SampleXrFramework/Src/Input/Skeleton.h index 352f464..cfbdfad 100755 --- a/Samples/SampleXrFramework/Src/Input/Skeleton.h +++ b/Samples/SampleXrFramework/Src/Input/Skeleton.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Skeleton.h diff --git a/Samples/SampleXrFramework/Src/Input/SkeletonRenderer.cpp b/Samples/SampleXrFramework/Src/Input/SkeletonRenderer.cpp index cada94e..725e097 100755 --- a/Samples/SampleXrFramework/Src/Input/SkeletonRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Input/SkeletonRenderer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SkeletonRenderer.cpp diff --git a/Samples/SampleXrFramework/Src/Input/SkeletonRenderer.h b/Samples/SampleXrFramework/Src/Input/SkeletonRenderer.h index 89b9644..be8752b 100755 --- a/Samples/SampleXrFramework/Src/Input/SkeletonRenderer.h +++ b/Samples/SampleXrFramework/Src/Input/SkeletonRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SkeletonRenderer.h diff --git a/Samples/SampleXrFramework/Src/Input/TinyUI.cpp b/Samples/SampleXrFramework/Src/Input/TinyUI.cpp index 7a8dfc5..2411e0f 100755 --- a/Samples/SampleXrFramework/Src/Input/TinyUI.cpp +++ b/Samples/SampleXrFramework/Src/Input/TinyUI.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : TinyUI.cpp diff --git a/Samples/SampleXrFramework/Src/Input/TinyUI.h b/Samples/SampleXrFramework/Src/Input/TinyUI.h index ab13f7d..395c0a3 100755 --- a/Samples/SampleXrFramework/Src/Input/TinyUI.h +++ b/Samples/SampleXrFramework/Src/Input/TinyUI.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : TinyUI.h diff --git a/Samples/SampleXrFramework/Src/Locale/OVR_Locale.cpp b/Samples/SampleXrFramework/Src/Locale/OVR_Locale.cpp index 275d89b..4bf8e9b 100755 --- a/Samples/SampleXrFramework/Src/Locale/OVR_Locale.cpp +++ b/Samples/SampleXrFramework/Src/Locale/OVR_Locale.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. diff --git a/Samples/SampleXrFramework/Src/Locale/OVR_Locale.h b/Samples/SampleXrFramework/Src/Locale/OVR_Locale.h index 8111abd..2e7c835 100755 --- a/Samples/SampleXrFramework/Src/Locale/OVR_Locale.h +++ b/Samples/SampleXrFramework/Src/Locale/OVR_Locale.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. diff --git a/Samples/SampleXrFramework/Src/Locale/tinyxml2.cpp b/Samples/SampleXrFramework/Src/Locale/tinyxml2.cpp index 2d67cfa..428d66f 100755 --- a/Samples/SampleXrFramework/Src/Locale/tinyxml2.cpp +++ b/Samples/SampleXrFramework/Src/Locale/tinyxml2.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // clang-format off /* Original code by Lee Thomason (www.grinninglizard.com) diff --git a/Samples/SampleXrFramework/Src/Locale/tinyxml2.h b/Samples/SampleXrFramework/Src/Locale/tinyxml2.h index 15784b1..649364a 100755 --- a/Samples/SampleXrFramework/Src/Locale/tinyxml2.h +++ b/Samples/SampleXrFramework/Src/Locale/tinyxml2.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // clang-format off /* Original code by Lee Thomason (www.grinninglizard.com) diff --git a/Samples/SampleXrFramework/Src/Misc/Log.c b/Samples/SampleXrFramework/Src/Misc/Log.c index b312da2..e37ff6f 100755 --- a/Samples/SampleXrFramework/Src/Misc/Log.c +++ b/Samples/SampleXrFramework/Src/Misc/Log.c @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Log.c diff --git a/Samples/SampleXrFramework/Src/Misc/Log.h b/Samples/SampleXrFramework/Src/Misc/Log.h index cf3b0b9..fea8196 100755 --- a/Samples/SampleXrFramework/Src/Misc/Log.h +++ b/Samples/SampleXrFramework/Src/Misc/Log.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Log.h diff --git a/Samples/SampleXrFramework/Src/Model/ModelAnimationUtils.cpp b/Samples/SampleXrFramework/Src/Model/ModelAnimationUtils.cpp index b8b47b4..b9db101 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelAnimationUtils.cpp +++ b/Samples/SampleXrFramework/Src/Model/ModelAnimationUtils.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelAnimationUtils.cpp diff --git a/Samples/SampleXrFramework/Src/Model/ModelAnimationUtils.h b/Samples/SampleXrFramework/Src/Model/ModelAnimationUtils.h index 2a9a12a..06375e4 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelAnimationUtils.h +++ b/Samples/SampleXrFramework/Src/Model/ModelAnimationUtils.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelAnimationUtils.h diff --git a/Samples/SampleXrFramework/Src/Model/ModelCollision.cpp b/Samples/SampleXrFramework/Src/Model/ModelCollision.cpp index ce889a8..7a013e8 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelCollision.cpp +++ b/Samples/SampleXrFramework/Src/Model/ModelCollision.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelCollision.cpp diff --git a/Samples/SampleXrFramework/Src/Model/ModelCollision.h b/Samples/SampleXrFramework/Src/Model/ModelCollision.h index 1eade87..e22be21 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelCollision.h +++ b/Samples/SampleXrFramework/Src/Model/ModelCollision.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelCollision.h diff --git a/Samples/SampleXrFramework/Src/Model/ModelDef.h b/Samples/SampleXrFramework/Src/Model/ModelDef.h index 4f73e05..35725c3 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelDef.h +++ b/Samples/SampleXrFramework/Src/Model/ModelDef.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelDef.h diff --git a/Samples/SampleXrFramework/Src/Model/ModelFile.cpp b/Samples/SampleXrFramework/Src/Model/ModelFile.cpp index bd61e29..2e626e3 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelFile.cpp +++ b/Samples/SampleXrFramework/Src/Model/ModelFile.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelFile.cpp diff --git a/Samples/SampleXrFramework/Src/Model/ModelFile.h b/Samples/SampleXrFramework/Src/Model/ModelFile.h index 3cb4c68..50f4b3d 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelFile.h +++ b/Samples/SampleXrFramework/Src/Model/ModelFile.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelFile.h diff --git a/Samples/SampleXrFramework/Src/Model/ModelFileLoading.h b/Samples/SampleXrFramework/Src/Model/ModelFileLoading.h index 5d16f55..02a11c8 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelFileLoading.h +++ b/Samples/SampleXrFramework/Src/Model/ModelFileLoading.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelFileLoading.h diff --git a/Samples/SampleXrFramework/Src/Model/ModelFile_OvrScene.cpp b/Samples/SampleXrFramework/Src/Model/ModelFile_OvrScene.cpp index c628e57..452f449 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelFile_OvrScene.cpp +++ b/Samples/SampleXrFramework/Src/Model/ModelFile_OvrScene.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelFile_OvrScene.cpp diff --git a/Samples/SampleXrFramework/Src/Model/ModelFile_glTF.cpp b/Samples/SampleXrFramework/Src/Model/ModelFile_glTF.cpp index b251b3f..6c2da86 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelFile_glTF.cpp +++ b/Samples/SampleXrFramework/Src/Model/ModelFile_glTF.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelFile_OvrScene.cpp diff --git a/Samples/SampleXrFramework/Src/Model/ModelRender.cpp b/Samples/SampleXrFramework/Src/Model/ModelRender.cpp index b3c8303..12a5386 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelRender.cpp +++ b/Samples/SampleXrFramework/Src/Model/ModelRender.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelRender.cpp diff --git a/Samples/SampleXrFramework/Src/Model/ModelRender.h b/Samples/SampleXrFramework/Src/Model/ModelRender.h index 37f8bff..62afd1d 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelRender.h +++ b/Samples/SampleXrFramework/Src/Model/ModelRender.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelRender.h diff --git a/Samples/SampleXrFramework/Src/Model/ModelTrace.cpp b/Samples/SampleXrFramework/Src/Model/ModelTrace.cpp index 93e33a0..0e2260c 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelTrace.cpp +++ b/Samples/SampleXrFramework/Src/Model/ModelTrace.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelTrace.cpp diff --git a/Samples/SampleXrFramework/Src/Model/ModelTrace.h b/Samples/SampleXrFramework/Src/Model/ModelTrace.h index 3657b91..d3ebeed 100755 --- a/Samples/SampleXrFramework/Src/Model/ModelTrace.h +++ b/Samples/SampleXrFramework/Src/Model/ModelTrace.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ModelTrace.h diff --git a/Samples/SampleXrFramework/Src/Model/SceneView.cpp b/Samples/SampleXrFramework/Src/Model/SceneView.cpp index 24c6903..91e0870 100755 --- a/Samples/SampleXrFramework/Src/Model/SceneView.cpp +++ b/Samples/SampleXrFramework/Src/Model/SceneView.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SceneView.cpp diff --git a/Samples/SampleXrFramework/Src/Model/SceneView.h b/Samples/SampleXrFramework/Src/Model/SceneView.h index a7996de..a8a2a04 100755 --- a/Samples/SampleXrFramework/Src/Model/SceneView.h +++ b/Samples/SampleXrFramework/Src/Model/SceneView.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SceneView.h diff --git a/Samples/SampleXrFramework/Src/OVR_BinaryFile2.cpp b/Samples/SampleXrFramework/Src/OVR_BinaryFile2.cpp index 3db8852..6aaa51b 100755 --- a/Samples/SampleXrFramework/Src/OVR_BinaryFile2.cpp +++ b/Samples/SampleXrFramework/Src/OVR_BinaryFile2.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_BinaryFile2.cpp diff --git a/Samples/SampleXrFramework/Src/OVR_BinaryFile2.h b/Samples/SampleXrFramework/Src/OVR_BinaryFile2.h index a32c68e..1faa8ce 100755 --- a/Samples/SampleXrFramework/Src/OVR_BinaryFile2.h +++ b/Samples/SampleXrFramework/Src/OVR_BinaryFile2.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_BinaryFile2.h diff --git a/Samples/SampleXrFramework/Src/OVR_FileSys.cpp b/Samples/SampleXrFramework/Src/OVR_FileSys.cpp index 6a0ca69..9f953e9 100755 --- a/Samples/SampleXrFramework/Src/OVR_FileSys.cpp +++ b/Samples/SampleXrFramework/Src/OVR_FileSys.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_FileSys.cpp diff --git a/Samples/SampleXrFramework/Src/OVR_FileSys.h b/Samples/SampleXrFramework/Src/OVR_FileSys.h index 9b2ef9f..3be4eef 100755 --- a/Samples/SampleXrFramework/Src/OVR_FileSys.h +++ b/Samples/SampleXrFramework/Src/OVR_FileSys.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_FileSys.h diff --git a/Samples/SampleXrFramework/Src/OVR_Lexer2.cpp b/Samples/SampleXrFramework/Src/OVR_Lexer2.cpp index cf1dbcf..c7df668 100755 --- a/Samples/SampleXrFramework/Src/OVR_Lexer2.cpp +++ b/Samples/SampleXrFramework/Src/OVR_Lexer2.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. diff --git a/Samples/SampleXrFramework/Src/OVR_Lexer2.h b/Samples/SampleXrFramework/Src/OVR_Lexer2.h index 9d31c7e..767fa05 100755 --- a/Samples/SampleXrFramework/Src/OVR_Lexer2.h +++ b/Samples/SampleXrFramework/Src/OVR_Lexer2.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. diff --git a/Samples/SampleXrFramework/Src/OVR_MappedFile.cpp b/Samples/SampleXrFramework/Src/OVR_MappedFile.cpp index 62ce325..e9a7a54 100755 --- a/Samples/SampleXrFramework/Src/OVR_MappedFile.cpp +++ b/Samples/SampleXrFramework/Src/OVR_MappedFile.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_MappedFile.cpp diff --git a/Samples/SampleXrFramework/Src/OVR_MappedFile.h b/Samples/SampleXrFramework/Src/OVR_MappedFile.h index 0846351..00ae961 100755 --- a/Samples/SampleXrFramework/Src/OVR_MappedFile.h +++ b/Samples/SampleXrFramework/Src/OVR_MappedFile.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_MappedFile.h diff --git a/Samples/SampleXrFramework/Src/OVR_Stream.cpp b/Samples/SampleXrFramework/Src/OVR_Stream.cpp index 2ed1965..99d8cdc 100755 --- a/Samples/SampleXrFramework/Src/OVR_Stream.cpp +++ b/Samples/SampleXrFramework/Src/OVR_Stream.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_Stream.cpp diff --git a/Samples/SampleXrFramework/Src/OVR_Stream.h b/Samples/SampleXrFramework/Src/OVR_Stream.h index d31a7e6..4543ec5 100755 --- a/Samples/SampleXrFramework/Src/OVR_Stream.h +++ b/Samples/SampleXrFramework/Src/OVR_Stream.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_Stream.h diff --git a/Samples/SampleXrFramework/Src/OVR_Stream_Impl.h b/Samples/SampleXrFramework/Src/OVR_Stream_Impl.h index ee77cc3..6c9d9d0 100755 --- a/Samples/SampleXrFramework/Src/OVR_Stream_Impl.h +++ b/Samples/SampleXrFramework/Src/OVR_Stream_Impl.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_Stream_Impl.h diff --git a/Samples/SampleXrFramework/Src/OVR_UTF8Util.cpp b/Samples/SampleXrFramework/Src/OVR_UTF8Util.cpp index b366bcb..ebe0c27 100755 --- a/Samples/SampleXrFramework/Src/OVR_UTF8Util.cpp +++ b/Samples/SampleXrFramework/Src/OVR_UTF8Util.cpp @@ -8,7 +8,6 @@ * otherwise accompanies this software in either electronic or hard copy form. * * You may obtain a copy of the License at - * * https://developer.oculus.com/licenses/oculussdk/ * * Unless required by applicable law or agreed to in writing, the Oculus SDK @@ -17,7 +16,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - /************************************************************************** Filename : OVR_UTF8Util.cpp diff --git a/Samples/SampleXrFramework/Src/OVR_UTF8Util.h b/Samples/SampleXrFramework/Src/OVR_UTF8Util.h index ff5e895..bee403b 100755 --- a/Samples/SampleXrFramework/Src/OVR_UTF8Util.h +++ b/Samples/SampleXrFramework/Src/OVR_UTF8Util.h @@ -8,7 +8,6 @@ * otherwise accompanies this software in either electronic or hard copy form. * * You may obtain a copy of the License at - * * https://developer.oculus.com/licenses/oculussdk/ * * Unless required by applicable law or agreed to in writing, the Oculus SDK @@ -17,7 +16,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - /************************************************************************************ * Filename : OVR_UTF8Util.h * Content : UTF8 Unicode character encoding/decoding support diff --git a/Samples/SampleXrFramework/Src/OVR_Uri.cpp b/Samples/SampleXrFramework/Src/OVR_Uri.cpp index c5ee80b..7a80be4 100755 --- a/Samples/SampleXrFramework/Src/OVR_Uri.cpp +++ b/Samples/SampleXrFramework/Src/OVR_Uri.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_Uri.cpp diff --git a/Samples/SampleXrFramework/Src/OVR_Uri.h b/Samples/SampleXrFramework/Src/OVR_Uri.h index 96e8711..055acfb 100755 --- a/Samples/SampleXrFramework/Src/OVR_Uri.h +++ b/Samples/SampleXrFramework/Src/OVR_Uri.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_Uri.h diff --git a/Samples/SampleXrFramework/Src/PackageFiles.cpp b/Samples/SampleXrFramework/Src/PackageFiles.cpp index fabbb53..e2093be 100755 --- a/Samples/SampleXrFramework/Src/PackageFiles.cpp +++ b/Samples/SampleXrFramework/Src/PackageFiles.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : PackageFiles.cpp diff --git a/Samples/SampleXrFramework/Src/PackageFiles.h b/Samples/SampleXrFramework/Src/PackageFiles.h index cbac037..43ef2b8 100755 --- a/Samples/SampleXrFramework/Src/PackageFiles.h +++ b/Samples/SampleXrFramework/Src/PackageFiles.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : PackageFiles.h diff --git a/Samples/SampleXrFramework/Src/Render/BeamRenderer.cpp b/Samples/SampleXrFramework/Src/Render/BeamRenderer.cpp index 182facb..e982857 100755 --- a/Samples/SampleXrFramework/Src/Render/BeamRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Render/BeamRenderer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : BeamRenderer.cpp diff --git a/Samples/SampleXrFramework/Src/Render/BeamRenderer.h b/Samples/SampleXrFramework/Src/Render/BeamRenderer.h index 4bb1a26..d003e71 100755 --- a/Samples/SampleXrFramework/Src/Render/BeamRenderer.h +++ b/Samples/SampleXrFramework/Src/Render/BeamRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : BeamRenderer.h diff --git a/Samples/SampleXrFramework/Src/Render/BillBoardRenderer.cpp b/Samples/SampleXrFramework/Src/Render/BillBoardRenderer.cpp index 2ef25e1..f99fbd9 100755 --- a/Samples/SampleXrFramework/Src/Render/BillBoardRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Render/BillBoardRenderer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : BillBoardRenderer.cpp diff --git a/Samples/SampleXrFramework/Src/Render/BillBoardRenderer.h b/Samples/SampleXrFramework/Src/Render/BillBoardRenderer.h index ad6739d..c7e903b 100755 --- a/Samples/SampleXrFramework/Src/Render/BillBoardRenderer.h +++ b/Samples/SampleXrFramework/Src/Render/BillBoardRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : BillBoardRenderer.h diff --git a/Samples/SampleXrFramework/Src/Render/BitmapFont.cpp b/Samples/SampleXrFramework/Src/Render/BitmapFont.cpp index ed7ae64..4be0389 100755 --- a/Samples/SampleXrFramework/Src/Render/BitmapFont.cpp +++ b/Samples/SampleXrFramework/Src/Render/BitmapFont.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : BitmapFont.cpp diff --git a/Samples/SampleXrFramework/Src/Render/BitmapFont.h b/Samples/SampleXrFramework/Src/Render/BitmapFont.h index c6b97c1..441ebb3 100755 --- a/Samples/SampleXrFramework/Src/Render/BitmapFont.h +++ b/Samples/SampleXrFramework/Src/Render/BitmapFont.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : BitmapFont.h diff --git a/Samples/SampleXrFramework/Src/Render/DebugLines.cpp b/Samples/SampleXrFramework/Src/Render/DebugLines.cpp index 56dfbe2..2f84315 100755 --- a/Samples/SampleXrFramework/Src/Render/DebugLines.cpp +++ b/Samples/SampleXrFramework/Src/Render/DebugLines.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : DebugLines.cpp diff --git a/Samples/SampleXrFramework/Src/Render/DebugLines.h b/Samples/SampleXrFramework/Src/Render/DebugLines.h index a6ff365..5ecc3d1 100755 --- a/Samples/SampleXrFramework/Src/Render/DebugLines.h +++ b/Samples/SampleXrFramework/Src/Render/DebugLines.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : DebugLines.h diff --git a/Samples/SampleXrFramework/Src/Render/EaseFunctions.cpp b/Samples/SampleXrFramework/Src/Render/EaseFunctions.cpp index 1269185..111fd3c 100755 --- a/Samples/SampleXrFramework/Src/Render/EaseFunctions.cpp +++ b/Samples/SampleXrFramework/Src/Render/EaseFunctions.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : EaseFunctions.h diff --git a/Samples/SampleXrFramework/Src/Render/EaseFunctions.h b/Samples/SampleXrFramework/Src/Render/EaseFunctions.h index 28effac..e939c03 100755 --- a/Samples/SampleXrFramework/Src/Render/EaseFunctions.h +++ b/Samples/SampleXrFramework/Src/Render/EaseFunctions.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : EaseFunctions.h diff --git a/Samples/SampleXrFramework/Src/Render/Egl.c b/Samples/SampleXrFramework/Src/Render/Egl.c index 9c4703c..e40a92e 100755 --- a/Samples/SampleXrFramework/Src/Render/Egl.c +++ b/Samples/SampleXrFramework/Src/Render/Egl.c @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Egl.cpp diff --git a/Samples/SampleXrFramework/Src/Render/Egl.h b/Samples/SampleXrFramework/Src/Render/Egl.h index 0d3fb91..adfd2a1 100755 --- a/Samples/SampleXrFramework/Src/Render/Egl.h +++ b/Samples/SampleXrFramework/Src/Render/Egl.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Egl.h diff --git a/Samples/SampleXrFramework/Src/Render/Framebuffer.cpp b/Samples/SampleXrFramework/Src/Render/Framebuffer.cpp index e1b3922..1764c6b 100755 --- a/Samples/SampleXrFramework/Src/Render/Framebuffer.cpp +++ b/Samples/SampleXrFramework/Src/Render/Framebuffer.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Framebuffer.cpp diff --git a/Samples/SampleXrFramework/Src/Render/Framebuffer.h b/Samples/SampleXrFramework/Src/Render/Framebuffer.h index 2c284b7..812ac9d 100755 --- a/Samples/SampleXrFramework/Src/Render/Framebuffer.h +++ b/Samples/SampleXrFramework/Src/Render/Framebuffer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Framebuffer.h diff --git a/Samples/SampleXrFramework/Src/Render/GeometryBuilder.cpp b/Samples/SampleXrFramework/Src/Render/GeometryBuilder.cpp index b0783e4..29b7233 100755 --- a/Samples/SampleXrFramework/Src/Render/GeometryBuilder.cpp +++ b/Samples/SampleXrFramework/Src/Render/GeometryBuilder.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GeometryBuilder.cpp diff --git a/Samples/SampleXrFramework/Src/Render/GeometryBuilder.h b/Samples/SampleXrFramework/Src/Render/GeometryBuilder.h index 5c39d6d..6991b49 100755 --- a/Samples/SampleXrFramework/Src/Render/GeometryBuilder.h +++ b/Samples/SampleXrFramework/Src/Render/GeometryBuilder.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GeometryBuilder.h diff --git a/Samples/SampleXrFramework/Src/Render/GeometryRenderer.cpp b/Samples/SampleXrFramework/Src/Render/GeometryRenderer.cpp index a31fbc8..97b21c7 100755 --- a/Samples/SampleXrFramework/Src/Render/GeometryRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Render/GeometryRenderer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : GeometryRenderer.cpp diff --git a/Samples/SampleXrFramework/Src/Render/GeometryRenderer.h b/Samples/SampleXrFramework/Src/Render/GeometryRenderer.h index d025521..1b32d1b 100755 --- a/Samples/SampleXrFramework/Src/Render/GeometryRenderer.h +++ b/Samples/SampleXrFramework/Src/Render/GeometryRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : GeometryRenderer.h diff --git a/Samples/SampleXrFramework/Src/Render/GlBuffer.cpp b/Samples/SampleXrFramework/Src/Render/GlBuffer.cpp index df9cd2a..27cbcef 100755 --- a/Samples/SampleXrFramework/Src/Render/GlBuffer.cpp +++ b/Samples/SampleXrFramework/Src/Render/GlBuffer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GlBuffer.cpp diff --git a/Samples/SampleXrFramework/Src/Render/GlBuffer.h b/Samples/SampleXrFramework/Src/Render/GlBuffer.h index b61e8ed..5dd4e26 100755 --- a/Samples/SampleXrFramework/Src/Render/GlBuffer.h +++ b/Samples/SampleXrFramework/Src/Render/GlBuffer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GlBuffer.h diff --git a/Samples/SampleXrFramework/Src/Render/GlGeometry.cpp b/Samples/SampleXrFramework/Src/Render/GlGeometry.cpp index 639e6ac..3c5991a 100755 --- a/Samples/SampleXrFramework/Src/Render/GlGeometry.cpp +++ b/Samples/SampleXrFramework/Src/Render/GlGeometry.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GlGeometry.cpp diff --git a/Samples/SampleXrFramework/Src/Render/GlGeometry.h b/Samples/SampleXrFramework/Src/Render/GlGeometry.h index 1cac354..468ffa6 100755 --- a/Samples/SampleXrFramework/Src/Render/GlGeometry.h +++ b/Samples/SampleXrFramework/Src/Render/GlGeometry.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GlGeometry.h diff --git a/Samples/SampleXrFramework/Src/Render/GlProgram.cpp b/Samples/SampleXrFramework/Src/Render/GlProgram.cpp index db043fd..de19d2d 100755 --- a/Samples/SampleXrFramework/Src/Render/GlProgram.cpp +++ b/Samples/SampleXrFramework/Src/Render/GlProgram.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GlProgram.cpp diff --git a/Samples/SampleXrFramework/Src/Render/GlProgram.h b/Samples/SampleXrFramework/Src/Render/GlProgram.h index cb9ede7..ea1769a 100755 --- a/Samples/SampleXrFramework/Src/Render/GlProgram.h +++ b/Samples/SampleXrFramework/Src/Render/GlProgram.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GlProgram.h diff --git a/Samples/SampleXrFramework/Src/Render/GlTexture.cpp b/Samples/SampleXrFramework/Src/Render/GlTexture.cpp index 2cd97b4..17be619 100755 --- a/Samples/SampleXrFramework/Src/Render/GlTexture.cpp +++ b/Samples/SampleXrFramework/Src/Render/GlTexture.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GlTexture.cpp diff --git a/Samples/SampleXrFramework/Src/Render/GlTexture.h b/Samples/SampleXrFramework/Src/Render/GlTexture.h index 8c21a5e..1c8eb9e 100755 --- a/Samples/SampleXrFramework/Src/Render/GlTexture.h +++ b/Samples/SampleXrFramework/Src/Render/GlTexture.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GlTexture.h diff --git a/Samples/SampleXrFramework/Src/Render/GlWrapperWin32.c b/Samples/SampleXrFramework/Src/Render/GlWrapperWin32.c index 6e8f6c4..8c16b36 100755 --- a/Samples/SampleXrFramework/Src/Render/GlWrapperWin32.c +++ b/Samples/SampleXrFramework/Src/Render/GlWrapperWin32.c @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /* Copyright (c) 2016 Oculus VR, LLC. */ diff --git a/Samples/SampleXrFramework/Src/Render/GlWrapperWin32.h b/Samples/SampleXrFramework/Src/Render/GlWrapperWin32.h index 102eec6..d2f407f 100755 --- a/Samples/SampleXrFramework/Src/Render/GlWrapperWin32.h +++ b/Samples/SampleXrFramework/Src/Render/GlWrapperWin32.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /* Copyright (c) 2016 Oculus VR, LLC. */ diff --git a/Samples/SampleXrFramework/Src/Render/GpuState.h b/Samples/SampleXrFramework/Src/Render/GpuState.h index fc6be73..e213093 100755 --- a/Samples/SampleXrFramework/Src/Render/GpuState.h +++ b/Samples/SampleXrFramework/Src/Render/GpuState.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : GpuState.h diff --git a/Samples/SampleXrFramework/Src/Render/PanelRenderer.cpp b/Samples/SampleXrFramework/Src/Render/PanelRenderer.cpp index c001724..dc5727d 100755 --- a/Samples/SampleXrFramework/Src/Render/PanelRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Render/PanelRenderer.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : PanelRenderer.cpp diff --git a/Samples/SampleXrFramework/Src/Render/PanelRenderer.h b/Samples/SampleXrFramework/Src/Render/PanelRenderer.h index 7ad1a15..704272c 100755 --- a/Samples/SampleXrFramework/Src/Render/PanelRenderer.h +++ b/Samples/SampleXrFramework/Src/Render/PanelRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : PanelRenderer.h diff --git a/Samples/SampleXrFramework/Src/Render/ParticleSystem.cpp b/Samples/SampleXrFramework/Src/Render/ParticleSystem.cpp index 52b742f..0c1afa1 100755 --- a/Samples/SampleXrFramework/Src/Render/ParticleSystem.cpp +++ b/Samples/SampleXrFramework/Src/Render/ParticleSystem.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ParticleSystem.h diff --git a/Samples/SampleXrFramework/Src/Render/ParticleSystem.h b/Samples/SampleXrFramework/Src/Render/ParticleSystem.h index b93848e..d0b913c 100755 --- a/Samples/SampleXrFramework/Src/Render/ParticleSystem.h +++ b/Samples/SampleXrFramework/Src/Render/ParticleSystem.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : ParticleSystem.h diff --git a/Samples/SampleXrFramework/Src/Render/PointList.cpp b/Samples/SampleXrFramework/Src/Render/PointList.cpp index 61777e9..bc36eee 100755 --- a/Samples/SampleXrFramework/Src/Render/PointList.cpp +++ b/Samples/SampleXrFramework/Src/Render/PointList.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : PointList.cpp diff --git a/Samples/SampleXrFramework/Src/Render/PointList.h b/Samples/SampleXrFramework/Src/Render/PointList.h index de935c8..75aec65 100755 --- a/Samples/SampleXrFramework/Src/Render/PointList.h +++ b/Samples/SampleXrFramework/Src/Render/PointList.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : PointList.h diff --git a/Samples/SampleXrFramework/Src/Render/Ribbon.cpp b/Samples/SampleXrFramework/Src/Render/Ribbon.cpp index f485e0f..9ee6b36 100755 --- a/Samples/SampleXrFramework/Src/Render/Ribbon.cpp +++ b/Samples/SampleXrFramework/Src/Render/Ribbon.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Ribbon.h diff --git a/Samples/SampleXrFramework/Src/Render/Ribbon.h b/Samples/SampleXrFramework/Src/Render/Ribbon.h index 2df5909..3d2ff5e 100755 --- a/Samples/SampleXrFramework/Src/Render/Ribbon.h +++ b/Samples/SampleXrFramework/Src/Render/Ribbon.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : Ribbon.h diff --git a/Samples/SampleXrFramework/Src/Render/SimpleBeamRenderer.h b/Samples/SampleXrFramework/Src/Render/SimpleBeamRenderer.h index a045757..53d8394 100755 --- a/Samples/SampleXrFramework/Src/Render/SimpleBeamRenderer.h +++ b/Samples/SampleXrFramework/Src/Render/SimpleBeamRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SimpleBeamRenderer.h diff --git a/Samples/SampleXrFramework/Src/Render/SimpleCollisionRenderer.h b/Samples/SampleXrFramework/Src/Render/SimpleCollisionRenderer.h index c7a6a65..f92b411 100755 --- a/Samples/SampleXrFramework/Src/Render/SimpleCollisionRenderer.h +++ b/Samples/SampleXrFramework/Src/Render/SimpleCollisionRenderer.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SimpleCollisionRenderer.h diff --git a/Samples/SampleXrFramework/Src/Render/SimpleGlbRenderer.cpp b/Samples/SampleXrFramework/Src/Render/SimpleGlbRenderer.cpp index 154c933..be989b4 100755 --- a/Samples/SampleXrFramework/Src/Render/SimpleGlbRenderer.cpp +++ b/Samples/SampleXrFramework/Src/Render/SimpleGlbRenderer.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : SimpleGlbRenderer.cpp Content : A one stop for glb models from the render model OpenXR extension diff --git a/Samples/SampleXrFramework/Src/Render/SimpleGlbRenderer.h b/Samples/SampleXrFramework/Src/Render/SimpleGlbRenderer.h index 786dcbd..54ade62 100755 --- a/Samples/SampleXrFramework/Src/Render/SimpleGlbRenderer.h +++ b/Samples/SampleXrFramework/Src/Render/SimpleGlbRenderer.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : SimpleGlbRenderer.h Content : A one stop for models from the render model extension diff --git a/Samples/SampleXrFramework/Src/Render/SurfaceRender.cpp b/Samples/SampleXrFramework/Src/Render/SurfaceRender.cpp index 2776956..f77453b 100755 --- a/Samples/SampleXrFramework/Src/Render/SurfaceRender.cpp +++ b/Samples/SampleXrFramework/Src/Render/SurfaceRender.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SurfaceRender.cpp diff --git a/Samples/SampleXrFramework/Src/Render/SurfaceRender.h b/Samples/SampleXrFramework/Src/Render/SurfaceRender.h index 0d076cc..7a6c2e1 100755 --- a/Samples/SampleXrFramework/Src/Render/SurfaceRender.h +++ b/Samples/SampleXrFramework/Src/Render/SurfaceRender.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SurfaceRender.h diff --git a/Samples/SampleXrFramework/Src/Render/SurfaceTexture.cpp b/Samples/SampleXrFramework/Src/Render/SurfaceTexture.cpp index 83ce80d..6ee1c59 100755 --- a/Samples/SampleXrFramework/Src/Render/SurfaceTexture.cpp +++ b/Samples/SampleXrFramework/Src/Render/SurfaceTexture.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SurfaceTexture.cpp diff --git a/Samples/SampleXrFramework/Src/Render/SurfaceTexture.h b/Samples/SampleXrFramework/Src/Render/SurfaceTexture.h index e220718..6dbd729 100755 --- a/Samples/SampleXrFramework/Src/Render/SurfaceTexture.h +++ b/Samples/SampleXrFramework/Src/Render/SurfaceTexture.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SurfaceTexture.h diff --git a/Samples/SampleXrFramework/Src/Render/TextureAtlas.cpp b/Samples/SampleXrFramework/Src/Render/TextureAtlas.cpp index f9c6761..da4b5ca 100755 --- a/Samples/SampleXrFramework/Src/Render/TextureAtlas.cpp +++ b/Samples/SampleXrFramework/Src/Render/TextureAtlas.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : TextureAtlas.h diff --git a/Samples/SampleXrFramework/Src/Render/TextureAtlas.h b/Samples/SampleXrFramework/Src/Render/TextureAtlas.h index 54889bb..592a4d9 100755 --- a/Samples/SampleXrFramework/Src/Render/TextureAtlas.h +++ b/Samples/SampleXrFramework/Src/Render/TextureAtlas.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : TextureAtlas.h diff --git a/Samples/SampleXrFramework/Src/Render/TextureManager.cpp b/Samples/SampleXrFramework/Src/Render/TextureManager.cpp index 6463456..36ab9b5 100755 --- a/Samples/SampleXrFramework/Src/Render/TextureManager.cpp +++ b/Samples/SampleXrFramework/Src/Render/TextureManager.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_TextureManager.cpp diff --git a/Samples/SampleXrFramework/Src/Render/TextureManager.h b/Samples/SampleXrFramework/Src/Render/TextureManager.h index e0dcc05..836af12 100755 --- a/Samples/SampleXrFramework/Src/Render/TextureManager.h +++ b/Samples/SampleXrFramework/Src/Render/TextureManager.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : OVR_TextureManager.cpp diff --git a/Samples/SampleXrFramework/Src/System.cpp b/Samples/SampleXrFramework/Src/System.cpp index 969a47f..5947715 100755 --- a/Samples/SampleXrFramework/Src/System.cpp +++ b/Samples/SampleXrFramework/Src/System.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : System.cpp diff --git a/Samples/SampleXrFramework/Src/System.h b/Samples/SampleXrFramework/Src/System.h index 40f7bb8..d70dfe1 100755 --- a/Samples/SampleXrFramework/Src/System.h +++ b/Samples/SampleXrFramework/Src/System.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : System.h diff --git a/Samples/SampleXrFramework/Src/XrApp.cpp b/Samples/SampleXrFramework/Src/XrApp.cpp index 42dc48e..7061441 100755 --- a/Samples/SampleXrFramework/Src/XrApp.cpp +++ b/Samples/SampleXrFramework/Src/XrApp.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : XrApp.cpp @@ -54,37 +70,6 @@ void OXR_CheckErrors(XrInstance instance, XrResult result, const char* function, } } -inline OVR::Matrix4f XrMatrix4x4f_To_OVRMatrix4f(const XrMatrix4x4f& src) { - // col major to row major ==> transpose - return OVR::Matrix4f( - src.m[0], - src.m[4], - src.m[8], - src.m[12], - src.m[1], - src.m[5], - src.m[9], - src.m[13], - src.m[2], - src.m[6], - src.m[10], - src.m[14], - src.m[3], - src.m[7], - src.m[11], - src.m[15]); -} - -inline OVR::Posef XrPosef_To_OVRPosef(const XrPosef& src) { - return OVR::Posef{ - {src.orientation.x, src.orientation.y, src.orientation.z, src.orientation.w}, - {src.position.x, src.position.y, src.position.z}}; -} - -inline OVR::Vector2f XrVector2f_To_OVRVector2f(const XrVector2f& src) { - return OVR::Vector2f{src.x, src.y}; -} - namespace OVRFW { #if defined(ANDROID) @@ -685,7 +670,7 @@ bool XrApp::Init(const xrJava& context) { appInfo.applicationVersion = 0; strcpy(appInfo.engineName, "Oculus Mobile Sample"); appInfo.engineVersion = 0; - appInfo.apiVersion = XR_MAKE_VERSION(1, 0, 34); + appInfo.apiVersion = XR_API_VERSION_1_0; const void* nextChain = GetInstanceCreateInfoNextChain(); @@ -829,21 +814,50 @@ bool XrApp::Init(const xrJava& context) { GripTriggerAction = CreateAction( BaseActionSet, XR_ACTION_TYPE_FLOAT_INPUT, "grip_trigger", NULL, 2, handSubactionPaths); - ButtonAAction = CreateAction(BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "button_a", NULL); - ButtonBAction = CreateAction(BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "button_b", NULL); - ButtonXAction = CreateAction(BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "button_x", NULL); - ButtonYAction = CreateAction(BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "button_y", NULL); - ButtonMenuAction = - CreateAction(BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "button_menu", NULL); - ThumbStickTouchAction = - CreateAction(BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "thumb_stick_touch", NULL); - ThumbRestTouchAction = - CreateAction(BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "thumb_rest_touch", NULL); - TriggerTouchAction = - CreateAction(BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "index_trigger_touch", NULL); - - thumbstickClickAction = - CreateAction(BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "thumbstick_click", NULL); + ButtonAAction = CreateAction( + BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "button_a", NULL, 2, handSubactionPaths); + ButtonBAction = CreateAction( + BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "button_b", NULL, 2, handSubactionPaths); + ButtonXAction = CreateAction( + BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "button_x", NULL, 2, handSubactionPaths); + ButtonYAction = CreateAction( + BaseActionSet, XR_ACTION_TYPE_BOOLEAN_INPUT, "button_y", NULL, 2, handSubactionPaths); + ButtonMenuAction = CreateAction( + BaseActionSet, + XR_ACTION_TYPE_BOOLEAN_INPUT, + "button_menu", + NULL, + 2, + handSubactionPaths); + ThumbStickTouchAction = CreateAction( + BaseActionSet, + XR_ACTION_TYPE_BOOLEAN_INPUT, + "thumb_stick_touch", + NULL, + 2, + handSubactionPaths); + ThumbRestTouchAction = CreateAction( + BaseActionSet, + XR_ACTION_TYPE_BOOLEAN_INPUT, + "thumb_rest_touch", + NULL, + 2, + handSubactionPaths); + TriggerTouchAction = CreateAction( + BaseActionSet, + XR_ACTION_TYPE_BOOLEAN_INPUT, + "index_trigger_touch", + NULL, + 2, + handSubactionPaths); + + thumbstickClickAction = CreateAction( + BaseActionSet, + XR_ACTION_TYPE_BOOLEAN_INPUT, + "thumbstick_click", + NULL, + 2, + handSubactionPaths); } /// Interaction profile can be overridden @@ -1043,8 +1057,8 @@ bool XrApp::InitSession() { Session, &FrameBuffer[eye], GL_SRGB8_ALPHA8, - ViewConfigurationView[0].recommendedImageRectWidth, - ViewConfigurationView[0].recommendedImageRectHeight, + ViewConfigurationView[0].recommendedImageRectWidth * FramebufferResolutionScaleFactor, + ViewConfigurationView[0].recommendedImageRectHeight * FramebufferResolutionScaleFactor, NUM_MULTI_SAMPLES); } @@ -1192,12 +1206,12 @@ void XrApp::SyncActionSets(ovrApplFrameIn& in) { /// Update pose XrSpaceLocation loc = {XR_TYPE_SPACE_LOCATION}; OXR(xrLocateSpace(HeadSpace, CurrentSpace, ToXrTime(in.PredictedDisplayTime), &loc)); - in.HeadPose = XrPosef_To_OVRPosef(loc.pose); + in.HeadPose = FromXrPosef(loc.pose); /// grip & point space - in.LeftRemotePointPose = XrPosef_To_OVRPosef(ControllerPose[0]); - in.LeftRemotePose = XrPosef_To_OVRPosef(ControllerPose[1]); - in.RightRemotePointPose = XrPosef_To_OVRPosef(ControllerPose[2]); - in.RightRemotePose = XrPosef_To_OVRPosef(ControllerPose[3]); + in.LeftRemotePointPose = FromXrPosef(ControllerPose[0]); + in.LeftRemotePose = FromXrPosef(ControllerPose[1]); + in.RightRemotePointPose = FromXrPosef(ControllerPose[2]); + in.RightRemotePose = FromXrPosef(ControllerPose[3]); in.LeftRemoteTracked = ControllerPoseActive[1]; in.RightRemoteTracked = ControllerPoseActive[3]; @@ -1207,9 +1221,9 @@ void XrApp::SyncActionSets(ovrApplFrameIn& in) { in.LeftRemoteGripTrigger = GetActionStateFloat(GripTriggerAction, LeftHandPath).currentState; in.RightRemoteGripTrigger = GetActionStateFloat(GripTriggerAction, RightHandPath).currentState; in.LeftRemoteJoystick = - XrVector2f_To_OVRVector2f(GetActionStateVector2(JoystickAction, LeftHandPath).currentState); - in.RightRemoteJoystick = XrVector2f_To_OVRVector2f( - GetActionStateVector2(JoystickAction, RightHandPath).currentState); + FromXrVector2f(GetActionStateVector2(JoystickAction, LeftHandPath).currentState); + in.RightRemoteJoystick = + FromXrVector2f(GetActionStateVector2(JoystickAction, RightHandPath).currentState); bool aPressed = GetActionStateBoolean(ButtonAAction).currentState; bool bPressed = GetActionStateBoolean(ButtonBAction).currentState; @@ -1514,6 +1528,7 @@ void XrApp::MainLoop(MainLoopContext& loopContext) { uint32_t projectionCapacityInput = MAX_NUM_EYES; uint32_t projectionCountOutput = projectionCapacityInput; + PreLocateViews(projectionInfo); OXR(xrLocateViews( Session, &projectionInfo, @@ -1543,8 +1558,8 @@ void XrApp::MainLoop(MainLoopContext& loopContext) { const XrFovf fov = Projections[eye].fov; XrMatrix4x4f projMat; XrMatrix4x4f_CreateProjectionFov(&projMat, GRAPHICS_OPENGL_ES, fov, 0.1f, 0.0f); - out.FrameMatrices.EyeView[eye] = XrMatrix4x4f_To_OVRMatrix4f(viewMat); - out.FrameMatrices.EyeProjection[eye] = XrMatrix4x4f_To_OVRMatrix4f(projMat); + out.FrameMatrices.EyeView[eye] = FromXrMatrix4x4f(viewMat); + out.FrameMatrices.EyeProjection[eye] = FromXrMatrix4x4f(projMat); in.Eye[eye].ViewMatrix = out.FrameMatrices.EyeView[eye]; in.Eye[eye].ProjectionMatrix = out.FrameMatrices.EyeProjection[eye]; } @@ -1553,7 +1568,7 @@ void XrApp::MainLoop(MainLoopContext& loopContext) { XrPosef_Invert(¢erView, &xfStageFromHead); XrMatrix4x4f viewMat{}; XrMatrix4x4f_CreateFromRigidTransform(&viewMat, ¢erView); - out.FrameMatrices.CenterView = XrMatrix4x4f_To_OVRMatrix4f(viewMat); + out.FrameMatrices.CenterView = FromXrMatrix4x4f(viewMat); // Input HandleInput(in); diff --git a/Samples/SampleXrFramework/Src/XrApp.h b/Samples/SampleXrFramework/Src/XrApp.h index 1806f09..c0aad64 100755 --- a/Samples/SampleXrFramework/Src/XrApp.h +++ b/Samples/SampleXrFramework/Src/XrApp.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : XrApp.h @@ -186,6 +202,27 @@ static inline OVR::Posef FromXrPosef(const XrPosef& s) { return r; } +static inline OVR::Matrix4f FromXrMatrix4x4f(const XrMatrix4x4f& src) { + // col major to row major ==> transpose + return OVR::Matrix4f( + src.m[0], + src.m[4], + src.m[8], + src.m[12], + src.m[1], + src.m[5], + src.m[9], + src.m[13], + src.m[2], + src.m[6], + src.m[10], + src.m[14], + src.m[3], + src.m[7], + src.m[11], + src.m[15]); +} + namespace OVRFW { class XrApp; @@ -413,6 +450,10 @@ class XrApp { // do nothing } + virtual void PreLocateViews(XrViewLocateInfo&) { + // do nothing + } + // Returns a map from interaction profile paths to vectors of suggested bindings. // xrSuggestInteractionProfileBindings() is called once for each interaction profile path in the // returned map. @@ -542,6 +583,10 @@ class XrApp { // Note: This means input in ovrApplFrameIn won't be set bool SkipInputHandling = false; + // An app can set this in AppInit() to change the resolution of the swapchain + // allocated by the framework. + float FramebufferResolutionScaleFactor{1.0f}; + XrInstance Instance = XR_NULL_HANDLE; XrSession Session = XR_NULL_HANDLE; XrViewConfigurationProperties ViewportConfig{XR_TYPE_VIEW_CONFIGURATION_PROPERTIES}; diff --git a/Samples/XrSamples/CMakeLists.txt b/Samples/XrSamples/CMakeLists.txt index 02a9ea3..24d4af0 100755 --- a/Samples/XrSamples/CMakeLists.txt +++ b/Samples/XrSamples/CMakeLists.txt @@ -1,4 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # Get all directories in the current directory file(GLOB children RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*) diff --git a/Samples/XrSamples/XrBodyFaceEyeSocial/CMakeLists.txt b/Samples/XrSamples/XrBodyFaceEyeSocial/CMakeLists.txt index 3ffa333..88ac85d 100755 --- a/Samples/XrSamples/XrBodyFaceEyeSocial/CMakeLists.txt +++ b/Samples/XrSamples/XrBodyFaceEyeSocial/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrbodyfaceeyesocial) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.bat b/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.bat +++ b/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.gradle b/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.gradle index ce67327..bf48162 100755 --- a/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.py b/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.py +++ b/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/settings.gradle b/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/settings.gradle index 2fb346d..b315ad1 100755 --- a/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrBodyFaceEyeSocial/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrBodyFaceEyeSocial" diff --git a/Samples/XrSamples/XrBodyFaceEyeSocial/Src/main.cpp b/Samples/XrSamples/XrBodyFaceEyeSocial/Src/main.cpp index 0f910b2..8d12283 100755 --- a/Samples/XrSamples/XrBodyFaceEyeSocial/Src/main.cpp +++ b/Samples/XrSamples/XrBodyFaceEyeSocial/Src/main.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Main.cpp diff --git a/Samples/XrSamples/XrBodyFaceEyeSocial/java/MainActivity.java b/Samples/XrSamples/XrBodyFaceEyeSocial/java/MainActivity.java index 34e4e03..814564b 100644 --- a/Samples/XrSamples/XrBodyFaceEyeSocial/java/MainActivity.java +++ b/Samples/XrSamples/XrBodyFaceEyeSocial/java/MainActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus.xrsamples.xrbodyfaceeyesocial; diff --git a/Samples/XrSamples/XrColorSpaceFB/CMakeLists.txt b/Samples/XrSamples/XrColorSpaceFB/CMakeLists.txt index ed46757..7c81c9a 100755 --- a/Samples/XrSamples/XrColorSpaceFB/CMakeLists.txt +++ b/Samples/XrSamples/XrColorSpaceFB/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrsamples_xrcolorspacefb) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.bat b/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.bat +++ b/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.gradle b/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.gradle index d850e69..4d5e8af 100755 --- a/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.py b/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.py +++ b/Samples/XrSamples/XrColorSpaceFB/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrColorSpaceFB/Projects/Android/settings.gradle b/Samples/XrSamples/XrColorSpaceFB/Projects/Android/settings.gradle index 9503fa8..8a7462a 100755 --- a/Samples/XrSamples/XrColorSpaceFB/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrColorSpaceFB/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrColorSpaceFB" diff --git a/Samples/XrSamples/XrColorSpaceFB/Src/main.cpp b/Samples/XrSamples/XrColorSpaceFB/Src/main.cpp index b77d2e5..886bbc6 100755 --- a/Samples/XrSamples/XrColorSpaceFB/Src/main.cpp +++ b/Samples/XrSamples/XrColorSpaceFB/Src/main.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Main.cpp diff --git a/Samples/XrSamples/XrColorSpaceFB/Src/openxr_reflection_macro.h b/Samples/XrSamples/XrColorSpaceFB/Src/openxr_reflection_macro.h index 7944486..1a251f8 100755 --- a/Samples/XrSamples/XrColorSpaceFB/Src/openxr_reflection_macro.h +++ b/Samples/XrSamples/XrColorSpaceFB/Src/openxr_reflection_macro.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #include diff --git a/Samples/XrSamples/XrColorSpaceFB/java/MainActivity.java b/Samples/XrSamples/XrColorSpaceFB/java/MainActivity.java index 8c9e873..0f3e7ce 100644 --- a/Samples/XrSamples/XrColorSpaceFB/java/MainActivity.java +++ b/Samples/XrSamples/XrColorSpaceFB/java/MainActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus.sdk.xrcolorspacefb; diff --git a/Samples/XrSamples/XrCompositor_NativeActivity/CMakeLists.txt b/Samples/XrSamples/XrCompositor_NativeActivity/CMakeLists.txt index e00ce87..93da4bf 100755 --- a/Samples/XrSamples/XrCompositor_NativeActivity/CMakeLists.txt +++ b/Samples/XrSamples/XrCompositor_NativeActivity/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrcompositor) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.bat b/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.bat +++ b/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.gradle b/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.gradle index f2bc9e2..62c4409 100755 --- a/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.py b/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.py +++ b/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/settings.gradle b/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/settings.gradle index 44708c6..93824e3 100755 --- a/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrCompositor_NativeActivity/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrCompositor_NativeActivity" diff --git a/Samples/XrSamples/XrCompositor_NativeActivity/Src/XrCompositor_NativeActivity.c b/Samples/XrSamples/XrCompositor_NativeActivity/Src/XrCompositor_NativeActivity.c index fa844ce..3b80bea 100755 --- a/Samples/XrSamples/XrCompositor_NativeActivity/Src/XrCompositor_NativeActivity.c +++ b/Samples/XrSamples/XrCompositor_NativeActivity/Src/XrCompositor_NativeActivity.c @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : XrCompositor_NativeActivity.c @@ -5,8 +23,6 @@ Content : This sample uses the Android NativeActivity class. Created : Authors : -Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - *************************************************************************************/ #include @@ -2783,7 +2799,7 @@ void android_main(struct android_app* app) { appInfo.applicationVersion = 0; strcpy(appInfo.engineName, "Oculus Mobile Sample"); appInfo.engineVersion = 0; - appInfo.apiVersion = XR_MAKE_VERSION(1, 0, 34); + appInfo.apiVersion = XR_API_VERSION_1_0; XrInstanceCreateInfo instanceCreateInfo = {XR_TYPE_INSTANCE_CREATE_INFO}; instanceCreateInfo.createFlags = 0; diff --git a/Samples/XrSamples/XrControllers/CMakeLists.txt b/Samples/XrSamples/XrControllers/CMakeLists.txt index c487a98..2accfb7 100755 --- a/Samples/XrSamples/XrControllers/CMakeLists.txt +++ b/Samples/XrSamples/XrControllers/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrcontrollers) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrControllers/Projects/Android/build.bat b/Samples/XrSamples/XrControllers/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrControllers/Projects/Android/build.bat +++ b/Samples/XrSamples/XrControllers/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrControllers/Projects/Android/build.gradle b/Samples/XrSamples/XrControllers/Projects/Android/build.gradle index 4f74cc6..8d4c386 100755 --- a/Samples/XrSamples/XrControllers/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrControllers/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrControllers/Projects/Android/build.py b/Samples/XrSamples/XrControllers/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrControllers/Projects/Android/build.py +++ b/Samples/XrSamples/XrControllers/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrControllers/Projects/Android/settings.gradle b/Samples/XrSamples/XrControllers/Projects/Android/settings.gradle index 9f85691..f9dc185 100755 --- a/Samples/XrSamples/XrControllers/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrControllers/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrControllers" diff --git a/Samples/XrSamples/XrControllers/Src/main.cpp b/Samples/XrSamples/XrControllers/Src/main.cpp index f2abaaf..9ded14d 100755 --- a/Samples/XrSamples/XrControllers/Src/main.cpp +++ b/Samples/XrSamples/XrControllers/Src/main.cpp @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Main.cpp diff --git a/Samples/XrSamples/XrControllers/java/MainActivity.java b/Samples/XrSamples/XrControllers/java/MainActivity.java index 82a2158..a476c4a 100644 --- a/Samples/XrSamples/XrControllers/java/MainActivity.java +++ b/Samples/XrSamples/XrControllers/java/MainActivity.java @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.oculus.sdk.xrcontrollers; public class MainActivity extends android.app.NativeActivity {} diff --git a/Samples/XrSamples/XrHandDataSource/CMakeLists.txt b/Samples/XrSamples/XrHandDataSource/CMakeLists.txt index 36b936a..2ec6097 100755 --- a/Samples/XrSamples/XrHandDataSource/CMakeLists.txt +++ b/Samples/XrSamples/XrHandDataSource/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrhanddatasource) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrHandDataSource/Projects/Android/build.bat b/Samples/XrSamples/XrHandDataSource/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrHandDataSource/Projects/Android/build.bat +++ b/Samples/XrSamples/XrHandDataSource/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrHandDataSource/Projects/Android/build.gradle b/Samples/XrSamples/XrHandDataSource/Projects/Android/build.gradle index 928fa15..3bdbcd3 100755 --- a/Samples/XrSamples/XrHandDataSource/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrHandDataSource/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrHandDataSource/Projects/Android/build.py b/Samples/XrSamples/XrHandDataSource/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrHandDataSource/Projects/Android/build.py +++ b/Samples/XrSamples/XrHandDataSource/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrHandDataSource/Projects/Android/settings.gradle b/Samples/XrSamples/XrHandDataSource/Projects/Android/settings.gradle index 1bc19eb..4b17765 100755 --- a/Samples/XrSamples/XrHandDataSource/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrHandDataSource/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrHandDataSource" diff --git a/Samples/XrSamples/XrHandDataSource/Src/EnvironmentRenderer.cpp b/Samples/XrSamples/XrHandDataSource/Src/EnvironmentRenderer.cpp index b40b6a4..df16d32 100755 --- a/Samples/XrSamples/XrHandDataSource/Src/EnvironmentRenderer.cpp +++ b/Samples/XrSamples/XrHandDataSource/Src/EnvironmentRenderer.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : EnvironmentRenderer.cpp Content : A variant of ModelRenderer suited for rendering gltf scenes with diff --git a/Samples/XrSamples/XrHandDataSource/Src/EnvironmentRenderer.h b/Samples/XrSamples/XrHandDataSource/Src/EnvironmentRenderer.h index 6920b45..aeaa1b6 100755 --- a/Samples/XrSamples/XrHandDataSource/Src/EnvironmentRenderer.h +++ b/Samples/XrSamples/XrHandDataSource/Src/EnvironmentRenderer.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : EnvironmentRenderer.h Content : A variant of ModelRenderer suited for rendering gltf scenes with diff --git a/Samples/XrSamples/XrHandDataSource/Src/SkyboxRenderer.cpp b/Samples/XrSamples/XrHandDataSource/Src/SkyboxRenderer.cpp index c488149..49455db 100755 --- a/Samples/XrSamples/XrHandDataSource/Src/SkyboxRenderer.cpp +++ b/Samples/XrSamples/XrHandDataSource/Src/SkyboxRenderer.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : SkyboxRenderer.cpp Content : A renderer suited for gradient skyboxes. diff --git a/Samples/XrSamples/XrHandDataSource/Src/SkyboxRenderer.h b/Samples/XrSamples/XrHandDataSource/Src/SkyboxRenderer.h index 0cb2ec6..b6c6f22 100755 --- a/Samples/XrSamples/XrHandDataSource/Src/SkyboxRenderer.h +++ b/Samples/XrSamples/XrHandDataSource/Src/SkyboxRenderer.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : SkyboxRenderer.h Content : A renderer which displays gradient skyboxes. diff --git a/Samples/XrSamples/XrHandDataSource/Src/main.cpp b/Samples/XrSamples/XrHandDataSource/Src/main.cpp index 062aa03..d916b07 100755 --- a/Samples/XrSamples/XrHandDataSource/Src/main.cpp +++ b/Samples/XrSamples/XrHandDataSource/Src/main.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Main.cpp diff --git a/Samples/XrSamples/XrHandDataSource/Src/xr_hand_helper.h b/Samples/XrSamples/XrHandDataSource/Src/xr_hand_helper.h index 0a6ff2e..caac46a 100755 --- a/Samples/XrSamples/XrHandDataSource/Src/xr_hand_helper.h +++ b/Samples/XrSamples/XrHandDataSource/Src/xr_hand_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_hand_helper.h Content : Helper Inteface for openxr hand extensions diff --git a/Samples/XrSamples/XrHandDataSource/Src/xr_helper.h b/Samples/XrSamples/XrHandDataSource/Src/xr_helper.h index 58556ac..118a4f9 100755 --- a/Samples/XrSamples/XrHandDataSource/Src/xr_helper.h +++ b/Samples/XrSamples/XrHandDataSource/Src/xr_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_helper.h Content : Base interface to wrap openxr extension functionality diff --git a/Samples/XrSamples/XrHandDataSource/Src/xr_render_model_helper.h b/Samples/XrSamples/XrHandDataSource/Src/xr_render_model_helper.h index 6917b4f..21b5bea 100755 --- a/Samples/XrSamples/XrHandDataSource/Src/xr_render_model_helper.h +++ b/Samples/XrSamples/XrHandDataSource/Src/xr_render_model_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_render_model_helper.h Content : Helper Inteface for openxr render_model extensions diff --git a/Samples/XrSamples/XrHandDataSource/java/MainActivity.java b/Samples/XrSamples/XrHandDataSource/java/MainActivity.java index 004b498..85d3dd3 100644 --- a/Samples/XrSamples/XrHandDataSource/java/MainActivity.java +++ b/Samples/XrSamples/XrHandDataSource/java/MainActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus.sdk.xrhanddatasource; diff --git a/Samples/XrSamples/XrHandTrackingWideMotionMode/CMakeLists.txt b/Samples/XrSamples/XrHandTrackingWideMotionMode/CMakeLists.txt index abce2af..3f75a79 100755 --- a/Samples/XrSamples/XrHandTrackingWideMotionMode/CMakeLists.txt +++ b/Samples/XrSamples/XrHandTrackingWideMotionMode/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrhandtrackingwidemotionmode) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.bat b/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.bat +++ b/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.gradle b/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.gradle index 06214be..07d34b9 100755 --- a/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.py b/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.py +++ b/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/settings.gradle b/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/settings.gradle index 4a56918..e9c7086 100755 --- a/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrHandTrackingWideMotionMode/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrHandTrackingWideMotionMode" diff --git a/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/main.cpp b/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/main.cpp index d35c56d..a0009b0 100755 --- a/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/main.cpp +++ b/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/main.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Main.cpp diff --git a/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/xr_hand_helper.h b/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/xr_hand_helper.h index 7ccc8b7..1acb976 100755 --- a/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/xr_hand_helper.h +++ b/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/xr_hand_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_hand_helper.h Content : Helper Inteface for openxr hand extensions diff --git a/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/xr_helper.h b/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/xr_helper.h index 58556ac..118a4f9 100755 --- a/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/xr_helper.h +++ b/Samples/XrSamples/XrHandTrackingWideMotionMode/Src/xr_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_helper.h Content : Base interface to wrap openxr extension functionality diff --git a/Samples/XrSamples/XrHandTrackingWideMotionMode/java/MainActivity.java b/Samples/XrSamples/XrHandTrackingWideMotionMode/java/MainActivity.java index 59d6ddf..d2067f7 100644 --- a/Samples/XrSamples/XrHandTrackingWideMotionMode/java/MainActivity.java +++ b/Samples/XrSamples/XrHandTrackingWideMotionMode/java/MainActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus.sdk.xrhandtrackingwidemotionmode; diff --git a/Samples/XrSamples/XrHandsAndControllers/CMakeLists.txt b/Samples/XrSamples/XrHandsAndControllers/CMakeLists.txt index 076445f..8624bc3 100755 --- a/Samples/XrSamples/XrHandsAndControllers/CMakeLists.txt +++ b/Samples/XrSamples/XrHandsAndControllers/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrsamples_xrhands_and_controllers) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.bat b/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.bat +++ b/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.gradle b/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.gradle index faf0fd2..b83f5a2 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.py b/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.py +++ b/Samples/XrSamples/XrHandsAndControllers/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrHandsAndControllers/Projects/Android/settings.gradle b/Samples/XrSamples/XrHandsAndControllers/Projects/Android/settings.gradle index 3a416ad..2f0c223 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrHandsAndControllers/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrHandsAndControllers" diff --git a/Samples/XrSamples/XrHandsAndControllers/Src/ActionSetDisplayPanel.cpp b/Samples/XrSamples/XrHandsAndControllers/Src/ActionSetDisplayPanel.cpp index 39ab6dd..4e829bf 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Src/ActionSetDisplayPanel.cpp +++ b/Samples/XrSamples/XrHandsAndControllers/Src/ActionSetDisplayPanel.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #include "ActionSetDisplayPanel.h" #include diff --git a/Samples/XrSamples/XrHandsAndControllers/Src/ActionSetDisplayPanel.h b/Samples/XrSamples/XrHandsAndControllers/Src/ActionSetDisplayPanel.h index 885ca8f..3bd255a 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Src/ActionSetDisplayPanel.h +++ b/Samples/XrSamples/XrHandsAndControllers/Src/ActionSetDisplayPanel.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #include #include "XrApp.h" diff --git a/Samples/XrSamples/XrHandsAndControllers/Src/EnvironmentRenderer.cpp b/Samples/XrSamples/XrHandsAndControllers/Src/EnvironmentRenderer.cpp index b40b6a4..df16d32 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Src/EnvironmentRenderer.cpp +++ b/Samples/XrSamples/XrHandsAndControllers/Src/EnvironmentRenderer.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : EnvironmentRenderer.cpp Content : A variant of ModelRenderer suited for rendering gltf scenes with diff --git a/Samples/XrSamples/XrHandsAndControllers/Src/EnvironmentRenderer.h b/Samples/XrSamples/XrHandsAndControllers/Src/EnvironmentRenderer.h index 6920b45..aeaa1b6 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Src/EnvironmentRenderer.h +++ b/Samples/XrSamples/XrHandsAndControllers/Src/EnvironmentRenderer.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : EnvironmentRenderer.h Content : A variant of ModelRenderer suited for rendering gltf scenes with diff --git a/Samples/XrSamples/XrHandsAndControllers/Src/SkyboxRenderer.cpp b/Samples/XrSamples/XrHandsAndControllers/Src/SkyboxRenderer.cpp index c488149..49455db 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Src/SkyboxRenderer.cpp +++ b/Samples/XrSamples/XrHandsAndControllers/Src/SkyboxRenderer.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : SkyboxRenderer.cpp Content : A renderer suited for gradient skyboxes. diff --git a/Samples/XrSamples/XrHandsAndControllers/Src/SkyboxRenderer.h b/Samples/XrSamples/XrHandsAndControllers/Src/SkyboxRenderer.h index 0cb2ec6..b6c6f22 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Src/SkyboxRenderer.h +++ b/Samples/XrSamples/XrHandsAndControllers/Src/SkyboxRenderer.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : SkyboxRenderer.h Content : A renderer which displays gradient skyboxes. diff --git a/Samples/XrSamples/XrHandsAndControllers/Src/main.cpp b/Samples/XrSamples/XrHandsAndControllers/Src/main.cpp index 5d6a0ad..065950d 100755 --- a/Samples/XrSamples/XrHandsAndControllers/Src/main.cpp +++ b/Samples/XrSamples/XrHandsAndControllers/Src/main.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Main.cpp @@ -103,6 +121,10 @@ class XrHandsAndControllersSampleApp : public OVRFW::XrApp { OXR(xrStringToPath( Instance, "/user/detached_controller_meta/right", &rightDetachedControllerPath_)); + // In order to be able to distinguish between left and right hand versions + // of these actions, we need to pass in subactionPaths + XrPath handsTopLevelPaths[]{leftHandPath_, rightHandPath_}; + // Get the default bindings suggested by XrApp framework auto suggestedBindings = XrApp::GetSuggestedBindings(instance); actionSetMenu_ = CreateActionSet(0, "menu_action_set", "UI Action Set"); @@ -118,9 +140,10 @@ class XrHandsAndControllersSampleApp : public OVRFW::XrApp { actionSetMenu_, XR_ACTION_TYPE_BOOLEAN_INPUT, "select", - "Select/Click UI Element" // Displayed to users, should be translated to the user's - // local language - ); + "Select/Click UI Element", // Displayed to users, should be translated to the user's + // local language + 2, + handsTopLevelPaths); actionGrab_ = CreateAction( actionSetWorld_, XR_ACTION_TYPE_BOOLEAN_INPUT, "action_grab", "Simple Grab"); @@ -222,9 +245,6 @@ class XrHandsAndControllersSampleApp : public OVRFW::XrApp { "action_ext_hand_interaction_right_aim_activate_ready", "Right Hand Aim Activate Ready"); - // In order to be able to distinguish between left and right hand versions - // of these actions, we need to pass in subactionPaths - XrPath handsTopLevelPaths[]{leftHandPath_, rightHandPath_}; actionControllerAimPose_ = CreateAction( actionSetWorld_, XR_ACTION_TYPE_POSE_INPUT, @@ -341,21 +361,30 @@ class XrHandsAndControllersSampleApp : public OVRFW::XrApp { ActionSuggestedBinding(actionControllerGripPose_, "/user/hand/left/input/grip/pose")); suggestedBindings[touchInteractionProfile_].emplace_back( ActionSuggestedBinding(actionControllerGripPose_, "/user/hand/right/input/grip/pose")); + suggestedBindings[touchInteractionProfile_].emplace_back( + ActionSuggestedBinding(attachedHapticAction_, "/user/hand/left/output/haptic")); + suggestedBindings[touchInteractionProfile_].emplace_back( + ActionSuggestedBinding(attachedHapticAction_, "/user/hand/right/output/haptic")); if (isDetachedControllersExtensionAvailable_) { // Detached controllers aim and grip poses - suggestedBindings[touchProInteractionProfile_].emplace_back(ActionSuggestedBinding( + suggestedBindings[touchInteractionProfile_].emplace_back(ActionSuggestedBinding( actionDetachedControllerAimPose_, "/user/detached_controller_meta/left/input/aim/pose")); - suggestedBindings[touchProInteractionProfile_].emplace_back(ActionSuggestedBinding( + suggestedBindings[touchInteractionProfile_].emplace_back(ActionSuggestedBinding( actionDetachedControllerAimPose_, "/user/detached_controller_meta/right/input/aim/pose")); - suggestedBindings[touchProInteractionProfile_].emplace_back(ActionSuggestedBinding( + suggestedBindings[touchInteractionProfile_].emplace_back(ActionSuggestedBinding( actionDetachedControllerGripPose_, "/user/detached_controller_meta/right/input/grip/pose")); - suggestedBindings[touchProInteractionProfile_].emplace_back(ActionSuggestedBinding( + suggestedBindings[touchInteractionProfile_].emplace_back(ActionSuggestedBinding( actionDetachedControllerGripPose_, "/user/detached_controller_meta/left/input/grip/pose")); + // Detached controller haptic + suggestedBindings[touchInteractionProfile_].emplace_back(ActionSuggestedBinding( + detachedHapticAction_, "/user/detached_controller_meta/left/output/haptic")); + suggestedBindings[touchInteractionProfile_].emplace_back(ActionSuggestedBinding( + detachedHapticAction_, "/user/detached_controller_meta/right/output/haptic")); } /////////////////////////////////////////////////////////// diff --git a/Samples/XrSamples/XrHandsAndControllers/java/MainActivity.java b/Samples/XrSamples/XrHandsAndControllers/java/MainActivity.java index f40156c..1f77bd4 100644 --- a/Samples/XrSamples/XrHandsAndControllers/java/MainActivity.java +++ b/Samples/XrSamples/XrHandsAndControllers/java/MainActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus.xrsamples.xrhands_and_controllers; diff --git a/Samples/XrSamples/XrHandsFB/CMakeLists.txt b/Samples/XrSamples/XrHandsFB/CMakeLists.txt index b1f059c..0f1a3af 100755 --- a/Samples/XrSamples/XrHandsFB/CMakeLists.txt +++ b/Samples/XrSamples/XrHandsFB/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrhandsfb) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrHandsFB/Projects/Android/build.bat b/Samples/XrSamples/XrHandsFB/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrHandsFB/Projects/Android/build.bat +++ b/Samples/XrSamples/XrHandsFB/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrHandsFB/Projects/Android/build.gradle b/Samples/XrSamples/XrHandsFB/Projects/Android/build.gradle index d995f8b..9ccacde 100755 --- a/Samples/XrSamples/XrHandsFB/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrHandsFB/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrHandsFB/Projects/Android/build.py b/Samples/XrSamples/XrHandsFB/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrHandsFB/Projects/Android/build.py +++ b/Samples/XrSamples/XrHandsFB/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrHandsFB/Projects/Android/settings.gradle b/Samples/XrSamples/XrHandsFB/Projects/Android/settings.gradle index e355534..0e9eb62 100755 --- a/Samples/XrSamples/XrHandsFB/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrHandsFB/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrHandsFB" diff --git a/Samples/XrSamples/XrHandsFB/Src/main.cpp b/Samples/XrSamples/XrHandsFB/Src/main.cpp index d692901..e2ce625 100755 --- a/Samples/XrSamples/XrHandsFB/Src/main.cpp +++ b/Samples/XrSamples/XrHandsFB/Src/main.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Main.cpp diff --git a/Samples/XrSamples/XrHandsFB/java/MainActivity.java b/Samples/XrSamples/XrHandsFB/java/MainActivity.java index 5026de2..5040fcd 100644 --- a/Samples/XrSamples/XrHandsFB/java/MainActivity.java +++ b/Samples/XrSamples/XrHandsFB/java/MainActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus.sdk.xrhandsfb; diff --git a/Samples/XrSamples/XrInput/CMakeLists.txt b/Samples/XrSamples/XrInput/CMakeLists.txt index 87032fd..9f903b4 100755 --- a/Samples/XrSamples/XrInput/CMakeLists.txt +++ b/Samples/XrSamples/XrInput/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrsamples_xrinput) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrInput/Projects/Android/build.bat b/Samples/XrSamples/XrInput/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrInput/Projects/Android/build.bat +++ b/Samples/XrSamples/XrInput/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrInput/Projects/Android/build.gradle b/Samples/XrSamples/XrInput/Projects/Android/build.gradle index 5691fd3..3bb10f8 100755 --- a/Samples/XrSamples/XrInput/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrInput/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrInput/Projects/Android/build.py b/Samples/XrSamples/XrInput/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrInput/Projects/Android/build.py +++ b/Samples/XrSamples/XrInput/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrInput/Projects/Android/settings.gradle b/Samples/XrSamples/XrInput/Projects/Android/settings.gradle index f6d69ce..1858117 100755 --- a/Samples/XrSamples/XrInput/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrInput/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrInput" diff --git a/Samples/XrSamples/XrInput/Src/ActionSetDisplayPanel.cpp b/Samples/XrSamples/XrInput/Src/ActionSetDisplayPanel.cpp index 6242479..112fb82 100755 --- a/Samples/XrSamples/XrInput/Src/ActionSetDisplayPanel.cpp +++ b/Samples/XrSamples/XrInput/Src/ActionSetDisplayPanel.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #include "ActionSetDisplayPanel.h" #include diff --git a/Samples/XrSamples/XrInput/Src/ActionSetDisplayPanel.h b/Samples/XrSamples/XrInput/Src/ActionSetDisplayPanel.h index e8ffd93..aa9cecb 100755 --- a/Samples/XrSamples/XrInput/Src/ActionSetDisplayPanel.h +++ b/Samples/XrSamples/XrInput/Src/ActionSetDisplayPanel.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #include #include "XrApp.h" diff --git a/Samples/XrSamples/XrInput/Src/main.cpp b/Samples/XrSamples/XrInput/Src/main.cpp index 1d58c40..1eb2757 100755 --- a/Samples/XrSamples/XrInput/Src/main.cpp +++ b/Samples/XrSamples/XrInput/Src/main.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Main.cpp diff --git a/Samples/XrSamples/XrInput/java/MainActivity.java b/Samples/XrSamples/XrInput/java/MainActivity.java index c0cca3b..e8b8696 100644 --- a/Samples/XrSamples/XrInput/java/MainActivity.java +++ b/Samples/XrSamples/XrInput/java/MainActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus.xrsamples.xrinput; diff --git a/Samples/XrSamples/XrKeyboard/CMakeLists.txt b/Samples/XrSamples/XrKeyboard/CMakeLists.txt index 34ad15b..36f1f37 100755 --- a/Samples/XrSamples/XrKeyboard/CMakeLists.txt +++ b/Samples/XrSamples/XrKeyboard/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrkeyboard) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrKeyboard/Projects/Android/build.bat b/Samples/XrSamples/XrKeyboard/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrKeyboard/Projects/Android/build.bat +++ b/Samples/XrSamples/XrKeyboard/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrKeyboard/Projects/Android/build.gradle b/Samples/XrSamples/XrKeyboard/Projects/Android/build.gradle index 4334f8d..9f76c1c 100755 --- a/Samples/XrSamples/XrKeyboard/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrKeyboard/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrKeyboard/Projects/Android/build.py b/Samples/XrSamples/XrKeyboard/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrKeyboard/Projects/Android/build.py +++ b/Samples/XrSamples/XrKeyboard/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrKeyboard/Projects/Android/settings.gradle b/Samples/XrSamples/XrKeyboard/Projects/Android/settings.gradle index b2fceed..4dcacb9 100755 --- a/Samples/XrSamples/XrKeyboard/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrKeyboard/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrKeyboard" diff --git a/Samples/XrSamples/XrKeyboard/Src/Input/KeyboardRenderer.cpp b/Samples/XrSamples/XrKeyboard/Src/Input/KeyboardRenderer.cpp index 482f82a..da9a3fc 100755 --- a/Samples/XrSamples/XrKeyboard/Src/Input/KeyboardRenderer.cpp +++ b/Samples/XrSamples/XrKeyboard/Src/Input/KeyboardRenderer.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : KeyboardRenderer.cpp Content : A one stop for rendering keyboards diff --git a/Samples/XrSamples/XrKeyboard/Src/Input/KeyboardRenderer.h b/Samples/XrSamples/XrKeyboard/Src/Input/KeyboardRenderer.h index 7f7caab..3fc369f 100755 --- a/Samples/XrSamples/XrKeyboard/Src/Input/KeyboardRenderer.h +++ b/Samples/XrSamples/XrKeyboard/Src/Input/KeyboardRenderer.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : KeyboardRenderer.h Content : A one stop for rendering keyboards diff --git a/Samples/XrSamples/XrKeyboard/Src/main.cpp b/Samples/XrSamples/XrKeyboard/Src/main.cpp index 9cb8fd7..24dd9b7 100755 --- a/Samples/XrSamples/XrKeyboard/Src/main.cpp +++ b/Samples/XrSamples/XrKeyboard/Src/main.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* Filename : Main.cpp diff --git a/Samples/XrSamples/XrKeyboard/Src/xr_hand_helper.h b/Samples/XrSamples/XrKeyboard/Src/xr_hand_helper.h index a948224..5eef21f 100755 --- a/Samples/XrSamples/XrKeyboard/Src/xr_hand_helper.h +++ b/Samples/XrSamples/XrKeyboard/Src/xr_hand_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_hand_helper.h Content : Helper Inteface for openxr hand extensions diff --git a/Samples/XrSamples/XrKeyboard/Src/xr_helper.h b/Samples/XrSamples/XrKeyboard/Src/xr_helper.h index 58556ac..118a4f9 100755 --- a/Samples/XrSamples/XrKeyboard/Src/xr_helper.h +++ b/Samples/XrSamples/XrKeyboard/Src/xr_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_helper.h Content : Base interface to wrap openxr extension functionality diff --git a/Samples/XrSamples/XrKeyboard/Src/xr_keyboard_helper.h b/Samples/XrSamples/XrKeyboard/Src/xr_keyboard_helper.h index f5bfcdb..4e8e714 100755 --- a/Samples/XrSamples/XrKeyboard/Src/xr_keyboard_helper.h +++ b/Samples/XrSamples/XrKeyboard/Src/xr_keyboard_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_keyboard_helper.h Content : Helper Inteface for openxr keyboard extensions diff --git a/Samples/XrSamples/XrKeyboard/Src/xr_passthrough_helper.h b/Samples/XrSamples/XrKeyboard/Src/xr_passthrough_helper.h index 20fd0b4..26823e1 100755 --- a/Samples/XrSamples/XrKeyboard/Src/xr_passthrough_helper.h +++ b/Samples/XrSamples/XrKeyboard/Src/xr_passthrough_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_passthrough_helper.h Content : Helper Inteface for openxr passthrough extensions diff --git a/Samples/XrSamples/XrKeyboard/Src/xr_render_model_helper.h b/Samples/XrSamples/XrKeyboard/Src/xr_render_model_helper.h index fa8417f..ae4c754 100755 --- a/Samples/XrSamples/XrKeyboard/Src/xr_render_model_helper.h +++ b/Samples/XrSamples/XrKeyboard/Src/xr_render_model_helper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : xr_render_model_helper.h Content : Helper Inteface for openxr render_model extensions diff --git a/Samples/XrSamples/XrKeyboard/java/MainActivity.java b/Samples/XrSamples/XrKeyboard/java/MainActivity.java index f2a536d..01ed792 100644 --- a/Samples/XrSamples/XrKeyboard/java/MainActivity.java +++ b/Samples/XrSamples/XrKeyboard/java/MainActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus.sdk.xrkeyboard; diff --git a/Samples/XrSamples/XrPassthrough/CMakeLists.txt b/Samples/XrSamples/XrPassthrough/CMakeLists.txt index 4ba3275..d59828a 100755 --- a/Samples/XrSamples/XrPassthrough/CMakeLists.txt +++ b/Samples/XrSamples/XrPassthrough/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrpassthrough) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrPassthrough/Projects/Android/build.bat b/Samples/XrSamples/XrPassthrough/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrPassthrough/Projects/Android/build.bat +++ b/Samples/XrSamples/XrPassthrough/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrPassthrough/Projects/Android/build.gradle b/Samples/XrSamples/XrPassthrough/Projects/Android/build.gradle index 29d9527..3bbe15c 100755 --- a/Samples/XrSamples/XrPassthrough/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrPassthrough/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrPassthrough/Projects/Android/build.py b/Samples/XrSamples/XrPassthrough/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrPassthrough/Projects/Android/build.py +++ b/Samples/XrSamples/XrPassthrough/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrPassthrough/Projects/Android/settings.gradle b/Samples/XrSamples/XrPassthrough/Projects/Android/settings.gradle index 2973d06..4006493 100755 --- a/Samples/XrSamples/XrPassthrough/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrPassthrough/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrPassthrough" diff --git a/Samples/XrSamples/XrPassthrough/Src/XrPassthrough.cpp b/Samples/XrSamples/XrPassthrough/Src/XrPassthrough.cpp index 82aa5db..878d157 100755 --- a/Samples/XrSamples/XrPassthrough/Src/XrPassthrough.cpp +++ b/Samples/XrSamples/XrPassthrough/Src/XrPassthrough.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : XrPassthrough.cpp @@ -5,8 +23,6 @@ Content : This sample uses the Android NativeActivity class. Created : Authors : -Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - *************************************************************************************/ #include @@ -708,7 +724,7 @@ int main() { appInfo.applicationVersion = 0; strcpy(appInfo.engineName, "Oculus Mobile Sample"); appInfo.engineVersion = 0; - appInfo.apiVersion = XR_MAKE_VERSION(1, 0, 34); + appInfo.apiVersion = XR_API_VERSION_1_0; XrInstanceCreateInfo instanceCreateInfo = {XR_TYPE_INSTANCE_CREATE_INFO}; instanceCreateInfo.createFlags = 0; diff --git a/Samples/XrSamples/XrPassthrough/Src/XrPassthrough.h b/Samples/XrSamples/XrPassthrough/Src/XrPassthrough.h index 39dee90..44fd91e 100755 --- a/Samples/XrSamples/XrPassthrough/Src/XrPassthrough.h +++ b/Samples/XrSamples/XrPassthrough/Src/XrPassthrough.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #if defined(ANDROID) diff --git a/Samples/XrSamples/XrPassthrough/Src/XrPassthroughGl.cpp b/Samples/XrSamples/XrPassthrough/Src/XrPassthroughGl.cpp index c180aae..094f005 100755 --- a/Samples/XrSamples/XrPassthrough/Src/XrPassthroughGl.cpp +++ b/Samples/XrSamples/XrPassthrough/Src/XrPassthroughGl.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : XrPassthroughGl.cpp diff --git a/Samples/XrSamples/XrPassthrough/Src/XrPassthroughGl.h b/Samples/XrSamples/XrPassthrough/Src/XrPassthroughGl.h index dd56783..f08daf2 100755 --- a/Samples/XrSamples/XrPassthrough/Src/XrPassthroughGl.h +++ b/Samples/XrSamples/XrPassthrough/Src/XrPassthroughGl.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #if defined(ANDROID) diff --git a/Samples/XrSamples/XrPassthrough/Src/XrPassthroughInput.cpp b/Samples/XrSamples/XrPassthrough/Src/XrPassthroughInput.cpp index 287a484..95b20f5 100755 --- a/Samples/XrSamples/XrPassthrough/Src/XrPassthroughInput.cpp +++ b/Samples/XrSamples/XrPassthrough/Src/XrPassthroughInput.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : XrPassthrough.cpp @@ -5,8 +23,6 @@ Content : This sample uses the Android NativeActivity class. Created : Authors : -Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - *************************************************************************************/ #include diff --git a/Samples/XrSamples/XrPassthrough/Src/XrPassthroughInput.h b/Samples/XrSamples/XrPassthrough/Src/XrPassthroughInput.h index 78b881f..85b5d8e 100755 --- a/Samples/XrSamples/XrPassthrough/Src/XrPassthroughInput.h +++ b/Samples/XrSamples/XrPassthrough/Src/XrPassthroughInput.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #if defined(ANDROID) diff --git a/Samples/XrSamples/XrPassthrough/java/com/oculus/NativeActivity.java b/Samples/XrSamples/XrPassthrough/java/com/oculus/NativeActivity.java index 1705ba9..530a0a6 100644 --- a/Samples/XrSamples/XrPassthrough/java/com/oculus/NativeActivity.java +++ b/Samples/XrSamples/XrPassthrough/java/com/oculus/NativeActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus; diff --git a/Samples/XrSamples/XrPassthroughOcclusion/CMakeLists.txt b/Samples/XrSamples/XrPassthroughOcclusion/CMakeLists.txt index 7358d6e..ab9d6a5 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/CMakeLists.txt +++ b/Samples/XrSamples/XrPassthroughOcclusion/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrpassthroughocclusion) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.bat b/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.bat +++ b/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.gradle b/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.gradle index 9cc9c3b..81ce61d 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.py b/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.py +++ b/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/settings.gradle b/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/settings.gradle index af11d22..4721998 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrPassthroughOcclusion/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrPassthroughOcclusion" diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusion.cpp b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusion.cpp index a299fb4..3355e4d 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusion.cpp +++ b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusion.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : XrPassthroughOcclusion.cpp @@ -767,7 +785,7 @@ int main() { appInfo.applicationVersion = 0; strcpy(appInfo.engineName, "Oculus Mobile Sample"); appInfo.engineVersion = 0; - appInfo.apiVersion = XR_MAKE_VERSION(1, 0, 34); + appInfo.apiVersion = XR_API_VERSION_1_0; XrInstanceCreateInfo instanceCreateInfo = {XR_TYPE_INSTANCE_CREATE_INFO}; instanceCreateInfo.createFlags = 0; diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusion.h b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusion.h index 17b3512..43f7f43 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusion.h +++ b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusion.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #if defined(ANDROID) diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionGl.cpp b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionGl.cpp index 21457ab..1bb3d04 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionGl.cpp +++ b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionGl.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : XrPassthroughOcclusionGl.cpp diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionGl.h b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionGl.h index 16fb054..5352e3c 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionGl.h +++ b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionGl.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #include diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionInput.cpp b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionInput.cpp index 57034ef..4685cd3 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionInput.cpp +++ b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionInput.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : XrPassthroughOcclusionInput.cpp diff --git a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionInput.h b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionInput.h index 78b881f..85b5d8e 100755 --- a/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionInput.h +++ b/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionInput.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #if defined(ANDROID) diff --git a/Samples/XrSamples/XrPassthroughOcclusion/java/com/oculus/xrpassthroughocclusion/MainActivity.java b/Samples/XrSamples/XrPassthroughOcclusion/java/com/oculus/xrpassthroughocclusion/MainActivity.java index 40d784f..6757244 100644 --- a/Samples/XrSamples/XrPassthroughOcclusion/java/com/oculus/xrpassthroughocclusion/MainActivity.java +++ b/Samples/XrSamples/XrPassthroughOcclusion/java/com/oculus/xrpassthroughocclusion/MainActivity.java @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.oculus.xrpassthroughocclusion; import android.content.Intent; diff --git a/Samples/XrSamples/XrPassthroughOcclusion/java/com/oculus/xrpassthroughocclusion/MainNativeActivity.java b/Samples/XrSamples/XrPassthroughOcclusion/java/com/oculus/xrpassthroughocclusion/MainNativeActivity.java index f976486..dce6017 100644 --- a/Samples/XrSamples/XrPassthroughOcclusion/java/com/oculus/xrpassthroughocclusion/MainNativeActivity.java +++ b/Samples/XrSamples/XrPassthroughOcclusion/java/com/oculus/xrpassthroughocclusion/MainNativeActivity.java @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.oculus.xrpassthroughocclusion; import android.os.Bundle; diff --git a/Samples/XrSamples/XrSceneModel/CMakeLists.txt b/Samples/XrSamples/XrSceneModel/CMakeLists.txt index 9f42449..6beffab 100755 --- a/Samples/XrSamples/XrSceneModel/CMakeLists.txt +++ b/Samples/XrSamples/XrSceneModel/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(scenemodel) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrSceneModel/Projects/Android/build.bat b/Samples/XrSamples/XrSceneModel/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrSceneModel/Projects/Android/build.bat +++ b/Samples/XrSamples/XrSceneModel/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrSceneModel/Projects/Android/build.gradle b/Samples/XrSamples/XrSceneModel/Projects/Android/build.gradle index 9b516f2..947ecc1 100755 --- a/Samples/XrSamples/XrSceneModel/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrSceneModel/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrSceneModel/Projects/Android/build.py b/Samples/XrSamples/XrSceneModel/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrSceneModel/Projects/Android/build.py +++ b/Samples/XrSamples/XrSceneModel/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrSceneModel/Projects/Android/settings.gradle b/Samples/XrSamples/XrSceneModel/Projects/Android/settings.gradle index b77fad1..2b42e48 100755 --- a/Samples/XrSamples/XrSceneModel/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrSceneModel/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrSceneModel" diff --git a/Samples/XrSamples/XrSceneModel/Src/SceneModelGl.cpp b/Samples/XrSamples/XrSceneModel/Src/SceneModelGl.cpp index d5ca61c..c68099e 100755 --- a/Samples/XrSamples/XrSceneModel/Src/SceneModelGl.cpp +++ b/Samples/XrSamples/XrSceneModel/Src/SceneModelGl.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SceneModelGl.cpp diff --git a/Samples/XrSamples/XrSceneModel/Src/SceneModelGl.h b/Samples/XrSamples/XrSceneModel/Src/SceneModelGl.h index 13c06d1..5376828 100755 --- a/Samples/XrSamples/XrSceneModel/Src/SceneModelGl.h +++ b/Samples/XrSamples/XrSceneModel/Src/SceneModelGl.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #include diff --git a/Samples/XrSamples/XrSceneModel/Src/SceneModelHelpers.h b/Samples/XrSamples/XrSceneModel/Src/SceneModelHelpers.h index 7c83ceb..15e0abf 100755 --- a/Samples/XrSamples/XrSceneModel/Src/SceneModelHelpers.h +++ b/Samples/XrSamples/XrSceneModel/Src/SceneModelHelpers.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #include diff --git a/Samples/XrSamples/XrSceneModel/Src/SceneModelShaders.h b/Samples/XrSamples/XrSceneModel/Src/SceneModelShaders.h index ce09130..d7ffe94 100755 --- a/Samples/XrSamples/XrSceneModel/Src/SceneModelShaders.h +++ b/Samples/XrSamples/XrSceneModel/Src/SceneModelShaders.h @@ -1,5 +1,21 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once static const char VERTEX_SHADER[] = R"( diff --git a/Samples/XrSamples/XrSceneModel/Src/SceneModelXr.cpp b/Samples/XrSamples/XrSceneModel/Src/SceneModelXr.cpp index 4fd53b8..2269862 100755 --- a/Samples/XrSamples/XrSceneModel/Src/SceneModelXr.cpp +++ b/Samples/XrSamples/XrSceneModel/Src/SceneModelXr.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SceneModelXr.cpp @@ -5,8 +23,6 @@ Content : This sample uses the Android NativeActivity class. Created : Authors : -Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - *************************************************************************************/ #include @@ -1460,7 +1476,7 @@ int main() { XR_FB_SPATIAL_ENTITY_STORAGE_EXTENSION_NAME, XR_FB_SPATIAL_ENTITY_CONTAINER_EXTENSION_NAME, XR_META_SPATIAL_ENTITY_MESH_EXTENSION_NAME, - XR_META_BOUNDARY_VISIBILITY_EXTENSION_NAME, + XR_META_BOUNDARY_VISIBILITY_EXTENSION_NAME, XR_FB_SCENE_EXTENSION_NAME, #if defined(ANDROID) XR_FB_SCENE_CAPTURE_EXTENSION_NAME, @@ -1506,7 +1522,7 @@ int main() { appInfo.applicationVersion = 0; strcpy(appInfo.engineName, "Oculus Mobile Sample"); appInfo.engineVersion = 0; - appInfo.apiVersion = XR_MAKE_VERSION(1, 0, 34); + appInfo.apiVersion = XR_API_VERSION_1_0; XrInstanceCreateInfo instanceCreateInfo = {XR_TYPE_INSTANCE_CREATE_INFO}; instanceCreateInfo.createFlags = 0; @@ -1924,7 +1940,7 @@ int main() { instance, "xrRequestBoundaryVisibilityMETA", (PFN_xrVoidFunction*)(&app.FunPtrs.xrRequestBoundaryVisibilityMETA))); - + CreatePassthrough(app); // Two values for left and right controllers. diff --git a/Samples/XrSamples/XrSceneModel/Src/SceneModelXr.h b/Samples/XrSamples/XrSceneModel/Src/SceneModelXr.h index 39ca735..aea090c 100755 --- a/Samples/XrSamples/XrSceneModel/Src/SceneModelXr.h +++ b/Samples/XrSamples/XrSceneModel/Src/SceneModelXr.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #if defined(ANDROID) diff --git a/Samples/XrSamples/XrSceneModel/Src/SimpleXrInput.cpp b/Samples/XrSamples/XrSceneModel/Src/SimpleXrInput.cpp index 567a9e8..e2c27a2 100755 --- a/Samples/XrSamples/XrSceneModel/Src/SimpleXrInput.cpp +++ b/Samples/XrSamples/XrSceneModel/Src/SimpleXrInput.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Simple Xr Input #if defined(ANDROID) diff --git a/Samples/XrSamples/XrSceneModel/Src/SimpleXrInput.h b/Samples/XrSamples/XrSceneModel/Src/SimpleXrInput.h index 783dda6..449b9dd 100755 --- a/Samples/XrSamples/XrSceneModel/Src/SimpleXrInput.h +++ b/Samples/XrSamples/XrSceneModel/Src/SimpleXrInput.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Simple Xr Input #if defined(ANDROID) diff --git a/Samples/XrSamples/XrSceneModel/java/com/oculus/NativeActivity.java b/Samples/XrSamples/XrSceneModel/java/com/oculus/NativeActivity.java index a06b5a0..874d489 100644 --- a/Samples/XrSamples/XrSceneModel/java/com/oculus/NativeActivity.java +++ b/Samples/XrSamples/XrSceneModel/java/com/oculus/NativeActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus; diff --git a/Samples/XrSamples/XrSpaceWarp/CMakeLists.txt b/Samples/XrSamples/XrSpaceWarp/CMakeLists.txt index e97518b..62f0cbd 100755 --- a/Samples/XrSamples/XrSpaceWarp/CMakeLists.txt +++ b/Samples/XrSamples/XrSpaceWarp/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrspacewarp) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.bat b/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.bat +++ b/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.gradle b/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.gradle index 45901c2..7243166 100755 --- a/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.py b/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.py +++ b/Samples/XrSamples/XrSpaceWarp/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrSpaceWarp/Projects/Android/settings.gradle b/Samples/XrSamples/XrSpaceWarp/Projects/Android/settings.gradle index df1a880..feddd25 100755 --- a/Samples/XrSamples/XrSpaceWarp/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrSpaceWarp/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrSpaceWarp" diff --git a/Samples/XrSamples/XrSpaceWarp/Src/XrSpaceWarp.c b/Samples/XrSamples/XrSpaceWarp/Src/XrSpaceWarp.c index d11faf5..9d49ce2 100755 --- a/Samples/XrSamples/XrSpaceWarp/Src/XrSpaceWarp.c +++ b/Samples/XrSamples/XrSpaceWarp/Src/XrSpaceWarp.c @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : XrSpaceWarp.c @@ -5,8 +23,6 @@ Content : For demostrate Application space warp API usage Created : Authors : -Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - *************************************************************************************/ #include @@ -2711,7 +2727,7 @@ void android_main(struct android_app* app) { appInfo.applicationVersion = 0; strncpy(appInfo.engineName, "Oculus Mobile Sample", sizeof(appInfo.engineName)); appInfo.engineVersion = 0; - appInfo.apiVersion = XR_MAKE_VERSION(1, 0, 34); + appInfo.apiVersion = XR_API_VERSION_1_0; XrInstanceCreateInfo instanceCreateInfo = {XR_TYPE_INSTANCE_CREATE_INFO}; instanceCreateInfo.createFlags = 0; diff --git a/Samples/XrSamples/XrSpatialAnchor/CMakeLists.txt b/Samples/XrSamples/XrSpatialAnchor/CMakeLists.txt index d45fa7b..45b39f1 100755 --- a/Samples/XrSamples/XrSpatialAnchor/CMakeLists.txt +++ b/Samples/XrSamples/XrSpatialAnchor/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(spatialanchor) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.bat b/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.bat +++ b/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.gradle b/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.gradle index 55de1c9..1909129 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.py b/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.py +++ b/Samples/XrSamples/XrSpatialAnchor/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrSpatialAnchor/Projects/Android/settings.gradle b/Samples/XrSamples/XrSpatialAnchor/Projects/Android/settings.gradle index 0bb6eef..eb052da 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrSpatialAnchor/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrSpatialAnchor" diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SimpleXrInput.cpp b/Samples/XrSamples/XrSpatialAnchor/Src/SimpleXrInput.cpp index ec4db8c..f119363 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SimpleXrInput.cpp +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SimpleXrInput.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Simple Xr Input #if defined(ANDROID) diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SimpleXrInput.h b/Samples/XrSamples/XrSpatialAnchor/Src/SimpleXrInput.h index 275f152..16e7dee 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SimpleXrInput.h +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SimpleXrInput.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Simple Xr Input #if defined(ANDROID) diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorExternalDataHandler.h b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorExternalDataHandler.h index 22054c1..0965982 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorExternalDataHandler.h +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorExternalDataHandler.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #include diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorFileHandler.cpp b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorFileHandler.cpp index 7a68aed..b98cafd 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorFileHandler.cpp +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorFileHandler.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SpatialAnchorFileHandler.cpp diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorFileHandler.h b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorFileHandler.h index 4c3d84d..36c15a0 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorFileHandler.h +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorFileHandler.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #include "SpatialAnchorExternalDataHandler.h" diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorGl.cpp b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorGl.cpp index 79bc58f..5c19ed0 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorGl.cpp +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorGl.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SpatialAnchor.cpp diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorGl.h b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorGl.h index 7c68419..51ad2b8 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorGl.h +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorGl.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #include diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorUtilities.cpp b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorUtilities.cpp index d20ca6f..b8ba7b4 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorUtilities.cpp +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorUtilities.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SpatialAnchorUtilities.cpp diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorUtilities.h b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorUtilities.h index 991024e..007f8f6 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorUtilities.h +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorUtilities.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #include diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorXr.cpp b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorXr.cpp index 4517ee9..f7d2ab4 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorXr.cpp +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorXr.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************ Filename : SpatialAnchorXr.cpp @@ -1476,7 +1494,7 @@ int main() { appInfo.applicationVersion = 0; strcpy(appInfo.engineName, "Oculus Mobile Sample"); appInfo.engineVersion = 0; - appInfo.apiVersion = XR_MAKE_VERSION(1, 0, 34); + appInfo.apiVersion = XR_API_VERSION_1_0; XrInstanceCreateInfo instanceCreateInfo = {XR_TYPE_INSTANCE_CREATE_INFO}; instanceCreateInfo.createFlags = 0; diff --git a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorXr.h b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorXr.h index 39ca735..aea090c 100755 --- a/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorXr.h +++ b/Samples/XrSamples/XrSpatialAnchor/Src/SpatialAnchorXr.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #pragma once #if defined(ANDROID) diff --git a/Samples/XrSamples/XrSpatialAnchor/java/com/oculus/NativeActivity.java b/Samples/XrSamples/XrSpatialAnchor/java/com/oculus/NativeActivity.java index 1705ba9..530a0a6 100644 --- a/Samples/XrSamples/XrSpatialAnchor/java/com/oculus/NativeActivity.java +++ b/Samples/XrSamples/XrSpatialAnchor/java/com/oculus/NativeActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus; diff --git a/Samples/XrSamples/XrVirtualKeyboard/CMakeLists.txt b/Samples/XrSamples/XrVirtualKeyboard/CMakeLists.txt index 35669ee..71b839e 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/CMakeLists.txt +++ b/Samples/XrSamples/XrVirtualKeyboard/CMakeLists.txt @@ -1,5 +1,19 @@ -# Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. project(xrvirtualkeyboard) if(NOT TARGET OpenXR::openxr_loader) diff --git a/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.bat b/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.bat index facf79f..b9bbb04 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.bat +++ b/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.bat @@ -1,3 +1,19 @@ +REM Copyright (c) Meta Platforms, Inc. and affiliates. +REM All rights reserved. +REM +REM Licensed under the Oculus SDK License Agreement (the "License"); +REM you may not use the Oculus SDK except in compliance with the License, +REM which is provided at the time of installation or download, or which +REM otherwise accompanies this software in either electronic or hard copy form. +REM +REM You may obtain a copy of the License at +REM https://developer.oculus.com/licenses/oculussdk/ +REM +REM Unless required by applicable law or agreed to in writing, the Oculus SDK +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. @rem Only edit the master copy of this file in SDK_ROOT/bin/scripts/build/perproject @setlocal enableextensions enabledelayedexpansion diff --git a/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.gradle b/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.gradle index cb5223d..8e59759 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.gradle +++ b/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { diff --git a/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.py b/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.py index d4b6e58..82c0793 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.py +++ b/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/settings.gradle b/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/settings.gradle index 8203cd9..d1e5a70 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/settings.gradle +++ b/Samples/XrSamples/XrVirtualKeyboard/Projects/Android/settings.gradle @@ -1 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = "XrVirtualKeyboard" diff --git a/Samples/XrSamples/XrVirtualKeyboard/Src/VirtualKeyboardModelRenderer.cpp b/Samples/XrSamples/XrVirtualKeyboard/Src/VirtualKeyboardModelRenderer.cpp index b089e56..07a217d 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Src/VirtualKeyboardModelRenderer.cpp +++ b/Samples/XrSamples/XrVirtualKeyboard/Src/VirtualKeyboardModelRenderer.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : VirtualKeyboardModelRenderer.cpp Content : Helper class for rendering the virtual keyboard model diff --git a/Samples/XrSamples/XrVirtualKeyboard/Src/VirtualKeyboardModelRenderer.h b/Samples/XrSamples/XrVirtualKeyboard/Src/VirtualKeyboardModelRenderer.h index 60f500f..b0f88b6 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Src/VirtualKeyboardModelRenderer.h +++ b/Samples/XrSamples/XrVirtualKeyboard/Src/VirtualKeyboardModelRenderer.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : VirtualKeyboardModelRenderer.h Content : Helper class for rendering the virtual keyboard model diff --git a/Samples/XrSamples/XrVirtualKeyboard/Src/XrHandHelper.h b/Samples/XrSamples/XrVirtualKeyboard/Src/XrHandHelper.h index 9afb564..47dfc6a 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Src/XrHandHelper.h +++ b/Samples/XrSamples/XrVirtualKeyboard/Src/XrHandHelper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : XrHandHelper.h Content : Helper Inteface for openxr hand extensions diff --git a/Samples/XrSamples/XrVirtualKeyboard/Src/XrHelper.h b/Samples/XrSamples/XrVirtualKeyboard/Src/XrHelper.h index 11858af..f0fb584 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Src/XrHelper.h +++ b/Samples/XrSamples/XrVirtualKeyboard/Src/XrHelper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : XrHelper.h Content : Base interface to wrap openxr extension functionality diff --git a/Samples/XrSamples/XrVirtualKeyboard/Src/XrRenderModelHelper.cpp b/Samples/XrSamples/XrVirtualKeyboard/Src/XrRenderModelHelper.cpp index 4ffd8ee..6191592 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Src/XrRenderModelHelper.cpp +++ b/Samples/XrSamples/XrVirtualKeyboard/Src/XrRenderModelHelper.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : XrRenderModelHelper.cpp Content : Helper inteface for XR_FB_render_model extensions diff --git a/Samples/XrSamples/XrVirtualKeyboard/Src/XrRenderModelHelper.h b/Samples/XrSamples/XrVirtualKeyboard/Src/XrRenderModelHelper.h index 9fee994..762b34c 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Src/XrRenderModelHelper.h +++ b/Samples/XrSamples/XrVirtualKeyboard/Src/XrRenderModelHelper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : XrRenderModelHelper.h Content : Helper inteface for openxr XR_FB_render_model extensions diff --git a/Samples/XrSamples/XrVirtualKeyboard/Src/XrVirtualKeyboardHelper.cpp b/Samples/XrSamples/XrVirtualKeyboard/Src/XrVirtualKeyboardHelper.cpp index c7374d9..a85e021 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Src/XrVirtualKeyboardHelper.cpp +++ b/Samples/XrSamples/XrVirtualKeyboard/Src/XrVirtualKeyboardHelper.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : XrVirtualKeyboardHelper.cpp Content : Helper inteface for openxr XR_META_virtual_keyboard extension diff --git a/Samples/XrSamples/XrVirtualKeyboard/Src/XrVirtualKeyboardHelper.h b/Samples/XrSamples/XrVirtualKeyboard/Src/XrVirtualKeyboardHelper.h index b8e3b23..087ef4e 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Src/XrVirtualKeyboardHelper.h +++ b/Samples/XrSamples/XrVirtualKeyboard/Src/XrVirtualKeyboardHelper.h @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : XrVirtualKeyboardHelper.h Content : Helper inteface for openxr XR_META_virtual_keyboard extension diff --git a/Samples/XrSamples/XrVirtualKeyboard/Src/main.cpp b/Samples/XrSamples/XrVirtualKeyboard/Src/main.cpp index 494a043..3bffd3b 100755 --- a/Samples/XrSamples/XrVirtualKeyboard/Src/main.cpp +++ b/Samples/XrSamples/XrVirtualKeyboard/Src/main.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /************************************************************************************************ Filename : main.cpp Content : Sample test app to test openxr XR_META_virtual_keyboard extension diff --git a/Samples/XrSamples/XrVirtualKeyboard/java/MainActivity.java b/Samples/XrSamples/XrVirtualKeyboard/java/MainActivity.java index 97624e8..f6ec6a6 100644 --- a/Samples/XrSamples/XrVirtualKeyboard/java/MainActivity.java +++ b/Samples/XrSamples/XrVirtualKeyboard/java/MainActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Copyright (c) Facebook Technologies, LLC and its affiliates. All Rights reserved. package com.oculus.sdk.xrvirtualkeyboard; diff --git a/Samples/bin/scripts/build/ovrbuild.py b/Samples/bin/scripts/build/ovrbuild.py index a80f23b..de9e8b5 100755 --- a/Samples/bin/scripts/build/ovrbuild.py +++ b/Samples/bin/scripts/build/ovrbuild.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import argparse import hashlib import locale diff --git a/Samples/bin/scripts/build/ovrbuild_keystore.py b/Samples/bin/scripts/build/ovrbuild_keystore.py index cd15cc6..3d63353 100755 --- a/Samples/bin/scripts/build/ovrbuild_keystore.py +++ b/Samples/bin/scripts/build/ovrbuild_keystore.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import os, socket, sys diff --git a/Samples/bin/scripts/build/perproject/build.py b/Samples/bin/scripts/build/perproject/build.py index d4b6e58..82c0793 100755 --- a/Samples/bin/scripts/build/perproject/build.py +++ b/Samples/bin/scripts/build/perproject/build.py @@ -1,6 +1,20 @@ #!/usr/bin/python -# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # This first bit of code is common bootstrapping code # to determine the SDK root, and to set up the import # path for additional python code. diff --git a/Samples/bin/scripts/build/util.py b/Samples/bin/scripts/build/util.py index af5c71a..988994d 100755 --- a/Samples/bin/scripts/build/util.py +++ b/Samples/bin/scripts/build/util.py @@ -1,3 +1,19 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# Licensed under the Oculus SDK License Agreement (the "License"); +# you may not use the Oculus SDK except in compliance with the License, +# which is provided at the time of installation or download, or which +# otherwise accompanies this software in either electronic or hard copy form. +# +# You may obtain a copy of the License at +# https://developer.oculus.com/licenses/oculussdk/ +# +# Unless required by applicable law or agreed to in writing, the Oculus SDK +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import os diff --git a/Samples/build.gradle b/Samples/build.gradle index 2bb0e6e..6744536 100755 --- a/Samples/build.gradle +++ b/Samples/build.gradle @@ -1,3 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ buildscript { repositories { google() diff --git a/Samples/settings.gradle.kts b/Samples/settings.gradle.kts index 11f9ab3..14217e7 100644 --- a/Samples/settings.gradle.kts +++ b/Samples/settings.gradle.kts @@ -1,4 +1,21 @@ -// Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * Licensed under the Oculus SDK License Agreement (the "License"); + * you may not use the Oculus SDK except in compliance with the License, + * which is provided at the time of installation or download, or which + * otherwise accompanies this software in either electronic or hard copy form. + * + * You may obtain a copy of the License at + * https://developer.oculus.com/licenses/oculussdk/ + * + * Unless required by applicable law or agreed to in writing, the Oculus SDK + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ rootProject.name = ("MetaOpenXRSDK") val folderPath = "XrSamples/"