├── .gitignore ├── .idea ├── .gitignore ├── .name ├── compiler.xml └── misc.xml ├── LICENSE ├── OpenXR-SDK-Source-release-1.0.13 ├── .azure-pipelines │ ├── build_jobs.yml │ ├── build_linux.yml │ ├── build_mingw.yml │ ├── build_msvc.yml │ ├── check_clang_format.yml │ ├── codespell.yml │ ├── generate_windows_matrix_build.py │ ├── install_vulkan.ps1 │ ├── nuget │ │ ├── NugetTemplate │ │ │ ├── OpenXR.Loader.nuspec │ │ │ └── build │ │ │ │ └── native │ │ │ │ ├── OpenXR.Loader.props │ │ │ │ └── OpenXR.Loader.targets │ │ └── stage_nuget.ps1 │ ├── openxr-sdk-source.yml │ ├── openxr-sdk.yml │ ├── organize_windows_artifacts.py │ ├── print_windows_artifact_names.py │ └── shared.py ├── .editorconfig ├── .gitattributes ├── .gitignore ├── .proclamation.json ├── .proclamation.json.license ├── .reuse │ └── dep5 ├── BUILDING.md ├── CHANGELOG.SDK.md ├── CMakeLists.txt ├── CODE_OF_CONDUCT.md ├── LICENSE ├── LICENSES │ ├── Apache-2.0.txt │ ├── BSD-3-Clause.txt │ ├── BSL-1.0.txt │ ├── CC-BY-4.0.txt │ ├── CC0-1.0.txt │ ├── LicenseRef-Khronos-Free-Use-License-for-Software-and-Documentation.txt │ ├── LicenseRef-KhronosSpecCopyright.txt │ ├── LicenseRef-jsoncpp-public-domain.txt │ ├── MIT.txt │ ├── OFL-1.1-RFN.txt │ └── Unlicense.txt ├── README.md ├── changes │ ├── README.md │ ├── registry │ │ └── README.md │ ├── sdk │ │ └── README.md │ └── template.md ├── checkCodespell ├── external │ ├── include │ │ ├── CMakeLists.txt │ │ ├── GL │ │ │ ├── gl_format.h │ │ │ ├── glext.h │ │ │ ├── glext.h.license │ │ │ ├── wglext.h │ │ │ └── wglext.h.license │ │ └── utils │ │ │ ├── algebra.h │ │ │ ├── nanoseconds.h │ │ │ ├── sysinfo.h │ │ │ └── threading.h │ └── python │ │ ├── Jinja2-2.10.1.dist-info │ │ ├── INSTALLER │ │ ├── LICENSE │ │ ├── METADATA │ │ ├── RECORD │ │ ├── WHEEL │ │ ├── entry_points.txt │ │ └── top_level.txt │ │ ├── MarkupSafe-1.1.1.dist-info │ │ ├── INSTALLER │ │ ├── LICENSE.txt │ │ ├── METADATA │ │ ├── RECORD │ │ ├── WHEEL │ │ └── top_level.txt │ │ ├── jinja2 │ │ ├── __init__.py │ │ ├── _compat.py │ │ ├── _identifier.py │ │ ├── asyncfilters.py │ │ ├── asyncsupport.py │ │ ├── bccache.py │ │ ├── compiler.py │ │ ├── constants.py │ │ ├── debug.py │ │ ├── defaults.py │ │ ├── environment.py │ │ ├── exceptions.py │ │ ├── ext.py │ │ ├── filters.py │ │ ├── idtracking.py │ │ ├── lexer.py │ │ ├── loaders.py │ │ ├── meta.py │ │ ├── nativetypes.py │ │ ├── nodes.py │ │ ├── optimizer.py │ │ ├── parser.py │ │ ├── runtime.py │ │ ├── sandbox.py │ │ ├── tests.py │ │ ├── utils.py │ │ └── visitor.py │ │ └── markupsafe │ │ ├── __init__.py │ │ ├── _compat.py │ │ ├── _constants.py │ │ ├── _native.py │ │ └── _speedups.c ├── github │ └── sdk │ │ └── README.md ├── include │ ├── CMakeLists.txt │ └── openxr │ │ ├── CMakeLists.txt │ │ └── openxr_platform_defines.h ├── maintainer-scripts │ ├── archive-sdk.sh │ ├── check-changelog-fragments.sh │ └── common.sh ├── openxr-codespell.exclude ├── runClangFormat.sh ├── specification │ ├── .gitignore │ ├── Makefile │ ├── README.md │ ├── loader │ │ ├── api_layer.adoc │ │ ├── appendicies.adoc │ │ ├── application.adoc │ │ ├── debug.adoc │ │ ├── design.adoc │ │ ├── images │ │ │ ├── app_dispatch_table_call_chain.svg │ │ │ ├── app_dispatch_table_call_chain.svg.license │ │ │ ├── call_chain_example.svg │ │ │ ├── call_chain_example.svg.license │ │ │ ├── class_diagram.svg │ │ │ ├── class_diagram.svg.license │ │ │ ├── high_level_loader.svg │ │ │ ├── high_level_loader.svg.license │ │ │ ├── loader_layer_order_calls.svg │ │ │ ├── loader_layer_order_calls.svg.license │ │ │ ├── optional_layer_function_impl.svg │ │ │ ├── optional_layer_function_impl.svg.license │ │ │ ├── standard_call_chains.svg │ │ │ └── standard_call_chains.svg.license │ │ ├── loader.adoc │ │ ├── overview.adoc │ │ ├── runtime.adoc │ │ └── source.adoc │ ├── registry │ │ └── xr.xml │ ├── requirements.txt │ └── scripts │ │ ├── __init__.py.docs │ │ ├── cgenerator.py │ │ ├── check_spec_links.py │ │ ├── check_stamp.py │ │ ├── comment_convert.py │ │ ├── conventions.py │ │ ├── creflectiongenerator.py │ │ ├── docgenerator.py │ │ ├── extensionmetadocgenerator.py │ │ ├── extract_code.py │ │ ├── genRef.py │ │ ├── genanchorlinks.py │ │ ├── generator.py │ │ ├── genxr.py │ │ ├── hostsyncgenerator.py │ │ ├── indexgenerator.py │ │ ├── jinja_helpers.py │ │ ├── make_ext_dependency.py │ │ ├── openxr-macros.rb │ │ ├── openxr-macros │ │ └── extension.rb │ │ ├── pdf-index-customizer.rb │ │ ├── pdf_chapter_diff.py │ │ ├── pygenerator.py │ │ ├── realign.py │ │ ├── reflib.py │ │ ├── reflow.py │ │ ├── reflow_count.py │ │ ├── reflow_count.py.license │ │ ├── reg.py │ │ ├── spec_tools │ │ ├── __init__.py │ │ ├── algo.py │ │ ├── attributes.py │ │ ├── base_printer.py │ │ ├── consistency_tools.py │ │ ├── console_printer.py │ │ ├── data_structures.py │ │ ├── entity_db.py │ │ ├── file_process.py │ │ ├── html_printer.py │ │ ├── macro_checker.py │ │ ├── macro_checker_file.py │ │ ├── main.py │ │ ├── shared.py │ │ ├── util.py │ │ └── validity.py │ │ ├── template_openxr_reflection.h │ │ ├── test_check_spec_links.py │ │ ├── test_check_spec_links_api_specific.py │ │ ├── test_entity_db.py │ │ ├── update_version.py │ │ ├── validitygenerator.py │ │ ├── xml_consistency.py │ │ └── xrconventions.py ├── src │ ├── .clang-format │ ├── .gitignore │ ├── CMakeLists.txt │ ├── api_layers │ │ ├── CMakeLists.txt │ │ ├── OpenXR_API_Dump.png │ │ ├── OpenXR_API_Dump.png.license │ │ ├── OpenXR_Core_Validation.png │ │ ├── OpenXR_Core_Validation.png.license │ │ ├── README.md │ │ ├── README_api_dump.md │ │ ├── README_core_validation.md │ │ ├── XrApiLayer_api_dump.def │ │ ├── XrApiLayer_core_validation.def │ │ ├── api_dump.cpp │ │ ├── api_layer_platform_defines.h │ │ ├── core_validation.cpp │ │ ├── core_validation_html_anchor.png │ │ ├── core_validation_html_anchor.png.license │ │ ├── core_validation_message.png │ │ ├── core_validation_message.png.license │ │ └── validation_utils.h │ ├── cmake │ │ ├── FindEGL.cmake │ │ ├── FindJsonCpp.cmake │ │ ├── FindOpenGLES.cmake │ │ ├── FindVulkanHeaders.cmake │ │ ├── StdFilesystemFlags.cmake │ │ ├── cmake_uninstall.cmake.in │ │ ├── metaconfig.cmake.in │ │ └── presentation.cmake │ ├── common │ │ ├── extra_algorithms.h │ │ ├── filesystem_utils.cpp │ │ ├── filesystem_utils.hpp │ │ ├── gfxwrapper_opengl.c │ │ ├── gfxwrapper_opengl.h │ │ ├── hex_and_handles.h │ │ ├── loader_interfaces.h │ │ ├── object_info.cpp │ │ ├── object_info.h │ │ ├── platform_utils.hpp │ │ ├── xr_dependencies.h │ │ └── xr_linear.h │ ├── common_config.h.in │ ├── external │ │ └── jsoncpp │ │ │ ├── .clang-format │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── AUTHORS │ │ │ ├── CMakeLists.txt │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── amalgamate.py │ │ │ ├── appveyor.yml │ │ │ ├── dev.makefile │ │ │ ├── devtools │ │ │ ├── __init__.py │ │ │ ├── agent_vmw7.json │ │ │ ├── agent_vmxp.json │ │ │ ├── antglob.py │ │ │ ├── batchbuild.py │ │ │ ├── fixeol.py │ │ │ ├── licenseupdater.py │ │ │ └── tarball.py │ │ │ ├── doc │ │ │ ├── doxyfile.in │ │ │ ├── footer.html │ │ │ ├── header.html │ │ │ ├── jsoncpp.dox │ │ │ ├── readme.txt │ │ │ ├── roadmap.dox │ │ │ └── web_doxyfile.in │ │ │ ├── doxybuild.py │ │ │ ├── include │ │ │ ├── CMakeLists.txt │ │ │ └── json │ │ │ │ ├── allocator.h │ │ │ │ ├── assertions.h │ │ │ │ ├── autolink.h │ │ │ │ ├── config.h │ │ │ │ ├── features.h │ │ │ │ ├── forwards.h │ │ │ │ ├── json.h │ │ │ │ ├── reader.h │ │ │ │ ├── value.h │ │ │ │ ├── version.h │ │ │ │ └── writer.h │ │ │ ├── makerelease.py │ │ │ ├── meson.build │ │ │ ├── pkg-config │ │ │ └── jsoncpp.pc.in │ │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── jsontestrunner │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── main.cpp │ │ │ ├── lib_json │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── json_reader.cpp │ │ │ │ ├── json_tool.h │ │ │ │ ├── json_value.cpp │ │ │ │ ├── json_valueiterator.inl │ │ │ │ ├── json_writer.cpp │ │ │ │ └── version.h.in │ │ │ └── test_lib_json │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── fuzz.cpp │ │ │ │ ├── fuzz.h │ │ │ │ ├── jsontest.cpp │ │ │ │ ├── jsontest.h │ │ │ │ └── main.cpp │ │ │ ├── test │ │ │ ├── cleantests.py │ │ │ ├── data │ │ │ │ ├── fail_test_array_01.json │ │ │ │ ├── fail_test_stack_limit.json │ │ │ │ ├── test_array_01.expected │ │ │ │ ├── test_array_01.json │ │ │ │ ├── test_array_02.expected │ │ │ │ ├── test_array_02.json │ │ │ │ ├── test_array_03.expected │ │ │ │ ├── test_array_03.json │ │ │ │ ├── test_array_04.expected │ │ │ │ ├── test_array_04.json │ │ │ │ ├── test_array_05.expected │ │ │ │ ├── test_array_05.json │ │ │ │ ├── test_array_06.expected │ │ │ │ ├── test_array_06.json │ │ │ │ ├── test_array_07.expected │ │ │ │ ├── test_array_07.json │ │ │ │ ├── test_basic_01.expected │ │ │ │ ├── test_basic_01.json │ │ │ │ ├── test_basic_02.expected │ │ │ │ ├── test_basic_02.json │ │ │ │ ├── test_basic_03.expected │ │ │ │ ├── test_basic_03.json │ │ │ │ ├── test_basic_04.expected │ │ │ │ ├── test_basic_04.json │ │ │ │ ├── test_basic_05.expected │ │ │ │ ├── test_basic_05.json │ │ │ │ ├── test_basic_06.expected │ │ │ │ ├── test_basic_06.json │ │ │ │ ├── test_basic_07.expected │ │ │ │ ├── test_basic_07.json │ │ │ │ ├── test_basic_08.expected │ │ │ │ ├── test_basic_08.json │ │ │ │ ├── test_basic_09.expected │ │ │ │ ├── test_basic_09.json │ │ │ │ ├── test_comment_00.expected │ │ │ │ ├── test_comment_00.json │ │ │ │ ├── test_comment_01.expected │ │ │ │ ├── test_comment_01.json │ │ │ │ ├── test_comment_02.expected │ │ │ │ ├── test_comment_02.json │ │ │ │ ├── test_complex_01.expected │ │ │ │ ├── test_complex_01.json │ │ │ │ ├── test_integer_01.expected │ │ │ │ ├── test_integer_01.json │ │ │ │ ├── test_integer_02.expected │ │ │ │ ├── test_integer_02.json │ │ │ │ ├── test_integer_03.expected │ │ │ │ ├── test_integer_03.json │ │ │ │ ├── test_integer_04.expected │ │ │ │ ├── test_integer_04.json │ │ │ │ ├── test_integer_05.expected │ │ │ │ ├── test_integer_05.json │ │ │ │ ├── test_integer_06_64bits.expected │ │ │ │ ├── test_integer_06_64bits.json │ │ │ │ ├── test_integer_07_64bits.expected │ │ │ │ ├── test_integer_07_64bits.json │ │ │ │ ├── test_integer_08_64bits.expected │ │ │ │ ├── test_integer_08_64bits.json │ │ │ │ ├── test_large_01.expected │ │ │ │ ├── test_large_01.json │ │ │ │ ├── test_object_01.expected │ │ │ │ ├── test_object_01.json │ │ │ │ ├── test_object_02.expected │ │ │ │ ├── test_object_02.json │ │ │ │ ├── test_object_03.expected │ │ │ │ ├── test_object_03.json │ │ │ │ ├── test_object_04.expected │ │ │ │ ├── test_object_04.json │ │ │ │ ├── test_preserve_comment_01.expected │ │ │ │ ├── test_preserve_comment_01.json │ │ │ │ ├── test_real_01.expected │ │ │ │ ├── test_real_01.json │ │ │ │ ├── test_real_02.expected │ │ │ │ ├── test_real_02.json │ │ │ │ ├── test_real_03.expected │ │ │ │ ├── test_real_03.json │ │ │ │ ├── test_real_04.expected │ │ │ │ ├── test_real_04.json │ │ │ │ ├── test_real_05.expected │ │ │ │ ├── test_real_05.json │ │ │ │ ├── test_real_06.expected │ │ │ │ ├── test_real_06.json │ │ │ │ ├── test_real_07.expected │ │ │ │ ├── test_real_07.json │ │ │ │ ├── test_real_08.expected │ │ │ │ ├── test_real_08.json │ │ │ │ ├── test_real_09.expected │ │ │ │ ├── test_real_09.json │ │ │ │ ├── test_real_10.expected │ │ │ │ ├── test_real_10.json │ │ │ │ ├── test_real_11.expected │ │ │ │ ├── test_real_11.json │ │ │ │ ├── test_real_12.expected │ │ │ │ ├── test_real_12.json │ │ │ │ ├── test_string_01.expected │ │ │ │ ├── test_string_01.json │ │ │ │ ├── test_string_02.expected │ │ │ │ ├── test_string_02.json │ │ │ │ ├── test_string_03.expected │ │ │ │ ├── test_string_03.json │ │ │ │ ├── test_string_04.expected │ │ │ │ ├── test_string_04.json │ │ │ │ ├── test_string_05.expected │ │ │ │ ├── test_string_05.json │ │ │ │ ├── test_string_unicode_01.expected │ │ │ │ ├── test_string_unicode_01.json │ │ │ │ ├── test_string_unicode_02.expected │ │ │ │ ├── test_string_unicode_02.json │ │ │ │ ├── test_string_unicode_03.expected │ │ │ │ ├── test_string_unicode_03.json │ │ │ │ ├── test_string_unicode_04.expected │ │ │ │ ├── test_string_unicode_04.json │ │ │ │ ├── test_string_unicode_05.expected │ │ │ │ └── test_string_unicode_05.json │ │ │ ├── generate_expected.py │ │ │ ├── jsonchecker │ │ │ │ ├── fail1.json │ │ │ │ ├── fail10.json │ │ │ │ ├── fail11.json │ │ │ │ ├── fail12.json │ │ │ │ ├── fail13.json │ │ │ │ ├── fail14.json │ │ │ │ ├── fail15.json │ │ │ │ ├── fail16.json │ │ │ │ ├── fail17.json │ │ │ │ ├── fail18.json │ │ │ │ ├── fail19.json │ │ │ │ ├── fail2.json │ │ │ │ ├── fail20.json │ │ │ │ ├── fail21.json │ │ │ │ ├── fail22.json │ │ │ │ ├── fail23.json │ │ │ │ ├── fail24.json │ │ │ │ ├── fail25.json │ │ │ │ ├── fail26.json │ │ │ │ ├── fail27.json │ │ │ │ ├── fail28.json │ │ │ │ ├── fail29.json │ │ │ │ ├── fail3.json │ │ │ │ ├── fail30.json │ │ │ │ ├── fail31.json │ │ │ │ ├── fail32.json │ │ │ │ ├── fail33.json │ │ │ │ ├── fail4.json │ │ │ │ ├── fail5.json │ │ │ │ ├── fail6.json │ │ │ │ ├── fail7.json │ │ │ │ ├── fail8.json │ │ │ │ ├── fail9.json │ │ │ │ ├── pass1.json │ │ │ │ ├── pass2.json │ │ │ │ ├── pass3.json │ │ │ │ └── readme.txt │ │ │ ├── pyjsontestrunner.py │ │ │ ├── runjsontests.py │ │ │ └── rununittests.py │ │ │ ├── version.in │ │ │ └── version.txt │ ├── loader │ │ ├── CMakeLists.txt │ │ ├── OpenXRConfig.cmake.in │ │ ├── api_layer_interface.cpp │ │ ├── api_layer_interface.hpp │ │ ├── exception_handling.hpp │ │ ├── images │ │ │ ├── high_level_loader_black.png │ │ │ ├── high_level_loader_black.png.license │ │ │ ├── instance_call_chain_black.png │ │ │ ├── instance_call_chain_black.png.license │ │ │ ├── loader_layer_order_calls_black.png │ │ │ └── loader_layer_order_calls_black.png.license │ │ ├── loader.rc │ │ ├── loader_core.cpp │ │ ├── loader_instance.cpp │ │ ├── loader_instance.hpp │ │ ├── loader_logger.cpp │ │ ├── loader_logger.hpp │ │ ├── loader_logger_recorders.cpp │ │ ├── loader_logger_recorders.hpp │ │ ├── loader_platform.hpp │ │ ├── manifest_file.cpp │ │ ├── manifest_file.hpp │ │ ├── openxr-loader.def │ │ ├── openxr-loader.map │ │ ├── openxr-loader.map.license │ │ ├── openxr.pc.in │ │ ├── openxr.pc.in.license │ │ ├── runtime_interface.cpp │ │ └── runtime_interface.hpp │ ├── scripts │ │ ├── api_dump_generator.py │ │ ├── automatic_source_generator.py │ │ ├── generate_api_layer_manifest.py │ │ ├── generate_runtime_manifest.py │ │ ├── loader_source_generator.py │ │ ├── src_genxr.py │ │ ├── utility_source_generator.py │ │ └── validation_layer_generator.py │ ├── tests │ │ ├── CMakeLists.txt │ │ ├── hello_xr │ │ │ ├── AndroidManifest.xml │ │ │ ├── CMakeLists.txt │ │ │ ├── check.h │ │ │ ├── common.h │ │ │ ├── d3d_common.cpp │ │ │ ├── d3d_common.h │ │ │ ├── geometry.h │ │ │ ├── graphicsapi.h │ │ │ ├── graphicsplugin.h │ │ │ ├── graphicsplugin_d3d11.cpp │ │ │ ├── graphicsplugin_d3d12.cpp │ │ │ ├── graphicsplugin_factory.cpp │ │ │ ├── graphicsplugin_opengl.cpp │ │ │ ├── graphicsplugin_opengles.cpp │ │ │ ├── graphicsplugin_vulkan.cpp │ │ │ ├── hello_xr.1 │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── khronos │ │ │ │ │ └── hello_xr │ │ │ │ │ └── MainActivity.java │ │ │ ├── logger.cpp │ │ │ ├── logger.h │ │ │ ├── main.cpp │ │ │ ├── openxr_program.cpp │ │ │ ├── openxr_program.h │ │ │ ├── options.h │ │ │ ├── pch.cpp │ │ │ ├── pch.h │ │ │ ├── platformdata.h │ │ │ ├── platformplugin.h │ │ │ ├── platformplugin_android.cpp │ │ │ ├── platformplugin_factory.cpp │ │ │ ├── platformplugin_win32.cpp │ │ │ ├── platformplugin_xlib.cpp │ │ │ └── vulkan_shaders │ │ │ │ ├── frag.glsl │ │ │ │ ├── frag.spv │ │ │ │ ├── frag.spv.license │ │ │ │ ├── vert.glsl │ │ │ │ ├── vert.spv │ │ │ │ └── vert.spv.license │ │ ├── list │ │ │ ├── CMakeLists.txt │ │ │ ├── list.cpp │ │ │ └── openxr_runtime_list.1 │ │ └── loader_test │ │ │ ├── CMakeLists.txt │ │ │ ├── loader_test.cpp │ │ │ ├── loader_test_utils.cpp │ │ │ ├── loader_test_utils.hpp │ │ │ ├── test_layers │ │ │ ├── CMakeLists.txt │ │ │ ├── XrApiLayer_test.def │ │ │ └── layer_test.cpp │ │ │ └── test_runtimes │ │ │ ├── CMakeLists.txt │ │ │ ├── runtime_test.cpp │ │ │ └── test_runtime.def │ └── version.cmake └── tox.ini ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── example │ │ └── oculushelloxr │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── oculushelloxr │ │ │ └── MainActivity.java │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ └── test │ └── java │ └── com │ └── example │ └── oculushelloxr │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── ovr_openxr_mobile_sdk_1.0.13 ├── LICENSE.txt ├── OPENXR_SDK_THIRD_PARTY_NOTICES.txt └── OpenXR │ ├── Include │ └── openxr │ │ └── openxr_oculus.h │ ├── Libs │ └── Android │ │ ├── arm64-v8a │ │ ├── Debug │ │ │ └── libopenxr_loader.so │ │ └── Release │ │ │ └── libopenxr_loader.so │ │ └── armeabi-v7a │ │ ├── Debug │ │ └── libopenxr_loader.so │ │ └── Release │ │ └── libopenxr_loader.so │ └── Projects │ └── AndroidPrebuilt │ ├── AndroidManifest.xml │ └── jni │ └── Android.mk └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.aar 4 | *.ap_ 5 | *.aab 6 | 7 | # Files for the ART/Dalvik VM 8 | *.dex 9 | 10 | # Java class files 11 | *.class 12 | 13 | # Generated files 14 | bin/ 15 | gen/ 16 | out/ 17 | # Uncomment the following line in case you need and you don't have the release build type files in your app 18 | # release/ 19 | 20 | # Gradle files 21 | .gradle/ 22 | build/ 23 | 24 | # Local configuration file (sdk path, etc) 25 | local.properties 26 | 27 | # Proguard folder generated by Eclipse 28 | proguard/ 29 | 30 | # Log Files 31 | *.log 32 | 33 | # Android Studio Navigation editor temp files 34 | .navigation/ 35 | 36 | # Android Studio captures folder 37 | captures/ 38 | 39 | # IntelliJ 40 | *.iml 41 | .idea/workspace.xml 42 | .idea/tasks.xml 43 | .idea/gradle.xml 44 | .idea/assetWizardSettings.xml 45 | .idea/dictionaries 46 | .idea/libraries 47 | # Android Studio 3 in .gitignore file. 48 | .idea/caches 49 | .idea/modules.xml 50 | # Comment next line if keeping position of elements in Navigation Editor is relevant for you 51 | .idea/navEditor.xml 52 | 53 | # Keystore files 54 | # Uncomment the following lines if you do not want to check your keystore files in. 55 | #*.jks 56 | #*.keystore 57 | 58 | # External native build folder generated in Android Studio 2.2 and later 59 | .externalNativeBuild 60 | .cxx/ 61 | 62 | # Google Services (e.g. APIs or Firebase) 63 | # google-services.json 64 | 65 | # Freeline 66 | freeline.py 67 | freeline/ 68 | freeline_project_description.json 69 | 70 | # fastlane 71 | fastlane/report.xml 72 | fastlane/Preview.html 73 | fastlane/screenshots 74 | fastlane/test_output 75 | fastlane/readme.md 76 | 77 | # Version control 78 | vcs.xml 79 | 80 | # lint 81 | lint/intermediates/ 82 | lint/generated/ 83 | lint/outputs/ 84 | lint/tmp/ 85 | # lint/reports/ 86 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | OculusHelloXR -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Dan Jarvis 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/build_linux.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019-2020 The Khronos Group Inc. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | parameters: 5 | buildType: RelWithDebInfo 6 | cmakeArgs: "" 7 | buildDir: build 8 | sourceDir: "$(System.DefaultWorkingDirectory)" 9 | 10 | steps: 11 | - script: | 12 | rm -rf ${{ parameters.sourceDir }}/${{ parameters.buildDir }} 13 | mkdir -p ${{ parameters.sourceDir }}/${{ parameters.buildDir }} 14 | displayName: "Clean up and create new build directory" 15 | 16 | - script: cmake -G Ninja .. -DCMAKE_BUILD_TYPE=${{ parameters.buildType }} ${{ parameters.cmakeArgs }} 17 | workingDirectory: ${{ parameters.sourceDir }}/${{ parameters.buildDir }} 18 | displayName: "Generate build system" 19 | 20 | - script: ninja 21 | workingDirectory: ${{ parameters.sourceDir }}/${{ parameters.buildDir }} 22 | displayName: "Compile" 23 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/build_mingw.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019-2020 The Khronos Group Inc. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | parameters: 5 | buildType: "Debug" 6 | cmakeArgs: "" 7 | sourceDir: "$(System.DefaultWorkingDirectory)" 8 | useVulkan: "true" 9 | 10 | steps: 11 | # - script: choco install -y ninja 12 | # displayName: 'Install Ninja' 13 | 14 | - script: mkdir $(System.DefaultWorkingDirectory)\\vulkan_sdk 15 | displayName: "Make Vulkan SDK dir" 16 | 17 | - powershell: ./.azure-pipelines/install_vulkan.ps1 18 | displayName: Install Vulkan SDK 19 | workingDirectory: "${{ parameters.sourceDir }}" 20 | condition: eq('${{ parameters.useVulkan}}', 'true') 21 | 22 | - script: mkdir build 23 | displayName: "Create build directory" 24 | workingDirectory: "${{ parameters.sourceDir }}" 25 | 26 | - script: | 27 | set VULKAN_SDK=$(System.DefaultWorkingDirectory)\\vulkan_sdk\\$(VULKAN_SDK_VERSION) 28 | cmake .. -G "MinGW Makefiles" ${{ parameters.cmakeArgs }} -DCMAKE_BUILD_TYPE=${{ parameters.buildType }} -DCMAKE_INSTALL_PREFIX=${{ parameters.sourceDir }}/install 29 | displayName: "Generate build system" 30 | workingDirectory: "${{ parameters.sourceDir }}/build" 31 | 32 | - script: mingw32-make -C build -j 33 | displayName: Build all targets 34 | 35 | - script: mingw32-make -C build install 36 | displayName: Install build 37 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/build_msvc.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019-2020 The Khronos Group Inc. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | parameters: 5 | buildType: "Debug" 6 | generator: "Visual Studio 16 2019" 7 | cmakeArgs: "" 8 | sourceDir: "$(System.DefaultWorkingDirectory)" 9 | useVulkan: "true" 10 | 11 | steps: 12 | - powershell: ./.azure-pipelines/install_vulkan.ps1 13 | displayName: Install Vulkan SDK 14 | workingDirectory: "${{ parameters.sourceDir }}" 15 | condition: eq('${{ parameters.useVulkan}}', 'true') 16 | 17 | - script: mkdir build 18 | displayName: "Create build directory" 19 | workingDirectory: "${{ parameters.sourceDir }}" 20 | 21 | - script: | 22 | set VULKAN_SDK=$(System.DefaultWorkingDirectory)\\vulkan_sdk\\$(VULKAN_SDK_VERSION) 23 | cmake .. -G "${{ parameters.generator }}" ${{ parameters.cmakeArgs }} -DCMAKE_INSTALL_PREFIX=${{ parameters.sourceDir }}/install 24 | displayName: "Generate build system" 25 | workingDirectory: "${{ parameters.sourceDir }}/build" 26 | 27 | - task: MSBuild@1 28 | displayName: Build all targets 29 | inputs: 30 | solution: "${{ parameters.sourceDir }}/build/ALL_BUILD.vcxproj" 31 | maximumCpuCount: true 32 | configuration: ${{ parameters.buildType }} 33 | 34 | - task: MSBuild@1 35 | displayName: Install build 36 | inputs: 37 | solution: "${{ parameters.sourceDir }}/build/INSTALL.vcxproj" 38 | maximumCpuCount: true 39 | configuration: ${{ parameters.buildType }} 40 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/check_clang_format.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019-2020 The Khronos Group Inc. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | jobs: 5 | - job: check_clang_format 6 | displayName: "clang-format" 7 | pool: 8 | vmImage: "ubuntu-16.04" 9 | container: khronosgroup/docker-images:openxr-sdk 10 | steps: 11 | - script: ./runClangFormat.sh 12 | displayName: Run clang-format 13 | 14 | - script: git diff --patch --exit-code > clang-format.patch 15 | displayName: Save changes as diff 16 | 17 | # In case of failure (clang-format changes needed) do these two things 18 | - script: echo "The following files need clang-formatting:"; sed -n -e "s/^diff.* b\///p" clang-format.patch 19 | condition: failed() 20 | - task: PublishPipelineArtifact@1 21 | displayName: Publish diff 22 | condition: failed() 23 | inputs: 24 | path: $(System.DefaultWorkingDirectory)/clang-format.patch 25 | artifact: clang-format-changes 26 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/codespell.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019-2020 The Khronos Group Inc. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | jobs: 5 | - job: check_codespell 6 | displayName: "codespell" 7 | pool: 8 | vmImage: "ubuntu-16.04" 9 | container: khronosgroup/docker-images:openxr-sdk 10 | steps: 11 | - script: ./checkCodespell 12 | displayName: Run Codespell script 13 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/generate_windows_matrix_build.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # Copyright (c) 2019 The Khronos Group Inc. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from itertools import product 6 | 7 | from shared import (PLATFORMS, TRUE_FALSE, VS_VERSION, make_win_artifact_name, 8 | output_json) 9 | 10 | if __name__ == "__main__": 11 | 12 | configs = {} 13 | for platform, debug, uwp in product(PLATFORMS, (False,), TRUE_FALSE): 14 | # No need to support ARM/ARM64 except for UWP. 15 | if not uwp and (platform.lower() == 'arm' or platform.lower() == 'arm64'): 16 | continue 17 | 18 | label = [platform] 19 | config = [] 20 | generator = VS_VERSION 21 | config.append('-A ' + platform) 22 | config.append('-DDYNAMIC_LOADER=ON') 23 | if debug: 24 | label.append('debug') 25 | if uwp: 26 | label.append('UWP') 27 | config.append('-DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0') 28 | name = '_'.join(label) 29 | configs[name] = { 30 | 'generator': generator, 31 | 'buildType': 'Debug' if debug else 'RelWithDebInfo', 32 | 'cmakeArgs': ' '.join(config) 33 | } 34 | if not debug: 35 | configs[name]['artifactName'] = make_win_artifact_name( 36 | platform, uwp) 37 | 38 | output_json(configs) 39 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/install_vulkan.ps1: -------------------------------------------------------------------------------- 1 | if (-not $env:VULKAN_SDK_VERSION) { 2 | $env:VULKAN_SDK_VERSION = "1.1.114.0" 3 | } 4 | 5 | $SDK_VER = $env:VULKAN_SDK_VERSION 6 | 7 | if (-not (Test-Path env:VULKAN_SDK)) { 8 | if ($env:SYSTEM_DEFAULTWORKINGDIRECTORY) { 9 | $env:VULKAN_SDK = "$env:SYSTEM_DEFAULTWORKINGDIRECTORY\vulkan_sdk\$SDK_VER" 10 | } else { 11 | $env:VULKAN_SDK = "c:\VulkanSDK\$SDK_VER" 12 | } 13 | } 14 | $parent = Split-Path -path $env:VULKAN_SDK 15 | Write-Output "Trying for Vulkan SDK $SDK_VER" 16 | $FN = "vksdk-$SDK_VER-lite.7z" 17 | $URL = "https://people.collabora.com/~rpavlik/ci_resources/$FN" 18 | if (-not (Test-Path "$env:VULKAN_SDK/Include/vulkan/vulkan.h")) { 19 | Write-Output "Downloading $URL" 20 | $wc = New-Object System.Net.WebClient 21 | $wc.DownloadFile($URL, "$(pwd)\$FN") 22 | 23 | Write-Output "Extracting $FN in silent, blocking mode to $env:VULKAN_SDK" 24 | Start-Process "c:\Program Files\7-Zip\7z" -ArgumentList "x", $FN, "-o$parent" -Wait 25 | } else { 26 | Write-Output "$env:VULKAN_SDK found and contains header" 27 | } 28 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/nuget/NugetTemplate/OpenXR.Loader.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OpenXR.Loader 5 | 6 | Khronos Group 7 | Khronos Group 8 | false 9 | Apache-2.0 10 | https://licenses.nuget.org/Apache-2.0 11 | https://github.com/KhronosGroup/OpenXR-SDK 12 | Khronos OpenXR loader and headers required to build a Win32 or UWP OpenXR application 13 | native khronos openxr loader 14 | 15 | 16 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/nuget/NugetTemplate/build/native/OpenXR.Loader.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | $(MSBuildThisFileDirectory)..\..\ 4 | 5 | 6 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/nuget/NugetTemplate/build/native/OpenXR.Loader.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | $(OpenXRPackageRoot)native\$(Platform)_uwp\release 7 | 8 | 9 | 10 | 11 | $(OpenXRPackageRoot)native\$(Platform)\release 12 | 13 | 14 | 15 | 16 | 17 | 18 | %(AdditionalIncludeDirectories);$(OpenXRPackageRoot)include 19 | 20 | 21 | %(AdditionalDependencies);$(OpenXRLoaderBinaryRoot)\lib\openxr_loader.lib 22 | 23 | 24 | 25 | 26 | 27 | 28 | %(Filename)%(Extension) 29 | PreserveNewest 30 | true 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/openxr-sdk.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019-2020 The Khronos Group Inc. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | # Main azure-pipelines configuration for the OpenXR-SDK repo. 5 | 6 | trigger: 7 | branches: 8 | include: 9 | - "*" 10 | 11 | stages: 12 | - stage: Build 13 | jobs: 14 | - template: build_jobs.yml 15 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/organize_windows_artifacts.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # Copyright (c) 2019 The Khronos Group Inc. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from itertools import product 6 | from pathlib import Path 7 | import shutil 8 | import sys 9 | 10 | from shared import PLATFORMS, TRUE_FALSE, VS_VERSION, make_win_artifact_name 11 | 12 | CWD = Path.cwd() 13 | 14 | 15 | def move(src, dest): 16 | 17 | print(str(src), '->', str(dest)) 18 | src.replace(dest) 19 | 20 | 21 | if __name__ == "__main__": 22 | 23 | configs = {} 24 | workspace = Path(sys.argv[1]) 25 | outbase = Path(sys.argv[2]) 26 | 27 | common_copied = False 28 | 29 | for platform, uwp in product(PLATFORMS, TRUE_FALSE): 30 | # ARM/ARM64 is only built for the UWP platform. 31 | if not uwp and (platform.lower() == 'arm' or platform.lower() == 'arm64'): 32 | continue 33 | 34 | platform_dirname = '{}{}'.format(platform, 35 | '_uwp' if uwp else '') 36 | 37 | name = make_win_artifact_name(platform, uwp) 38 | 39 | artifact = workspace / name 40 | 41 | if not common_copied: 42 | # Start by copying the full tree over. 43 | shutil.copytree(artifact, outbase, dirs_exist_ok=True) 44 | common_copied = True 45 | continue 46 | 47 | # lib files 48 | shutil.copytree(artifact / platform_dirname, outbase / platform_dirname, dirs_exist_ok=True) 49 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/print_windows_artifact_names.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # Copyright (c) 2019 The Khronos Group Inc. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from itertools import product 6 | 7 | from shared import PLATFORMS, TRUE_FALSE, VS_VERSION, make_win_artifact_name 8 | 9 | if __name__ == "__main__": 10 | 11 | for platform, uwp in product(PLATFORMS, TRUE_FALSE): 12 | print(make_win_artifact_name(platform, uwp)) 13 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.azure-pipelines/shared.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019 The Khronos Group Inc. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | import json 5 | import sys 6 | 7 | VS_VERSION = 'Visual Studio 16 2019' 8 | 9 | PLATFORMS = ('Win32', 'x64', 'ARM', 'ARM64') 10 | 11 | TRUE_FALSE = (True, False) 12 | 13 | 14 | def make_win_artifact_name(platform, uwp): 15 | return 'loader_{}{}'.format( 16 | platform.lower(), 17 | '_uwp' if uwp else '', 18 | ) 19 | 20 | 21 | def output_json(data): 22 | if len(sys.argv) == 2: 23 | print( 24 | "##vso[task.setVariable variable={};isOutput=true]{}".format(sys.argv[1], json.dumps(data))) 25 | else: 26 | print(json.dumps(data, indent=4)) 27 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | trim_trailing_whitespace = false 7 | insert_final_newline = true 8 | 9 | [*.cmake,CMakeLists.txt] 10 | indent_style = space 11 | indent_size = 4 12 | trim_trailing_whitespace = true 13 | 14 | [*.sh] 15 | trim_trailing_whitespace = true 16 | end_of_line = lf 17 | 18 | [*.adoc] 19 | trim_trailing_whitespace = true 20 | indent_style = space 21 | indent_size = 2 22 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.gitattributes: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017-2020 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | * text=auto 6 | 7 | *.txt text 8 | *.c text 9 | *.cpp text 10 | *.h text 11 | *.hpp text 12 | *.inl text 13 | *.adoc text 14 | *.in text 15 | *.json text 16 | 17 | *.bat eol=crlf 18 | *.cmd eol=crlf 19 | *.vcproj eol=crlf 20 | *.vcxproj eol=crlf 21 | *.sln eol=crlf 22 | 23 | *.sh eol=lf 24 | 25 | *.png binary 26 | *.pdf binary 27 | 28 | # Shell scripts that don't end in .sh 29 | specification/makeAllExts eol=lf 30 | specification/makeExt eol=lf 31 | specification/makeKHR eol=lf 32 | specification/makeKHRAndKHX eol=lf 33 | specification/makeReleaseArtifacts eol=lf 34 | specification/checkMarkup eol=lf 35 | specification/checkSpecLinks eol=lf 36 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.gitignore: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017-2020 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | /build/ 6 | build*/ 7 | CMakeLists.txt.user 8 | *.orig 9 | .* 10 | *~ 11 | *.tar 12 | *.tar.gz 13 | *.log 14 | pregen/ 15 | 16 | # Cached python scripts in bytecode form 17 | *.pyc 18 | applyfixes.sh 19 | 20 | # Files related to building examples 21 | specification/**/*.c 22 | specification/**/*.cpp 23 | specification/**/*.o 24 | specification/examples.mk 25 | 26 | # Files related to pytest 27 | specification/scripts/.cache 28 | 29 | # VS 2019 CMake artifacts 30 | out/build/ 31 | 32 | # VS misc 33 | *.sln 34 | *.pyproj 35 | CMakeSettings.json 36 | CppProperties.json 37 | 38 | # Gradle 39 | .cxx/ 40 | .gradle/ 41 | local.properties 42 | 43 | # Don't ignore these things 44 | !.azure-pipelines/ 45 | !.clang-format 46 | !.gitattributes 47 | !.gitignore 48 | !.proclamation.json 49 | !.clang-tidy 50 | !.editorconfig 51 | !.cmake-format.json 52 | !.gitlab-ci.yml 53 | !.reuse 54 | !.*.license 55 | !.azure-pipelines/nuget/NugetTemplate/build 56 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.proclamation.json: -------------------------------------------------------------------------------- 1 | { 2 | "#": "This is a config file for proclamation, the changelog combiner: https://gitlab.com/ryanpavlik/proclamation", 3 | "$schema": "https://ryanpavlik.gitlab.io/proclamation/proclamation.schema.json", 4 | "projects": [ 5 | { 6 | "project_name": "OpenXR SDK", 7 | "news_filename": "CHANGELOG.SDK.md", 8 | "template": "changes/template.md", 9 | "sections": { 10 | "Registry": { 11 | "directory": "changes/registry", 12 | "sort_by_prefix": true 13 | }, 14 | "SDK": { 15 | "directory": "changes/sdk", 16 | "sort_by_prefix": true 17 | } 18 | } 19 | }, 20 | { 21 | "project_name": "OpenXR Specification", 22 | "news_filename": "CHANGELOG.Docs.md", 23 | "template": "changes/template.md", 24 | "sections": { 25 | "Registry": { 26 | "directory": "changes/registry", 27 | "sort_by_prefix": true 28 | }, 29 | "Specification": { 30 | "directory": "changes/specification", 31 | "sort_by_prefix": true 32 | } 33 | } 34 | }, 35 | { 36 | "project_name": "OpenXR CTS", 37 | "news_filename": "CHANGELOG.CTS.md", 38 | "template": "changes/template.md", 39 | "sections": { 40 | "Conformance Tests": { 41 | "directory": "changes/conformance", 42 | "sort_by_prefix": true 43 | } 44 | } 45 | } 46 | ] 47 | } 48 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.proclamation.json.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020 Collabora, Ltd. and the Proclamation contributors 2 | Copyright (c) 2020 The Khronos Group Inc. 3 | 4 | SPDX-License-Identifier: CC0-1.0 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/.reuse/dep5: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: OpenXR 3 | Upstream-Contact: Ryan Pavlik 4 | Source: https://khronos.org/registry/OpenXR/ 5 | 6 | Files: changes/* 7 | Copyright: 2019-2020, The Khronos Group Inc. 8 | License: CC-BY-4.0 9 | 10 | Files: src/external/jsoncpp/* 11 | Copyright: 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 12 | License: MIT OR LicenseRef-jsoncpp-public-domain 13 | Comment: Unmodified, vendored copy of jsoncpp 1.8.4 14 | 15 | Files: external/python/jinja2/* 16 | external/python/Jinja2-2.10.1.dist-info/* 17 | Copyright: 2013-2019 by the Jinja team 18 | License: BSD-3-Clause 19 | 20 | Files: external/python/markupsafe/* 21 | external/python/MarkupSafe-1.1.1.dist-info/* 22 | Copyright: 2010 Pallets 23 | License: BSD-3-Clause 24 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | A reminder that this issue tracker is managed by the Khronos Group. 9 | Interactions here should follow the Khronos Code of Conduct 10 | ([https://www.khronos.org/developers/code-of-conduct](https://www.khronos.org/developers/code-of-conduct)), 11 | which prohibits aggressive or derogatory language. 12 | Please keep the discussion friendly and civil. 13 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/LICENSES/BSD-3-Clause.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) . All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, 4 | are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, 7 | this list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | 13 | 3. Neither the name of the copyright holder nor the names of its contributors 14 | may be used to endorse or promote products derived from this software without 15 | specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 26 | USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/LICENSES/BSL-1.0.txt: -------------------------------------------------------------------------------- 1 | Boost Software License - Version 1.0 - August 17th, 2003 2 | 3 | Permission is hereby granted, free of charge, to any person or organization 4 | obtaining a copy of the software and accompanying documentation covered by 5 | this license (the "Software") to use, reproduce, display, distribute, execute, 6 | and transmit the Software, and to prepare derivative works of the Software, 7 | and to permit third-parties to whom the Software is furnished to do so, all 8 | subject to the following: 9 | 10 | The copyright notices in the Software and this entire statement, including 11 | the above license grant, this restriction and the following disclaimer, must 12 | be included in all copies of the Software, in whole or in part, and all derivative 13 | works of the Software, unless such copies or derivative works are solely in 14 | the form of machine-executable object code generated by a source language 15 | processor. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 19 | FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE 20 | COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES 21 | OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/LICENSES/LicenseRef-Khronos-Free-Use-License-for-Software-and-Documentation.txt: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, free of charge, to any person obtaining a 2 | copy of this software and/or associated documentation files (the 3 | "Materials"), to deal in the Materials without restriction, including 4 | without limitation the rights to use, copy, modify, merge, publish, 5 | distribute, sublicense, and/or sell copies of the Materials, and to 6 | permit persons to whom the Materials are furnished to do so, subject to 7 | the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be included 10 | in all copies or substantial portions of the Materials. 11 | 12 | THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 13 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 14 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 15 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 16 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 17 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 18 | MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 19 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/LICENSES/LicenseRef-jsoncpp-public-domain.txt: -------------------------------------------------------------------------------- 1 | The JsonCpp library's source code, including accompanying documentation, 2 | tests and demonstration applications, are licensed under the following 3 | conditions... 4 | 5 | The author (Baptiste Lepilleur) explicitly disclaims copyright in all 6 | jurisdictions which recognize such a disclaimer. In such jurisdictions, 7 | this software is released into the Public Domain. 8 | 9 | In jurisdictions which do not recognize Public Domain property (e.g. Germany as of 10 | 2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is 11 | released under the terms of the MIT License (see below). 12 | 13 | In jurisdictions which recognize Public Domain property, the user of this 14 | software may choose to accept it either as 1) Public Domain, 2) under the 15 | conditions of the MIT License (see below), or 3) under the terms of dual 16 | Public Domain/MIT License conditions described here, as they choose. 17 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/LICENSES/MIT.txt: -------------------------------------------------------------------------------- 1 | MIT License Copyright (c) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice (including the next 11 | paragraph) shall be included in all copies or substantial portions of the 12 | Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS 17 | OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 18 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 19 | OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/LICENSES/Unlicense.txt: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or distribute 4 | this software, either in source code form or as a compiled binary, for any 5 | purpose, commercial or non-commercial, and by any means. 6 | 7 | In jurisdictions that recognize copyright laws, the author or authors of this 8 | software dedicate any and all copyright interest in the software to the public 9 | domain. We make this dedication for the benefit of the public at large and 10 | to the detriment of our heirs and successors. We intend this dedication to 11 | be an overt act of relinquishment in perpetuity of all present and future 12 | rights to this software under copyright law. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS 17 | BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 18 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 19 | THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, 20 | please refer to 21 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/README.md: -------------------------------------------------------------------------------- 1 | # OpenXR™ Software Development Kit (SDK) Sources Project 2 | 3 | 8 | 9 | This repository contains source code and build scripts for implementations 10 | of the OpenXR loader, validation layers, and code samples. 11 | 12 | The authoritative public repository is located at 13 | . 14 | It hosts the public Issue tracker, and accepts patches (Pull Requests) from the 15 | general public. 16 | 17 | If you want to simply write an application using OpenXR (the headers and loader), 18 | with minimum dependencies, 19 | see . 20 | That project is based on this one, but contains all generated files pre-generated, 21 | removing the requirement for Python or build-time file generation, 22 | and omits the samples, tests, and API layers, as they are not typically built as a part of an application. 23 | 24 | ## Directory Structure 25 | 26 | - `BUILDING.md` - Instructions for building the projects 27 | - `README.md` - This file 28 | - `COPYING.md` - Copyright and licensing information 29 | - `CODE_OF_CONDUCT.md` - Code of Conduct 30 | - `external/` - External code for projects in the repo 31 | - `include/` - OpenXR platform include file 32 | - `specification/` - xr.xml file 33 | - `src/` - Source code for various projects 34 | - `src/api_layer` - Sample code for developing API layers 35 | - `src/loader` - OpenXR loader code 36 | - `src/tests` - various test code (if looking for sample code start with `hello_xr/`) 37 | 38 | Currently the best sample code is in [src/tests/hello_xr/](https://github.com/KhronosGroup/OpenXR-SDK-Source/tree/master/src/tests/hello_xr). More will be added in the future. 39 | 40 | ## Building 41 | 42 | See [BUILDING.md](https://github.com/KhronosGroup/OpenXR-SDK-Source/blob/master/BUILDING.md) 43 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/changes/registry/README.md: -------------------------------------------------------------------------------- 1 | # Registry Changes 2 | 3 | Please create changelog fragments in this directory for changes that affect the 4 | `xr.xml` registry. These fragments will be included in both the docs and SDK 5 | changelogs. 6 | 7 | See the README.md in the parent directory for information on the format and 8 | naming of changelog fragment files. 9 | 10 | ## Common entries 11 | 12 | During a patch release series, the only thing that should happen to the 13 | registry aside from extensions is "fix" - so include that in your fragment if 14 | applicable. 15 | 16 | The most common entries in the registry changelog involve extensions. Use the 17 | following as templates. 18 | 19 | For adding/enabling a vendor/multi-vendor extension: 20 | 21 | > Add `XR_MYVENDOR_myextension` vendor extension. 22 | 23 | - Add "provisional" before "vendor" if required. 24 | - If this is an EXT multi-vendor extension, change "vendor" to "multi-vendor". 25 | 26 | For adding/enabling a KHR or KHX extension: 27 | 28 | > Add ratified `XR_KHR_myextension` Khronos extension. 29 | 30 | - Add "provisional" before "Khronos" if it is a KHX extension. 31 | - Note that these all require the review period and board ratification! 32 | 33 | For reserving one or more extensions: 34 | 35 | > Reserve a vendor extension for VendorName. 36 | 37 | - Pluralize if reserving multiple extensions 38 | - May pre-pend "Register author ID and" if applicable. 39 | - You may optionally provide information about your plans for those extensions, 40 | but this is not required, just permitted. 41 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/changes/sdk/README.md: -------------------------------------------------------------------------------- 1 | # SDK Changes 2 | 3 | Please create changelog fragments in this directory for changes that affect 4 | SDK code only. These fragments will only be applied to the 5 | SDK changelog. 6 | 7 | See the README.md in the parent directory for information on the format and 8 | naming of changelog fragment files. 9 | 10 | ## Format tips 11 | 12 | Since there are a variety of components included in the SDK code, it's generally 13 | helpful to format your fragment as follows: 14 | 15 | > Loader: Fix the fooing of the bar. 16 | 17 | Note the following aspects: 18 | 19 | - Starts with component name ("Loader") and a colon. Skip this if your change 20 | affects multiple different components that can't be easily grouped (e.g. 21 | Layers can be grouped, but a change affecting hello_xr and the loader can't 22 | be.) Component names (formatted correctly) include: 23 | - Loader 24 | - Layers (use this if your change affects more than one layer) 25 | - API Dump Layer 26 | - Validation Layer 27 | - hello_xr 28 | - Description of the human-readable change effect, in the "imperative". (That 29 | is, as a command/instruction, like a good commit message: "Fix problem" not 30 | "Fixes problem" or "Fixed problem".) This may be more than one sentence, if 31 | needed. 32 | - Sentence or sentences end with a period. 33 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/changes/template.md: -------------------------------------------------------------------------------- 1 | {% macro format_ref(ref) -%} 2 | {%- set service = ref.service_params[0] -%} 3 | {%- if service == "gh" -%} 4 | {%- set project = ref.service_params[1] %} 5 | {%- set project_base = "https://github.com/KhronosGroup/" + project %} 6 | {%- set link_text %}{{ project }}/#{{ ref.number }}{% endset %} 7 | {%- if ref.item_type == "issue" -%} 8 | {%- set subdir = "issues" %} 9 | {%- else -%} 10 | {%- set subdir = "pull" %} 11 | {%- endif -%} 12 | {%- else -%} 13 | {%- set project_base = "https://gitlab.khronos.org/openxr/openxr" %} 14 | {%- if ref.item_type == "issue" -%} 15 | {%- set link_text %}internal issue {{ ref.number }}{% endset %} 16 | {%- set subdir = "issues" %} 17 | {%- else -%} 18 | {%- set link_text %}internal MR {{ ref.number }}{% endset %} 19 | {%- set subdir = "merge_requests" %} 20 | {%- endif -%} 21 | {%- endif -%} 22 | [{{ link_text }}]({{project_base}}/{{subdir}}/{{ ref.number }}) 23 | {%- endmacro -%} 24 | {% macro format_refs(refs) -%} 25 | {% if (refs | length) > 0 %} 26 | {%- set comma = joiner(",\n") -%} 27 | {% for ref in refs -%} 28 | {{comma()}}{{format_ref(ref)}} 29 | {%- endfor %} 30 | {%- endif %} 31 | {%- endmacro -%} 32 | {% block title %}## {{ project_name }} {{project_version}} ({{date}}){% endblock %} 33 | {% block sections_and_fragments -%} 34 | {%- for section in sections %} 35 | - {{ section.name }} 36 | {%- for fragment in section.fragments %} 37 | - {{ fragment.text | wordwrap | indent }} 38 | ({{ format_refs(fragment.refs) | indent }}) 39 | {%- else %} 40 | - No significant changes 41 | {%- endfor -%} 42 | {%- endfor %}{% endblock %} 43 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/include/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017-2020 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set( INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" ) 6 | 7 | set( GL_HEADERS 8 | ${INCLUDE_DIR}/GL/gl_format.h ) 9 | 10 | # These can be dropped by some subsetted source distributions since 11 | # they ought to exist, if required, in your OpenGL SDK package. 12 | foreach(FN ${INCLUDE_DIR}/GL/glext.h ${INCLUDE_DIR}/GL/wglext.h) 13 | if(EXISTS "${FN}") 14 | list(APPEND GL_HEADERS "${FN}") 15 | endif() 16 | endforeach() 17 | 18 | set( UTILS_HEADERS 19 | ${INCLUDE_DIR}/utils/algebra.h 20 | ${INCLUDE_DIR}/utils/sysinfo.h 21 | ${INCLUDE_DIR}/utils/nanoseconds.h 22 | ${INCLUDE_DIR}/utils/threading.h ) 23 | source_group( utils FILES ${UTILS_HEADERS} ) 24 | source_group( GL FILES ${GL_HEADERS} ) 25 | add_library( include INTERFACE ${UTILS_HEADERS} ${GL_HEADERS}) 26 | set_property( TARGET include PROPERTY FOLDER external/include ) 27 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/include/GL/glext.h.license: -------------------------------------------------------------------------------- 1 | SPDX-FileCopyrightText: 2013-2014 Khronos Group 2 | 3 | SPDX-License-Identifier: LicenseRef-Khronos-Free-Use-License-for-Software-and-Documentation -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/include/GL/wglext.h.license: -------------------------------------------------------------------------------- 1 | SPDX-FileCopyrightText: 2013-2014 Khronos Group 2 | 3 | SPDX-License-Identifier: LicenseRef-Khronos-Free-Use-License-for-Software-and-Documentation -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/Jinja2-2.10.1.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/Jinja2-2.10.1.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009 by the Jinja Team, see AUTHORS for more details. 2 | 3 | Some rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are 7 | met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above 13 | copyright notice, this list of conditions and the following 14 | disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | 17 | * The names of the contributors may not be used to endorse or 18 | promote products derived from this software without specific 19 | prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/Jinja2-2.10.1.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.33.1) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/Jinja2-2.10.1.dist-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | 2 | [babel.extractors] 3 | jinja2 = jinja2.ext:babel_extract[i18n] 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/Jinja2-2.10.1.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | jinja2 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/MarkupSafe-1.1.1.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/MarkupSafe-1.1.1.dist-info/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2010 Pallets 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | 1. Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | 2. Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | 3. Neither the name of the copyright holder nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 21 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 24 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 25 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 26 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 27 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/MarkupSafe-1.1.1.dist-info/RECORD: -------------------------------------------------------------------------------- 1 | MarkupSafe-1.1.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 2 | MarkupSafe-1.1.1.dist-info/LICENSE.txt,sha256=SJqOEQhQntmKN7uYPhHg9-HTHwvY-Zp5yESOf_N9B-o,1475 3 | MarkupSafe-1.1.1.dist-info/METADATA,sha256=nJHwJ4_4ka-V39QH883jPrslj6inNdyyNASBXbYgHXQ,3570 4 | MarkupSafe-1.1.1.dist-info/RECORD,, 5 | MarkupSafe-1.1.1.dist-info/WHEEL,sha256=AhV6RMqZ2IDfreRJKo44QWYxYeP-0Jr0bezzBLQ1eog,109 6 | MarkupSafe-1.1.1.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11 7 | markupsafe/__init__.py,sha256=oTblO5f9KFM-pvnq9bB0HgElnqkJyqHnFN1Nx2NIvnY,10126 8 | markupsafe/__pycache__/__init__.cpython-37.pyc,, 9 | markupsafe/__pycache__/_compat.cpython-37.pyc,, 10 | markupsafe/__pycache__/_constants.cpython-37.pyc,, 11 | markupsafe/__pycache__/_native.cpython-37.pyc,, 12 | markupsafe/_compat.py,sha256=uEW1ybxEjfxIiuTbRRaJpHsPFf4yQUMMKaPgYEC5XbU,558 13 | markupsafe/_constants.py,sha256=zo2ajfScG-l1Sb_52EP3MlDCqO7Y1BVHUXXKRsVDRNk,4690 14 | markupsafe/_native.py,sha256=d-8S_zzYt2y512xYcuSxq0NeG2DUUvG80wVdTn-4KI8,1873 15 | markupsafe/_speedups.c,sha256=k0fzEIK3CP6MmMqeY0ob43TP90mVN0DTyn7BAl3RqSg,9884 16 | markupsafe/_speedups.cpython-37m-x86_64-linux-gnu.so,sha256=pz-ucGdAq6kJtq9lEY1kY2Ed6LQjbRrIicdu_i4HFqU,38875 17 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/MarkupSafe-1.1.1.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.31.1) 3 | Root-Is-Purelib: false 4 | Tag: cp37-cp37m-manylinux1_x86_64 5 | 6 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/MarkupSafe-1.1.1.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | markupsafe 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/jinja2/_identifier.py: -------------------------------------------------------------------------------- 1 | # generated by scripts/generate_identifier_pattern.py 2 | pattern = '·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-ٰٟۖ-ۜ۟-۪ۤۧۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣঁ-ঃ়া-ৄেৈো-্ৗৢৣਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑੰੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣஂா-ூெ-ைொ-்ௗఀ-ఃా-ౄె-ైొ-్ౕౖౢౣಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣංඃ්ා-ුූෘ-ෟෲෳัิ-ฺ็-๎ັິ-ູົຼ່-ໍ༹༘༙༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏႚ-ႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝᠋-᠍ᢅᢆᢩᤠ-ᤫᤰ-᤻ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼᪰-᪽ᬀ-ᬄ᬴-᭄᭫-᭳ᮀ-ᮂᮡ-ᮭ᯦-᯳ᰤ-᰷᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰℘℮⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣠-꣱ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀ꧥꨩ-ꨶꩃꩌꩍꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭ﬞ︀-️︠-︯︳︴﹍-﹏_𐇽𐋠𐍶-𐍺𐨁-𐨃𐨅𐨆𐨌-𐨏𐨸-𐨿𐨺𐫦𐫥𑀀-𑀂𑀸-𑁆𑁿-𑂂𑂰-𑂺𑄀-𑄂𑄧-𑅳𑄴𑆀-𑆂𑆳-𑇊𑇀-𑇌𑈬-𑈷𑈾𑋟-𑋪𑌀-𑌃𑌼𑌾-𑍄𑍇𑍈𑍋-𑍍𑍗𑍢𑍣𑍦-𑍬𑍰-𑍴𑐵-𑑆𑒰-𑓃𑖯-𑖵𑖸-𑗀𑗜𑗝𑘰-𑙀𑚫-𑚷𑜝-𑜫𑰯-𑰶𑰸-𑰿𑲒-𑲧𑲩-𑲶𖫰-𖫴𖬰-𖬶𖽑-𖽾𖾏-𖾒𛲝𛲞𝅥-𝅩𝅭-𝅲𝅻-𝆂𝆅-𝆋𝆪-𝆭𝉂-𝉄𝨀-𝨶𝨻-𝩬𝩵𝪄𝪛-𝪟𝪡-𝪯𞀀-𞀆𞀈-𞀘𞀛-𞀡𞀣𞀤𞀦-𞣐𞀪-𞣖𞥄-𞥊󠄀-󠇯' 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/jinja2/constants.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | jinja.constants 4 | ~~~~~~~~~~~~~~~ 5 | 6 | Various constants. 7 | 8 | :copyright: (c) 2017 by the Jinja Team. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | 12 | 13 | #: list of lorem ipsum words used by the lipsum() helper function 14 | LOREM_IPSUM_WORDS = u'''\ 15 | a ac accumsan ad adipiscing aenean aliquam aliquet amet ante aptent arcu at 16 | auctor augue bibendum blandit class commodo condimentum congue consectetuer 17 | consequat conubia convallis cras cubilia cum curabitur curae cursus dapibus 18 | diam dictum dictumst dignissim dis dolor donec dui duis egestas eget eleifend 19 | elementum elit enim erat eros est et etiam eu euismod facilisi facilisis fames 20 | faucibus felis fermentum feugiat fringilla fusce gravida habitant habitasse hac 21 | hendrerit hymenaeos iaculis id imperdiet in inceptos integer interdum ipsum 22 | justo lacinia lacus laoreet lectus leo libero ligula litora lobortis lorem 23 | luctus maecenas magna magnis malesuada massa mattis mauris metus mi molestie 24 | mollis montes morbi mus nam nascetur natoque nec neque netus nibh nisi nisl non 25 | nonummy nostra nulla nullam nunc odio orci ornare parturient pede pellentesque 26 | penatibus per pharetra phasellus placerat platea porta porttitor posuere 27 | potenti praesent pretium primis proin pulvinar purus quam quis quisque rhoncus 28 | ridiculus risus rutrum sagittis sapien scelerisque sed sem semper senectus sit 29 | sociis sociosqu sodales sollicitudin suscipit suspendisse taciti tellus tempor 30 | tempus tincidunt torquent tortor tristique turpis ullamcorper ultrices 31 | ultricies urna ut varius vehicula vel velit venenatis vestibulum vitae vivamus 32 | viverra volutpat vulputate''' 33 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/jinja2/defaults.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | jinja2.defaults 4 | ~~~~~~~~~~~~~~~ 5 | 6 | Jinja default filters and tags. 7 | 8 | :copyright: (c) 2017 by the Jinja Team. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | from jinja2._compat import range_type 12 | from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner, Namespace 13 | 14 | 15 | # defaults for the parser / lexer 16 | BLOCK_START_STRING = '{%' 17 | BLOCK_END_STRING = '%}' 18 | VARIABLE_START_STRING = '{{' 19 | VARIABLE_END_STRING = '}}' 20 | COMMENT_START_STRING = '{#' 21 | COMMENT_END_STRING = '#}' 22 | LINE_STATEMENT_PREFIX = None 23 | LINE_COMMENT_PREFIX = None 24 | TRIM_BLOCKS = False 25 | LSTRIP_BLOCKS = False 26 | NEWLINE_SEQUENCE = '\n' 27 | KEEP_TRAILING_NEWLINE = False 28 | 29 | 30 | # default filters, tests and namespace 31 | from jinja2.filters import FILTERS as DEFAULT_FILTERS 32 | from jinja2.tests import TESTS as DEFAULT_TESTS 33 | DEFAULT_NAMESPACE = { 34 | 'range': range_type, 35 | 'dict': dict, 36 | 'lipsum': generate_lorem_ipsum, 37 | 'cycler': Cycler, 38 | 'joiner': Joiner, 39 | 'namespace': Namespace 40 | } 41 | 42 | 43 | # default policies 44 | DEFAULT_POLICIES = { 45 | 'compiler.ascii_str': True, 46 | 'urlize.rel': 'noopener', 47 | 'urlize.target': None, 48 | 'truncate.leeway': 5, 49 | 'json.dumps_function': None, 50 | 'json.dumps_kwargs': {'sort_keys': True}, 51 | 'ext.i18n.trimmed': False, 52 | } 53 | 54 | 55 | # export all constants 56 | __all__ = tuple(x for x in locals().keys() if x.isupper()) 57 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/jinja2/optimizer.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | jinja2.optimizer 4 | ~~~~~~~~~~~~~~~~ 5 | 6 | The jinja optimizer is currently trying to constant fold a few expressions 7 | and modify the AST in place so that it should be easier to evaluate it. 8 | 9 | Because the AST does not contain all the scoping information and the 10 | compiler has to find that out, we cannot do all the optimizations we 11 | want. For example loop unrolling doesn't work because unrolled loops would 12 | have a different scoping. 13 | 14 | The solution would be a second syntax tree that has the scoping rules stored. 15 | 16 | :copyright: (c) 2017 by the Jinja Team. 17 | :license: BSD. 18 | """ 19 | from jinja2 import nodes 20 | from jinja2.visitor import NodeTransformer 21 | 22 | 23 | def optimize(node, environment): 24 | """The context hint can be used to perform an static optimization 25 | based on the context given.""" 26 | optimizer = Optimizer(environment) 27 | return optimizer.visit(node) 28 | 29 | 30 | class Optimizer(NodeTransformer): 31 | 32 | def __init__(self, environment): 33 | self.environment = environment 34 | 35 | def fold(self, node, eval_ctx=None): 36 | """Do constant folding.""" 37 | node = self.generic_visit(node) 38 | try: 39 | return nodes.Const.from_untrusted(node.as_const(eval_ctx), 40 | lineno=node.lineno, 41 | environment=self.environment) 42 | except nodes.Impossible: 43 | return node 44 | 45 | visit_Add = visit_Sub = visit_Mul = visit_Div = visit_FloorDiv = \ 46 | visit_Pow = visit_Mod = visit_And = visit_Or = visit_Pos = visit_Neg = \ 47 | visit_Not = visit_Compare = visit_Getitem = visit_Getattr = visit_Call = \ 48 | visit_Filter = visit_Test = visit_CondExpr = fold 49 | del fold 50 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/external/python/markupsafe/_compat.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | markupsafe._compat 4 | ~~~~~~~~~~~~~~~~~~ 5 | 6 | :copyright: 2010 Pallets 7 | :license: BSD-3-Clause 8 | """ 9 | import sys 10 | 11 | PY2 = sys.version_info[0] == 2 12 | 13 | if not PY2: 14 | text_type = str 15 | string_types = (str,) 16 | unichr = chr 17 | int_types = (int,) 18 | 19 | def iteritems(x): 20 | return iter(x.items()) 21 | 22 | from collections.abc import Mapping 23 | 24 | else: 25 | text_type = unicode 26 | string_types = (str, unicode) 27 | unichr = unichr 28 | int_types = (int, long) 29 | 30 | def iteritems(x): 31 | return x.iteritems() 32 | 33 | from collections import Mapping 34 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/include/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | # Author: 18 | # 19 | 20 | add_subdirectory(openxr) 21 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/maintainer-scripts/archive-sdk.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (c) 2019-2020 The Khronos Group Inc. 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | # archive-sdk.sh - Generate a tarball containing the repo subset and 19 | # generated files for OpenXR-SDK 20 | # 21 | # Usage: ./archive-sdk.sh 22 | 23 | set -e 24 | 25 | ( 26 | SCRIPTS=$(cd $(dirname $0) && pwd) 27 | cd $(dirname $0)/.. 28 | ROOT=$(pwd) 29 | export ROOT 30 | 31 | # shellcheck source=common.sh 32 | . $SCRIPTS/common.sh 33 | 34 | SDK_TARNAME=OpenXR-SDK 35 | 36 | makeSubset "$SDK_TARNAME" $(getSDKFilenames) 37 | ( 38 | cd github/sdk 39 | # Add the SDK-specific README 40 | add_to_tar "$SDK_TARNAME" README.md 41 | ) 42 | 43 | for header in openxr.h openxr_platform.h openxr_reflection.h; do 44 | generate_spec include/openxr $header "$SDK_TARNAME" 45 | done 46 | 47 | # These go just in SDK 48 | generate_src src xr_generated_dispatch_table.c "$SDK_TARNAME" 49 | generate_src src xr_generated_dispatch_table.h "$SDK_TARNAME" 50 | generate_src src/loader xr_generated_loader.cpp "$SDK_TARNAME" 51 | generate_src src/loader xr_generated_loader.hpp "$SDK_TARNAME" 52 | 53 | # If the loader doc has been generated, include it too. 54 | if [ -f specification/out/1.0/loader.html ]; then 55 | mkdir -p doc/loader 56 | cp specification/out/1.0/loader.html doc/loader/OpenXR_loader_design.html 57 | add_to_tar "$SDK_TARNAME" doc/loader/OpenXR_loader_design.html 58 | fi 59 | 60 | echo 61 | gzip_a_tar "$SDK_TARNAME" 62 | ) 63 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/maintainer-scripts/check-changelog-fragments.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright 2020, Collabora, Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -e 6 | 7 | if [ $# -eq 0 ]; then 8 | TOPIC=HEAD 9 | MAINLINE=origin/master 10 | elif [ $# -eq 1 ]; then 11 | TOPIC=$1 12 | MAINLINE=origin/master 13 | elif [ $# -eq 2 ]; then 14 | TOPIC=$1 15 | MAINLINE=$2 16 | else 17 | echo "$0 [ []]" >&2 18 | exit 1 19 | fi 20 | 21 | BASE=$(git merge-base "${MAINLINE}" "${TOPIC}") 22 | export TOPIC 23 | export BASE 24 | 25 | echo "Topic branch: $TOPIC" 26 | echo "Compared against target branch: $MAINLINE" 27 | echo "Merge base: $BASE" 28 | echo "" 29 | echo "" 30 | 31 | changes_in_tree() { 32 | if ! git diff --exit-code "${BASE}..${TOPIC}" -- "$@" > /dev/null; then 33 | true 34 | else 35 | false 36 | fi 37 | } 38 | 39 | check_tree_and_changelog() { 40 | changelog_dir=$1 41 | shift 42 | if changes_in_tree "$@"; then 43 | if changes_in_tree $changelog_dir; then 44 | echo "OK: Found changes in $@ and changelog fragment in $changelog_dir" 45 | else 46 | echo "Error: Found changes in $@ but no changelog fragment in $changelog_dir" 47 | RESULT=false 48 | export RESULT 49 | fi 50 | fi 51 | } 52 | 53 | ( 54 | cd "$(dirname $0)/.." 55 | RESULT=true 56 | check_tree_and_changelog changes/sdk src/api_layers src/cmake src/common src/loader src/scripts src/tests specification/loader 57 | check_tree_and_changelog changes/specification specification/sources 58 | check_tree_and_changelog changes/registry specification/registry 59 | 60 | if [ "x$CI_MERGE_REQUEST_ID" != "x" ]; then 61 | # This is a CI build of a merge request. 62 | echo "Merge request $CI_MERGE_REQUEST_IID" 63 | if ! find changes -name "mr.$CI_MERGE_REQUEST_IID.gl.md" | grep -q "."; then 64 | echo "Warning: Could not find a changelog fragment named mr.$CI_MERGE_REQUEST_IID.gl.md" 65 | # RESULT=false 66 | fi 67 | fi 68 | $RESULT 69 | ) 70 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/openxr-codespell.exclude: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017-2020 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: CC-BY-4.0 4 | # Lines that should be excluded from codespell - trailing newline required! 5 | 6 | | tessellation | tesselation | Historical exception 7 | | heterogeneous | heterogenous | More common 8 | | homogeneous | homogenous | More common 9 | if (timebase_info.numer == 0) mach_timebase_info(&timebase_info); 10 | return ((mach_absolute_time() * timebase_info.numer) / timebase_info.denom); 11 | '\b[aA]nd [aA]nd\b' 12 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/runClangFormat.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright (c) 2017-2020 The Khronos Group Inc. 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -e 19 | ( 20 | PREFERRED_CLANG_FORMAT=clang-format-6.0 21 | ACCEPTABLE_CLANG_FORMATS="${PREFERRED_CLANG_FORMAT} clang-format-7 clang-format-8 clang-format-8 clang-format" 22 | cd "$(dirname $0)" 23 | if [ ! "${CLANGFORMAT}" ]; then 24 | for tool in ${ACCEPTABLE_CLANG_FORMATS}; do 25 | if which $tool > /dev/null 2> /dev/null; then 26 | CLANGFORMAT=$tool 27 | break 28 | fi 29 | done 30 | fi 31 | if [ ! "${CLANGFORMAT}" ]; then 32 | echo "Could not find clang-format. Prefer ${PREFERRED_CLANG_FORMAT} but will accept newer." 1>&2 33 | echo "Looked for the names: ${ACCEPTABLE_CLANG_FORMATS}" 34 | exit 1 35 | fi 36 | echo "'Official' clang-format version recommended is ${PREFERRED_CLANG_FORMAT}. Currently using:" 37 | ${CLANGFORMAT} --version 38 | # The "-and -not" lines exclude the Jinja2 templates which are almost but not quite C++-parseable. 39 | # The trailing + means that find will pass more than one file to a clang-format call, 40 | # to reduce overhead. 41 | find . \( -wholename ./src/\* \) \ 42 | -and -not \( -wholename ./src/external/\* \) \ 43 | -and -not \( -wholename ./src/scripts/\* \) \ 44 | -and \( -name \*.hpp -or -name \*.h -or -name \*.cpp -or -name \*.c \) \ 45 | -exec ${CLANGFORMAT} -i -style=file {} + 46 | 47 | ) 48 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/.gitignore: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017-2020 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | scripts/__pycache__ 6 | scripts/xrapi.py 7 | out/* 8 | generated/* 9 | sources/chapters/extensions/meta/* 10 | example-builds/generated/ 11 | man/* 12 | artifacts/ 13 | temp/ 14 | diffs/ 15 | 16 | # Artifacts from converting/checking RELAX-NG Compact schema. 17 | registry/registry.rng 18 | registry/regenerated.rnc 19 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/loader/images/app_dispatch_table_call_chain.svg.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/loader/images/call_chain_example.svg.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/loader/images/class_diagram.svg.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/loader/images/high_level_loader.svg.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/loader/images/loader_layer_order_calls.svg.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/loader/images/optional_layer_function_impl.svg.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/loader/images/standard_call_chains.svg.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/loader/loader.adoc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc. 2 | // Copyright notice at https://www.khronos.org/registry/speccopyright.html 3 | // 4 | // SPDX-License-Identifier: CC-BY-4.0 5 | 6 | = OpenXR^(R)^ Loader - Design and Operation [DRAFT] {apititle} 7 | Copyright (c) 2017-2020 The Khronos Group Inc. 8 | :data-uri: 9 | :icons: font 10 | :toc2: 11 | :toclevels: 3 12 | :max-width: 100 13 | :numbered: 14 | :imagewidth: 800 15 | :fullimagewidth: width="800" 16 | 17 | Copyright (c) 2017-2020 The Khronos Group Inc. 18 | All Rights reserved. 19 | 20 | toc::[] 21 | 22 | 23 | [[introduction]] 24 | = Introduction = 25 | 26 | This document contains the necessary information for understanding how to 27 | develop for, and interact with, the OpenXR loader. 28 | Intended use of this document is as a detailed design document and a tool 29 | for learning general OpenXR loader behavior. 30 | 31 | In the event of any discrepancies between this document and the 32 | (https://www.khronos.org/registry/OpenXR[OpenXR specification]), that 33 | document is authoritative. 34 | 35 | 36 | [[introduction-terminology]] 37 | == Terminology == 38 | 39 | The key words *must*, *may*, *can*, *cannot*, *should*, *required*, 40 | *recommend*, and *optional* in this document are to be interpreted as 41 | described in RFC 2119. 42 | 43 | include::overview.adoc[] 44 | 45 | include::application.adoc[] 46 | 47 | include::api_layer.adoc[] 48 | 49 | include::runtime.adoc[] 50 | 51 | include::source.adoc[] 52 | 53 | include::design.adoc[] 54 | 55 | include::debug.adoc[] 56 | 57 | include::appendicies.adoc[] 58 | 59 | 60 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/requirements.txt: -------------------------------------------------------------------------------- 1 | # Copyright 2017-2020, The Khronos Group Inc. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | # Optional but recommended for check spec links 5 | termcolor 6 | 7 | # Optional but recommended for check spec links on Windows 8 | colorama 9 | 10 | # Optional but recommended for check spec links 11 | tabulate 12 | 13 | # Optional but recommended: needed for scripts/xml_consistency.py 14 | networkx 15 | 16 | # Optional: bundled copy may be in ../external/python 17 | jinja2 18 | 19 | # for spec diffs 20 | pypdf2 21 | pdf_diff 22 | 23 | # For testing 24 | pytest 25 | 26 | # for python doc builds 27 | pdoc3 28 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/__init__.py.docs: -------------------------------------------------------------------------------- 1 | """Scripts for building the OpenXR specification and artifacts. 2 | 3 | 4 | See also `src.scripts` for scripts that help build the loader and layers, 5 | many of which build on these scripts. 6 | """ 7 | 8 | # Copyright (c) 2013-2020 The Khronos Group Inc. 9 | # 10 | # SPDX-License-Identifier: Apache-2.0 11 | 12 | # This is only used during doc builds, hence the weird file extension. 13 | # It messes up scripts at other times. 14 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/check_stamp.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # Copyright (c) 2019-2020 The Khronos Group Inc. 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | # Author: Ryan Pavlik 7 | """Pass a filename and any arguments. Will use those arguments to create a stamp file to monitor for changes.""" 8 | import sys 9 | from pathlib import Path 10 | 11 | 12 | def check_stamp(fn, args): 13 | new_contents = ",".join(str(x) for x in args).strip() 14 | write_stamp = True 15 | p = Path(fn) 16 | if p.exists(): 17 | with open(fn, 'r', encoding='utf-8') as fp: 18 | stamp_contents = fp.read().strip() 19 | if stamp_contents == new_contents: 20 | write_stamp = False 21 | else: 22 | print("Build configuration options have changed - forcing clean_generated") 23 | 24 | if write_stamp: 25 | with open(fn, 'w', encoding='utf-8') as fp: 26 | fp.write(new_contents) 27 | fp.flush() 28 | return write_stamp 29 | 30 | 31 | if __name__ == "__main__": 32 | stamp = sys.argv[1] 33 | data = sys.argv[2:] 34 | # print("Stamp name:", stamp) 35 | # print("Data:", data) 36 | if check_stamp(sys.argv[1], sys.argv[2:]): 37 | sys.exit(1) 38 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/genanchorlinks.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | # 3 | # Copyright (c) 2020 The Khronos Group Inc. 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | 7 | # Script that adds href to anchors 8 | 9 | import os,sys,re 10 | 11 | def genAnchorLinks(in_file, out_file): 12 | try: 13 | with open(in_file, 'r', encoding='utf8') as f: data = f.read() 14 | except FileNotFoundError: 15 | print('Error: File %s does not exist.' % in_file) 16 | sys.exit(2) 17 | 18 | data = re.sub( r'()', '\g<1>\g<2> href="#\g<3>"\g<4>', data) 19 | with open(out_file, 'w', encoding='utf8') as f: data = f.write(data) 20 | 21 | if __name__ == '__main__': 22 | if len(sys.argv) != 3: 23 | print('Error: genanchorlinks.py requires two arguments.') 24 | print('Usage: genanchorlinks.py infile.html outfile.html') 25 | sys.exit(1) 26 | genAnchorLinks(sys.argv[1], sys.argv[2]) 27 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/openxr-macros.rb: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-2020 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | #require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal' 6 | RUBY_ENGINE == 'opal' ? (require 'openxr-macros/extension') : (require_relative 'openxr-macros/extension') 7 | 8 | # All the inline macros we need 9 | Asciidoctor::Extensions.register do 10 | inline_macro CanInlineMacro 11 | inline_macro CannotInlineMacro 12 | inline_macro MayInlineMacro 13 | inline_macro MustInlineMacro 14 | inline_macro OptionalInlineMacro 15 | inline_macro RequiredInlineMacro 16 | inline_macro ShouldInlineMacro 17 | inline_macro ReflinkInlineMacro 18 | inline_macro FlinkInlineMacro 19 | inline_macro FnameInlineMacro 20 | inline_macro FtextInlineMacro 21 | inline_macro SnameInlineMacro 22 | inline_macro SlinkInlineMacro 23 | inline_macro StextInlineMacro 24 | inline_macro EnameInlineMacro 25 | inline_macro ElinkInlineMacro 26 | inline_macro EtextInlineMacro 27 | inline_macro PnameInlineMacro 28 | inline_macro PtextInlineMacro 29 | inline_macro DnameInlineMacro 30 | inline_macro DlinkInlineMacro 31 | inline_macro TnameInlineMacro 32 | inline_macro TlinkInlineMacro 33 | inline_macro BasetypeInlineMacro 34 | inline_macro CodeInlineMacro 35 | inline_macro SemanticSubpathInlineMacro 36 | inline_macro SemanticPathInlineMacro 37 | inline_macro ActionNameInlineMacro 38 | end 39 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/pdf-index-customizer.rb: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | # This file customizes the way that asciidoctor-pdf makes the index, 6 | # so it's not all uselessly sorted under "X" since all the terms start with "XR" 7 | 8 | # see https://github.com/asciidoctor/asciidoctor-pdf#how-index-terms-are-grouped-and-sorted 9 | 10 | require 'asciidoctor-pdf' 11 | 12 | # Normalizes an OpenXR entity name to just the part that matters for ordering. 13 | def strip_prefix(name) 14 | name.sub /^[xX][rR](_?)/, "" 15 | end 16 | 17 | module Asciidoctor::PDF 18 | # Override how the "Category" (first letter heading) is computed 19 | # Docs and source for original version: 20 | # https://www.rubydoc.info/github/asciidoctor/asciidoctor-pdf/Asciidoctor/Pdf/IndexCatalog#store_primary_term-instance_method 21 | IndexCatalog.prepend( 22 | ::Module.new do 23 | def store_primary_term(name, dest = nil) 24 | store_dest dest if dest 25 | # After stripping the prefix (if any) do a multibyte-uppercase 26 | # and grab the first character as the category 27 | category = uppercase_mb(strip_prefix(name)).chr 28 | (init_category category).store_term name, dest 29 | end 30 | end 31 | ) 32 | 33 | # Override how index terms are sorted: they ignore their prefix. 34 | # Docs and source for original version: 35 | # https://www.rubydoc.info/github/asciidoctor/asciidoctor-pdf/Asciidoctor/Pdf/IndexTermGroup#%3C=%3E-instance_method 36 | IndexTermGroup.prepend ( 37 | ::Module.new do 38 | def <=>(other) 39 | this = strip_prefix(@name) 40 | that = strip_prefix(other.name) 41 | (val = this.casecmp that) == 0 ? this <=> that : val 42 | end 43 | end) 44 | end 45 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/realign.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | # 3 | # Copyright (c) 2013-2020 The Khronos Group Inc. 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | 7 | # Usage: realign [infile] > outfile 8 | # Used to realign XML tags in the Vulkan registry after it's operated on by 9 | # some other filter, since whitespace inside a tag isn't part of the 10 | # internal representation. 11 | 12 | import re 13 | import sys 14 | 15 | def realignXML(fp): 16 | patterns = [ 17 | [ r'(^ *\ 1: 47 | realignXML(open(sys.argv[1], 'r', encoding='utf-8')) 48 | else: 49 | realignXML(sys.stdin) 50 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/reflow_count.py: -------------------------------------------------------------------------------- 1 | # The value to start tagging VU statements at, unless overridden by -nextvu 2 | startVUID = 1 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/reflow_count.py.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc. 2 | SPDX-License-Identifier: Apache-2.0 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/spec_tools/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 -i 2 | # 3 | # Copyright (c) 2018-2019 Collabora, Ltd. 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | # Author(s): Ryan Pavlik 8 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/spec_tools/data_structures.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 -i 2 | # 3 | # Copyright (c) 2019 Collabora, Ltd. 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | # Author(s): Ryan Pavlik 8 | """Provides general-purpose data structures.""" 9 | 10 | 11 | class DictOfStringSets: 12 | """A dictionary where the values are sets of strings. 13 | 14 | Has some convenience functions to allow easier maintenance via 15 | the .add method.""" 16 | 17 | def __init__(self, d=None): 18 | self.d = {} 19 | if d: 20 | for k, v in d.items(): 21 | self.add(k, v) 22 | 23 | def __getitem__(self, k): 24 | return self.d[k] 25 | 26 | def __contains__(self, k): 27 | return k in self.d 28 | 29 | def get(self, k, default=None): 30 | return self.d.get(k, default) 31 | 32 | def get_dict(self): 33 | return self.d 34 | 35 | def items(self): 36 | """Return an iterator like dict().items().""" 37 | return self.d.items() 38 | 39 | def keys(self): 40 | """Return an iterator over keys.""" 41 | return self.d.keys() 42 | 43 | def values(self): 44 | """Return an iterator over values.""" 45 | return self.d.values() 46 | 47 | def add_key(self, k): 48 | """Ensure the set for the given key exists.""" 49 | if k not in self.d: 50 | self.d[k] = set() 51 | 52 | def add(self, k, v): 53 | self.add_key(k) 54 | if isinstance(v, str): 55 | v = (v, ) 56 | if not isinstance(v, set): 57 | v = set(v) 58 | self.d[k].update(v) 59 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/specification/scripts/test_entity_db.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 -i 2 | # 3 | # Copyright (c) 2018-2019 Collabora, Ltd. 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | # Author(s): Ryan Pavlik 8 | 9 | 10 | import pytest 11 | 12 | from check_spec_links import XREntityDatabase 13 | 14 | 15 | @pytest.fixture 16 | def db(): 17 | ret = XREntityDatabase() 18 | # print(ret.getEntityJson()) 19 | return ret 20 | 21 | 22 | def test_likely_recognized(db): 23 | assert(db.likelyRecognizedEntity('xrBla')) 24 | assert(db.likelyRecognizedEntity('XrBla')) 25 | assert(db.likelyRecognizedEntity('XR_BLA')) 26 | 27 | 28 | def test_db(db): 29 | assert(db.findEntity('xrCreateInstance')) 30 | assert(db.findEntity('XRAPI_CALL')) 31 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | # Copyright (c) 2017-2020 The Khronos Group Inc. 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # Use defaults from the Google style with the following exceptions: 6 | BasedOnStyle: Google 7 | IndentWidth: 4 8 | ColumnLimit: 132 9 | SortIncludes: false 10 | ... 11 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/.gitignore: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017-2020 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | # Don't commit pre-generated files in this repo. 6 | xr_generated_dispatch_table.* 7 | xr_generated_utilities.* 8 | loader/xr_generated_loader.* 9 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/OpenXR_API_Dump.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/OpenXR-SDK-Source-release-1.0.13/src/api_layers/OpenXR_API_Dump.png -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/OpenXR_API_Dump.png.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017, LunarG, Inc. 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/OpenXR_Core_Validation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/OpenXR-SDK-Source-release-1.0.13/src/api_layers/OpenXR_Core_Validation.png -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/OpenXR_Core_Validation.png.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017, LunarG, Inc. 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/README.md: -------------------------------------------------------------------------------- 1 | # OpenXR API Layers 2 | 3 | 8 | 9 | ## Overview 10 | 11 | API Layers can be written to intercept or hook OpenXR commands for various 12 | debug and validation purposes. 13 | One or more XR commands can be defined in your API layer. 14 | Commands that are not defined in an API layer will be passed directly onto 15 | the next enabled API layer, or runtime, which does implement that 16 | command. 17 | This directory contains several functional API layers which can be used by 18 | an OpenXR application. 19 | For more information on API Layers, refer to section 2.5 on the OpenXR 20 | Specification. 21 | 22 |
23 | 24 | ## Using API Layers 25 | 26 | 1. Build the entire tree's source from the base folder in the OpenXR tree. 27 | 2. Set the XR\_API\_LAYER\_PATH environment variable to specify where the API 28 | layers reside. This should be 29 | ```(openxr_base)/(build_folder)/src/api_layers``` if you build the source. 30 | 3. Specify which API layers to activate by using xrCreateInstance or the 31 | environmental variable XR\_ENABLE\_API\_LAYERS. 32 | 33 | For example: 34 | ``` 35 | export XR_ENABLE_API_LAYERS=XR_APILAYER_LUNARG_api_dump 36 | ``` 37 | 38 |
39 | 40 | ## API Layers In Tree 41 | 42 | The following API layers' source appears in this tree and can be used 43 | as needed: 44 | * [API Dump](README_api_dump.md) 45 | * [Core Validation](README_core_validation.md) 46 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/XrApiLayer_api_dump.def: -------------------------------------------------------------------------------- 1 | 2 | ;;;; Begin Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3 | ; 4 | ; Copyright (c) 2017-2020 The Khronos Group Inc. 5 | ; Copyright (c) 2017-2019 Valve Corporation 6 | ; Copyright (c) 2017-2019 LunarG, Inc. 7 | ; 8 | ; SPDX-License-Identifier: Apache-2.0 9 | ; 10 | ; Licensed under the Apache License, Version 2.0 (the "License"); 11 | ; you may not use this file except in compliance with the License. 12 | ; You may obtain a copy of the License at 13 | ; 14 | ; http://www.apache.org/licenses/LICENSE-2.0 15 | ; 16 | ; Unless required by applicable law or agreed to in writing, software 17 | ; distributed under the License is distributed on an "AS IS" BASIS, 18 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | ; See the License for the specific language governing permissions and 20 | ; limitations under the License. 21 | ; 22 | ; Author: Mark Young 23 | ; 24 | ;;;; End Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 25 | 26 | LIBRARY XrApiLayer_api_dump 27 | EXPORTS 28 | xrNegotiateLoaderApiLayerInterface 29 | 30 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/XrApiLayer_core_validation.def: -------------------------------------------------------------------------------- 1 | 2 | ;;;; Begin Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3 | ; 4 | ; Copyright (c) 2017-2020 The Khronos Group Inc. 5 | ; Copyright (c) 2017-2019 Valve Corporation 6 | ; Copyright (c) 2017-2019 LunarG, Inc. 7 | ; 8 | ; SPDX-License-Identifier: Apache-2.0 9 | ; 10 | ; Licensed under the Apache License, Version 2.0 (the "License"); 11 | ; you may not use this file except in compliance with the License. 12 | ; You may obtain a copy of the License at 13 | ; 14 | ; http://www.apache.org/licenses/LICENSE-2.0 15 | ; 16 | ; Unless required by applicable law or agreed to in writing, software 17 | ; distributed under the License is distributed on an "AS IS" BASIS, 18 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | ; See the License for the specific language governing permissions and 20 | ; limitations under the License. 21 | ; 22 | ; Author: Mark Young 23 | ; 24 | ;;;; End Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 25 | 26 | LIBRARY XrApiLayer_core_validation 27 | EXPORTS 28 | xrNegotiateLoaderApiLayerInterface 29 | 30 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/core_validation_html_anchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/OpenXR-SDK-Source-release-1.0.13/src/api_layers/core_validation_html_anchor.png -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/core_validation_html_anchor.png.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017, The Khronos Group Inc. 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/core_validation_message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/OpenXR-SDK-Source-release-1.0.13/src/api_layers/core_validation_message.png -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/api_layers/core_validation_message.png.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017, LunarG, Inc. 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/cmake/metaconfig.cmake.in: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # @WARNING@ 6 | 7 | unset(_UWP_SUFFIX) 8 | if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") 9 | set(_UWP_SUFFIX _uwp) 10 | endif() 11 | if(CMAKE_GENERATOR_PLATFORM_UPPER MATCHES "ARM.*") 12 | if(CMAKE_SIZEOF_VOID_P EQUAL 8) 13 | set(_PLATFORM ARM64) 14 | else() 15 | set(_PLATFORM ARM) 16 | endif() 17 | else() 18 | if(CMAKE_SIZEOF_VOID_P EQUAL 8) 19 | set(_PLATFORM x64) 20 | else() 21 | set(_PLATFORM Win32) 22 | endif() 23 | endif() 24 | 25 | include("${CMAKE_CURRENT_LIST_DIR}/${_PLATFORM}${_UWP_SUFFIX}/lib/@TARGET_SUBDIR@/@FN@.cmake") 26 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/common_config.h.in: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc. 2 | // Copyright (c) 2017 Valve Corporation 3 | // Copyright (c) 2017 LunarG, Inc. 4 | // 5 | // SPDX-License-Identifier: Apache-2.0 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | 20 | // If this file has a .h.in extension, it's the input for CMake to generate a header from. 21 | // If it has a .h extension, THIS IS A GENERATED FILE - DO NOT EDIT 22 | 23 | // To include the generated version of this file, make sure OPENXR_HAVE_COMMON_CONFIG is defined. 24 | // The provided CMake build system does this automatically. 25 | // 26 | // If you can't provide the .h version of this file (because you're not using the 27 | // provided CMake build system and not providing it yourself), you need to do the following: 28 | // 29 | // - On non-Windows, for security purposes, define one of 30 | // `HAVE_SECURE_GETENV` or `HAVE___SECURE_GETENV` depending on which 31 | // of secure_getenv or __secure_getenv are present, respectively 32 | 33 | 34 | // If defined, secure_getenv is available 35 | #cmakedefine HAVE_SECURE_GETENV 36 | 37 | // If defined, __secure_getenv is available 38 | #cmakedefine HAVE___SECURE_GETENV 39 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | # BasedOnStyle: LLVM 3 | AccessModifierOffset: -2 4 | ConstructorInitializerIndentWidth: 4 5 | AlignEscapedNewlinesLeft: false 6 | AlignTrailingComments: true 7 | AllowAllParametersOfDeclarationOnNextLine: true 8 | AllowShortIfStatementsOnASingleLine: false 9 | AllowShortLoopsOnASingleLine: false 10 | AlwaysBreakTemplateDeclarations: false 11 | AlwaysBreakBeforeMultilineStrings: false 12 | BreakBeforeBinaryOperators: false 13 | BreakBeforeTernaryOperators: true 14 | BreakConstructorInitializersBeforeComma: false 15 | BinPackParameters: false 16 | ColumnLimit: 80 17 | ConstructorInitializerAllOnOneLineOrOnePerLine: false 18 | DerivePointerBinding: false 19 | ExperimentalAutoDetectBinPacking: false 20 | IndentCaseLabels: false 21 | MaxEmptyLinesToKeep: 1 22 | NamespaceIndentation: None 23 | ObjCSpaceBeforeProtocolList: true 24 | PenaltyBreakBeforeFirstCallParameter: 19 25 | PenaltyBreakComment: 60 26 | PenaltyBreakString: 1000 27 | PenaltyBreakFirstLessLess: 120 28 | PenaltyExcessCharacter: 1000000 29 | PenaltyReturnTypeOnItsOwnLine: 60 30 | PointerBindsToType: true 31 | SpacesBeforeTrailingComments: 1 32 | Cpp11BracedListStyle: true 33 | Standard: Cpp11 34 | IndentWidth: 2 35 | TabWidth: 8 36 | UseTab: Never 37 | BreakBeforeBraces: Attach 38 | IndentFunctionDeclarationAfterType: false 39 | SpacesInParentheses: false 40 | SpacesInAngles: false 41 | SpaceInEmptyParentheses: false 42 | SpacesInCStyleCastParentheses: false 43 | SpaceAfterControlStatementKeyword: true 44 | SpaceBeforeAssignmentOperators: true 45 | ContinuationIndentWidth: 4 46 | ... 47 | 48 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.h text 3 | *.cpp text 4 | *.json text 5 | *.in text 6 | *.sh eol=lf 7 | *.bat eol=crlf 8 | *.vcproj eol=crlf 9 | *.vcxproj eol=crlf 10 | *.sln eol=crlf 11 | devtools/agent_vm* eol=crlf 12 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /build-*/ 3 | *.pyc 4 | *.swp 5 | *.actual 6 | *.actual-rewrite 7 | *.process-output 8 | *.rewrite 9 | /bin/ 10 | /libs/ 11 | /doc/doxyfile 12 | /dist/ 13 | #/version 14 | #/include/json/version.h 15 | 16 | # MSVC project files: 17 | *.sln 18 | *.vcxproj 19 | *.filters 20 | *.user 21 | *.sdf 22 | *.opensdf 23 | *.suo 24 | 25 | # MSVC build files: 26 | *.lib 27 | *.obj 28 | *.tlog/ 29 | *.pdb 30 | 31 | # CMake-generated files: 32 | CMakeFiles/ 33 | *.cmake 34 | /pkg-config/jsoncpp.pc 35 | jsoncpp_lib_static.dir/ 36 | 37 | # In case someone runs cmake in the root-dir: 38 | /CMakeCache.txt 39 | /Makefile 40 | /include/Makefile 41 | /src/Makefile 42 | /src/jsontestrunner/Makefile 43 | /src/jsontestrunner/jsontestrunner_exe 44 | /src/lib_json/Makefile 45 | /src/test_lib_json/Makefile 46 | /src/test_lib_json/jsoncpp_test 47 | *.a 48 | 49 | # eclipse project files 50 | .project 51 | .cproject 52 | /.settings/ 53 | 54 | # DS_Store 55 | .DS_Store 56 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/appveyor.yml: -------------------------------------------------------------------------------- 1 | clone_folder: c:\projects\jsoncpp 2 | 3 | environment: 4 | matrix: 5 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 6 | CMAKE_GENERATOR: Visual Studio 14 2015 7 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 8 | CMAKE_GENERATOR: Visual Studio 14 2015 Win64 9 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 10 | CMAKE_GENERATOR: Visual Studio 15 2017 11 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 12 | CMAKE_GENERATOR: Visual Studio 15 2017 Win64 13 | 14 | build_script: 15 | - cmake --version 16 | - cd c:\projects\jsoncpp 17 | - cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX:PATH=%CD:\=/%/install -DBUILD_SHARED_LIBS:BOOL=ON . 18 | # Use ctest to make a dashboard build: 19 | # - ctest -D Experimental(Start|Update|Configure|Build|Test|Coverage|MemCheck|Submit) 20 | # NOTE: Testing on window is not yet finished: 21 | # - ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit 22 | - ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalSubmit 23 | # Final step is to verify that installation succeeds 24 | - cmake --build . --config Release --target install 25 | 26 | deploy: 27 | provider: GitHub 28 | auth_token: 29 | secure: K2Tp1q8pIZ7rs0Ot24ZMWuwr12Ev6Tc6QkhMjGQxoQG3ng1pXtgPasiJ45IDXGdg 30 | on: 31 | branch: master 32 | appveyor_repo_tag: true 33 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/dev.makefile: -------------------------------------------------------------------------------- 1 | # This is only for jsoncpp developers/contributors. 2 | # We use this to sign releases, generate documentation, etc. 3 | VER?=$(shell cat version.txt) 4 | 5 | default: 6 | @echo "VER=${VER}" 7 | sign: jsoncpp-${VER}.tar.gz 8 | gpg --armor --detach-sign $< 9 | gpg --verify $<.asc 10 | # Then upload .asc to the release. 11 | jsoncpp-%.tar.gz: 12 | curl https://github.com/open-source-parsers/jsoncpp/archive/$*.tar.gz -o $@ 13 | dox: 14 | python doxybuild.py --doxygen=$$(which doxygen) --in doc/web_doxyfile.in 15 | rsync -va -c --delete dist/doxygen/jsoncpp-api-html-${VER}/ ../jsoncpp-docs/doxygen/ 16 | # Then 'git add -A' and 'git push' in jsoncpp-docs. 17 | build: 18 | mkdir -p build/debug 19 | cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_SHARED_LIBS=ON -G "Unix Makefiles" ../.. 20 | make -C build/debug 21 | 22 | # Currently, this depends on include/json/version.h generated 23 | # by cmake. 24 | test-amalgamate: 25 | python2.7 amalgamate.py 26 | python3.4 amalgamate.py 27 | cd dist; gcc -I. -c jsoncpp.cpp 28 | 29 | valgrind: 30 | valgrind --error-exitcode=42 --leak-check=full ./build/debug/src/test_lib_json/jsoncpp_test 31 | 32 | clean: 33 | \rm -rf *.gz *.asc dist/ 34 | 35 | .PHONY: build 36 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/devtools/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Baptiste Lepilleur and The JsonCpp Authors 2 | # Distributed under MIT license, or public domain if desired and 3 | # recognized in your jurisdiction. 4 | # See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | # module 7 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/devtools/agent_vmw7.json: -------------------------------------------------------------------------------- 1 | { 2 | "cmake_variants" : [ 3 | {"name": "generator", 4 | "generators": [ 5 | {"generator": [ 6 | "Visual Studio 7 .NET 2003", 7 | "Visual Studio 9 2008", 8 | "Visual Studio 9 2008 Win64", 9 | "Visual Studio 10", 10 | "Visual Studio 10 Win64", 11 | "Visual Studio 11", 12 | "Visual Studio 11 Win64" 13 | ] 14 | }, 15 | {"generator": ["MinGW Makefiles"], 16 | "env_prepend": [{"path": "c:/wut/prg/MinGW/bin"}] 17 | } 18 | ] 19 | }, 20 | {"name": "shared_dll", 21 | "variables": [ 22 | ["BUILD_SHARED_LIBS=true"], 23 | ["BUILD_SHARED_LIBS=false"] 24 | ] 25 | }, 26 | {"name": "build_type", 27 | "build_types": [ 28 | "debug", 29 | "release" 30 | ] 31 | } 32 | ] 33 | } 34 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/devtools/agent_vmxp.json: -------------------------------------------------------------------------------- 1 | { 2 | "cmake_variants" : [ 3 | {"name": "generator", 4 | "generators": [ 5 | {"generator": [ 6 | "Visual Studio 6", 7 | "Visual Studio 7", 8 | "Visual Studio 8 2005" 9 | ] 10 | } 11 | ] 12 | }, 13 | {"name": "shared_dll", 14 | "variables": [ 15 | ["BUILD_SHARED_LIBS=true"], 16 | ["BUILD_SHARED_LIBS=false"] 17 | ] 18 | }, 19 | {"name": "build_type", 20 | "build_types": [ 21 | "debug", 22 | "release" 23 | ] 24 | } 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/doc/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
12 | 13 | 14 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/doc/readme.txt: -------------------------------------------------------------------------------- 1 | The documentation is generated using doxygen (http://www.doxygen.org). 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/doc/roadmap.dox: -------------------------------------------------------------------------------- 1 | /*! \page roadmap JsonCpp roadmap 2 | Moved to: https://github.com/open-source-parsers/jsoncpp/wiki/Roadmap 3 | */ 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/include/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB INCLUDE_FILES "json/*.h") 2 | install(FILES 3 | ${INCLUDE_FILES} 4 | ${PROJECT_BINARY_DIR}/include/json/version.h 5 | DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/json) 6 | 7 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/include/json/autolink.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef JSON_AUTOLINK_H_INCLUDED 7 | #define JSON_AUTOLINK_H_INCLUDED 8 | 9 | #include "config.h" 10 | 11 | #ifdef JSON_IN_CPPTL 12 | #include 13 | #endif 14 | 15 | #if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && \ 16 | !defined(JSON_IN_CPPTL) 17 | #define CPPTL_AUTOLINK_NAME "json" 18 | #undef CPPTL_AUTOLINK_DLL 19 | #ifdef JSON_DLL 20 | #define CPPTL_AUTOLINK_DLL 21 | #endif 22 | #include "autolink.h" 23 | #endif 24 | 25 | #endif // JSON_AUTOLINK_H_INCLUDED 26 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/include/json/features.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef CPPTL_JSON_FEATURES_H_INCLUDED 7 | #define CPPTL_JSON_FEATURES_H_INCLUDED 8 | 9 | #if !defined(JSON_IS_AMALGAMATION) 10 | #include "forwards.h" 11 | #endif // if !defined(JSON_IS_AMALGAMATION) 12 | 13 | #pragma pack(push, 8) 14 | 15 | namespace Json { 16 | 17 | /** \brief Configuration passed to reader and writer. 18 | * This configuration object can be used to force the Reader or Writer 19 | * to behave in a standard conforming way. 20 | */ 21 | class JSON_API Features { 22 | public: 23 | /** \brief A configuration that allows all features and assumes all strings 24 | * are UTF-8. 25 | * - C & C++ comments are allowed 26 | * - Root object can be any JSON value 27 | * - Assumes Value strings are encoded in UTF-8 28 | */ 29 | static Features all(); 30 | 31 | /** \brief A configuration that is strictly compatible with the JSON 32 | * specification. 33 | * - Comments are forbidden. 34 | * - Root object must be either an array or an object value. 35 | * - Assumes Value strings are encoded in UTF-8 36 | */ 37 | static Features strictMode(); 38 | 39 | /** \brief Initialize the configuration like JsonConfig::allFeatures; 40 | */ 41 | Features(); 42 | 43 | /// \c true if comments are allowed. Default: \c true. 44 | bool allowComments_{true}; 45 | 46 | /// \c true if root must be either an array or an object value. Default: \c 47 | /// false. 48 | bool strictRoot_{false}; 49 | 50 | /// \c true if dropped null placeholders are allowed. Default: \c false. 51 | bool allowDroppedNullPlaceholders_{false}; 52 | 53 | /// \c true if numeric object key are allowed. Default: \c false. 54 | bool allowNumericKeys_{false}; 55 | }; 56 | 57 | } // namespace Json 58 | 59 | #pragma pack(pop) 60 | 61 | #endif // CPPTL_JSON_FEATURES_H_INCLUDED 62 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/include/json/forwards.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef JSON_FORWARDS_H_INCLUDED 7 | #define JSON_FORWARDS_H_INCLUDED 8 | 9 | #if !defined(JSON_IS_AMALGAMATION) 10 | #include "config.h" 11 | #endif // if !defined(JSON_IS_AMALGAMATION) 12 | 13 | namespace Json { 14 | 15 | // writer.h 16 | class StreamWriter; 17 | class StreamWriterBuilder; 18 | class Writer; 19 | class FastWriter; 20 | class StyledWriter; 21 | class StyledStreamWriter; 22 | 23 | // reader.h 24 | class Reader; 25 | class CharReader; 26 | class CharReaderBuilder; 27 | 28 | // features.h 29 | class Features; 30 | 31 | // value.h 32 | typedef unsigned int ArrayIndex; 33 | class StaticString; 34 | class Path; 35 | class PathArgument; 36 | class Value; 37 | class ValueIteratorBase; 38 | class ValueIterator; 39 | class ValueConstIterator; 40 | 41 | } // namespace Json 42 | 43 | #endif // JSON_FORWARDS_H_INCLUDED 44 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/include/json/json.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef JSON_JSON_H_INCLUDED 7 | #define JSON_JSON_H_INCLUDED 8 | 9 | #include "autolink.h" 10 | #include "features.h" 11 | #include "reader.h" 12 | #include "value.h" 13 | #include "writer.h" 14 | 15 | #endif // JSON_JSON_H_INCLUDED 16 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/include/json/version.h: -------------------------------------------------------------------------------- 1 | // DO NOT EDIT. This file (and "version") is a template used by the build system 2 | // (either CMake or Meson) to generate a "version.h" header file. 3 | #ifndef JSON_VERSION_H_INCLUDED 4 | #define JSON_VERSION_H_INCLUDED 5 | 6 | #define JSONCPP_VERSION_STRING "1.9.0" 7 | #define JSONCPP_VERSION_MAJOR 1 8 | #define JSONCPP_VERSION_MINOR 9 9 | #define JSONCPP_VERSION_PATCH 0 10 | #define JSONCPP_VERSION_QUALIFIER 11 | #define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) \ 12 | | (JSONCPP_VERSION_MINOR << 16) \ 13 | | (JSONCPP_VERSION_PATCH << 8)) 14 | 15 | #ifdef JSONCPP_USING_SECURE_MEMORY 16 | #undef JSONCPP_USING_SECURE_MEMORY 17 | #endif 18 | #define JSONCPP_USING_SECURE_MEMORY 0 19 | // If non-zero, the library zeroes any memory that it has allocated before 20 | // it frees its memory. 21 | 22 | #endif // JSON_VERSION_H_INCLUDED 23 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/pkg-config/jsoncpp.pc.in: -------------------------------------------------------------------------------- 1 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 2 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 3 | 4 | Name: jsoncpp 5 | Description: A C++ library for interacting with JSON 6 | Version: @JSONCPP_VERSION@ 7 | URL: https://github.com/open-source-parsers/jsoncpp 8 | Libs: -L${libdir} -ljsoncpp 9 | Cflags: -I${includedir} 10 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(lib_json) 2 | if(JSONCPP_WITH_TESTS) 3 | add_subdirectory(jsontestrunner) 4 | add_subdirectory(test_lib_json) 5 | endif() 6 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/src/jsontestrunner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | find_package(PythonInterp 2.6) 2 | 3 | add_executable(jsontestrunner_exe 4 | main.cpp 5 | ) 6 | 7 | if(BUILD_SHARED_LIBS) 8 | add_compile_definitions( JSON_DLL ) 9 | endif() 10 | target_link_libraries(jsontestrunner_exe jsoncpp_lib) 11 | 12 | set_target_properties(jsontestrunner_exe PROPERTIES OUTPUT_NAME jsontestrunner_exe) 13 | 14 | if(PYTHONINTERP_FOUND) 15 | # Run end to end parser/writer tests 16 | set(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../test) 17 | set(RUNJSONTESTS_PATH ${TEST_DIR}/runjsontests.py) 18 | 19 | # Run unit tests in post-build 20 | # (default cmake workflow hides away the test result into a file, resulting in poor dev workflow?!?) 21 | add_custom_target(jsoncpp_readerwriter_tests 22 | "${PYTHON_EXECUTABLE}" -B "${RUNJSONTESTS_PATH}" $ "${TEST_DIR}/data" 23 | DEPENDS jsontestrunner_exe jsoncpp_test 24 | ) 25 | add_custom_target(jsoncpp_check DEPENDS jsoncpp_readerwriter_tests) 26 | 27 | ## Create tests for dashboard submission, allows easy review of CI results https://my.cdash.org/index.php?project=jsoncpp 28 | add_test(NAME jsoncpp_readerwriter 29 | COMMAND "${PYTHON_EXECUTABLE}" -B "${RUNJSONTESTS_PATH}" $ "${TEST_DIR}/data" 30 | WORKING_DIRECTORY "${TEST_DIR}/data" 31 | ) 32 | add_test(NAME jsoncpp_readerwriter_json_checker 33 | COMMAND "${PYTHON_EXECUTABLE}" -B "${RUNJSONTESTS_PATH}" --with-json-checker $ "${TEST_DIR}/data" 34 | WORKING_DIRECTORY "${TEST_DIR}/data" 35 | ) 36 | endif() 37 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/src/lib_json/version.h.in: -------------------------------------------------------------------------------- 1 | // DO NOT EDIT. This file (and "version") is a template used by the build system 2 | // (either CMake or Meson) to generate a "version.h" header file. 3 | #ifndef JSON_VERSION_H_INCLUDED 4 | #define JSON_VERSION_H_INCLUDED 5 | 6 | #define JSONCPP_VERSION_STRING "@JSONCPP_VERSION@" 7 | #define JSONCPP_VERSION_MAJOR @JSONCPP_VERSION_MAJOR@ 8 | #define JSONCPP_VERSION_MINOR @JSONCPP_VERSION_MINOR@ 9 | #define JSONCPP_VERSION_PATCH @JSONCPP_VERSION_PATCH@ 10 | #define JSONCPP_VERSION_QUALIFIER 11 | #define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) \ 12 | | (JSONCPP_VERSION_MINOR << 16) \ 13 | | (JSONCPP_VERSION_PATCH << 8)) 14 | 15 | #ifdef JSONCPP_USING_SECURE_MEMORY 16 | #undef JSONCPP_USING_SECURE_MEMORY 17 | #endif 18 | #define JSONCPP_USING_SECURE_MEMORY @JSONCPP_USE_SECURE_MEMORY@ 19 | // If non-zero, the library zeroes any memory that it has allocated before 20 | // it frees its memory. 21 | 22 | #endif // JSON_VERSION_H_INCLUDED 23 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/src/test_lib_json/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # vim: et ts=4 sts=4 sw=4 tw=0 2 | 3 | add_executable( jsoncpp_test 4 | jsontest.cpp 5 | jsontest.h 6 | fuzz.cpp 7 | fuzz.h 8 | main.cpp 9 | ) 10 | 11 | 12 | if(BUILD_SHARED_LIBS) 13 | add_compile_definitions( JSON_DLL ) 14 | endif() 15 | target_link_libraries(jsoncpp_test jsoncpp_lib) 16 | 17 | # another way to solve issue #90 18 | #set_target_properties(jsoncpp_test PROPERTIES COMPILE_FLAGS -ffloat-store) 19 | 20 | # Run unit tests in post-build 21 | # (default cmake workflow hides away the test result into a file, resulting in poor dev workflow?!?) 22 | if(JSONCPP_WITH_POST_BUILD_UNITTEST) 23 | if(BUILD_SHARED_LIBS) 24 | # First, copy the shared lib, for Microsoft. 25 | # Then, run the test executable. 26 | add_custom_command( TARGET jsoncpp_test 27 | POST_BUILD 28 | COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ 29 | COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $) 30 | else(BUILD_SHARED_LIBS) 31 | # Just run the test executable. 32 | add_custom_command( TARGET jsoncpp_test 33 | POST_BUILD 34 | COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $) 35 | endif() 36 | ## Create tests for dashboard submission, allows easy review of CI results https://my.cdash.org/index.php?project=jsoncpp 37 | add_test(NAME jsoncpp_test 38 | COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $ 39 | ) 40 | endif() 41 | 42 | set_target_properties(jsoncpp_test PROPERTIES OUTPUT_NAME jsoncpp_test) 43 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/src/test_lib_json/fuzz.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2019 The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #include "fuzz.h" 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | 15 | namespace Json { 16 | class Exception; 17 | } 18 | 19 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { 20 | Json::CharReaderBuilder builder; 21 | 22 | if (size < sizeof(uint32_t)) { 23 | return 0; 24 | } 25 | 26 | uint32_t hash_settings = *(const uint32_t*)data; 27 | data += sizeof(uint32_t); 28 | 29 | builder.settings_["failIfExtra"] = hash_settings & (1 << 0); 30 | builder.settings_["allowComments_"] = hash_settings & (1 << 1); 31 | builder.settings_["strictRoot_"] = hash_settings & (1 << 2); 32 | builder.settings_["allowDroppedNullPlaceholders_"] = hash_settings & (1 << 3); 33 | builder.settings_["allowNumericKeys_"] = hash_settings & (1 << 4); 34 | builder.settings_["allowSingleQuotes_"] = hash_settings & (1 << 5); 35 | builder.settings_["failIfExtra_"] = hash_settings & (1 << 6); 36 | builder.settings_["rejectDupKeys_"] = hash_settings & (1 << 7); 37 | builder.settings_["allowSpecialFloats_"] = hash_settings & (1 << 8); 38 | 39 | std::unique_ptr reader(builder.newCharReader()); 40 | 41 | Json::Value root; 42 | const char* data_str = reinterpret_cast(data); 43 | try { 44 | reader->parse(data_str, data_str + size, &root, nullptr); 45 | } catch (Json::Exception const&) { 46 | } 47 | // Whether it succeeded or not doesn't matter. 48 | return 0; 49 | } 50 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/src/test_lib_json/fuzz.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef FUZZ_H_INCLUDED 7 | #define FUZZ_H_INCLUDED 8 | 9 | #include 10 | #include 11 | 12 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size); 13 | 14 | #endif // ifndef FUZZ_H_INCLUDED 15 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/cleantests.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007 Baptiste Lepilleur and The JsonCpp Authors 2 | # Distributed under MIT license, or public domain if desired and 3 | # recognized in your jurisdiction. 4 | # See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | """Removes all files created during testing.""" 7 | 8 | import glob 9 | import os 10 | 11 | paths = [] 12 | for pattern in [ '*.actual', '*.actual-rewrite', '*.rewrite', '*.process-output' ]: 13 | paths += glob.glob('data/' + pattern) 14 | 15 | for path in paths: 16 | os.unlink(path) 17 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/fail_test_array_01.json: -------------------------------------------------------------------------------- 1 | [ 1 2 3] 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_01.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_01.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_02.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_02.json: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_03.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | .[1]=2 4 | .[2]=3 5 | .[3]=4 6 | .[4]=5 7 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_03.json: -------------------------------------------------------------------------------- 1 | [ 1, 2 , 3,4,5] 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_04.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | .[1]="abc" 4 | .[2]=12.3 5 | .[3]=-4 6 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_04.json: -------------------------------------------------------------------------------- 1 | [1, "abc" , 12.3, -4] 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_05.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | .[1]=2 4 | .[2]=3 5 | .[3]=4 6 | .[4]=5 7 | .[5]=6 8 | .[6]=7 9 | .[7]=8 10 | .[8]=9 11 | .[9]=10 12 | .[10]=11 13 | .[11]=12 14 | .[12]=13 15 | .[13]=14 16 | .[14]=15 17 | .[15]=16 18 | .[16]=17 19 | .[17]=18 20 | .[18]=19 21 | .[19]=20 22 | .[20]=21 23 | .[21]=22 24 | .[22]=23 25 | .[23]=24 26 | .[24]=25 27 | .[25]=26 28 | .[26]=27 29 | .[27]=28 30 | .[28]=29 31 | .[29]=30 32 | .[30]=31 33 | .[31]=32 34 | .[32]=33 35 | .[33]=34 36 | .[34]=35 37 | .[35]=36 38 | .[36]=37 39 | .[37]=38 40 | .[38]=39 41 | .[39]=40 42 | .[40]=41 43 | .[41]=42 44 | .[42]=43 45 | .[43]=44 46 | .[44]=45 47 | .[45]=46 48 | .[46]=47 49 | .[47]=48 50 | .[48]=49 51 | .[49]=50 52 | .[50]=51 53 | .[51]=52 54 | .[52]=53 55 | .[53]=54 56 | .[54]=55 57 | .[55]=56 58 | .[56]=57 59 | .[57]=58 60 | .[58]=59 61 | .[59]=60 62 | .[60]=61 63 | .[61]=62 64 | .[62]=63 65 | .[63]=64 66 | .[64]=65 67 | .[65]=66 68 | .[66]=67 69 | .[67]=68 70 | .[68]=69 71 | .[69]=70 72 | .[70]=71 73 | .[71]=72 74 | .[72]=73 75 | .[73]=74 76 | .[74]=75 77 | .[75]=76 78 | .[76]=77 79 | .[77]=78 80 | .[78]=79 81 | .[79]=80 82 | .[80]=81 83 | .[81]=82 84 | .[82]=83 85 | .[83]=84 86 | .[84]=85 87 | .[85]=86 88 | .[86]=87 89 | .[87]=88 90 | .[88]=89 91 | .[89]=90 92 | .[90]=91 93 | .[91]=92 94 | .[92]=93 95 | .[93]=94 96 | .[94]=95 97 | .[95]=96 98 | .[96]=97 99 | .[97]=98 100 | .[98]=99 101 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_05.json: -------------------------------------------------------------------------------- 1 | [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_06.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 3 | .[1]="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" 4 | .[2]="ccccccccccccccccccccccc" 5 | .[3]="dddddddddddddddddddddddddddddddddddddddddddddddddddd" 6 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_array_06.json: -------------------------------------------------------------------------------- 1 | [ "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 2 | "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", 3 | "ccccccccccccccccccccccc", 4 | "dddddddddddddddddddddddddddddddddddddddddddddddddddd" ] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_01.expected: -------------------------------------------------------------------------------- 1 | .=123456789 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_01.json: -------------------------------------------------------------------------------- 1 | 0123456789 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_02.expected: -------------------------------------------------------------------------------- 1 | .=-123456789 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_02.json: -------------------------------------------------------------------------------- 1 | -0123456789 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_03.expected: -------------------------------------------------------------------------------- 1 | .=1.2345678 2 | 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_03.json: -------------------------------------------------------------------------------- 1 | 1.2345678 2 | 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_04.expected: -------------------------------------------------------------------------------- 1 | .="abcdef" 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_04.json: -------------------------------------------------------------------------------- 1 | "abcdef" 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_05.expected: -------------------------------------------------------------------------------- 1 | .=null 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_05.json: -------------------------------------------------------------------------------- 1 | null 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_06.expected: -------------------------------------------------------------------------------- 1 | .=true 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_06.json: -------------------------------------------------------------------------------- 1 | true 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_07.expected: -------------------------------------------------------------------------------- 1 | .=false 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_07.json: -------------------------------------------------------------------------------- 1 | false 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_08.expected: -------------------------------------------------------------------------------- 1 | // C++ style comment 2 | .=null 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_08.json: -------------------------------------------------------------------------------- 1 | // C++ style comment 2 | null 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_09.expected: -------------------------------------------------------------------------------- 1 | /* C style comment 2 | */ 3 | .=null 4 | 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_basic_09.json: -------------------------------------------------------------------------------- 1 | /* C style comment 2 | */ 3 | null 4 | 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_comment_00.expected: -------------------------------------------------------------------------------- 1 | // Comment for array 2 | .=[] 3 | // Comment within array 4 | .[0]="one-element" 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_comment_00.json: -------------------------------------------------------------------------------- 1 | // Comment for array 2 | [ 3 | // Comment within array 4 | "one-element" 5 | ] 6 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_comment_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | // Comment for array 3 | .test=[] 4 | // Comment within array 5 | .test[0]={} 6 | .test[0].a="aaa" 7 | .test[1]={} 8 | .test[1].b="bbb" 9 | .test[2]={} 10 | .test[2].c="ccc" 11 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_comment_01.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": 3 | // Comment for array 4 | [ 5 | // Comment within array 6 | { "a" : "aaa" }, // Comment for a 7 | { "b" : "bbb" }, // Comment for b 8 | { "c" : "ccc" } // Comment for c 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_comment_02.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | /* C-style comment 3 | 4 | C-style-2 comment */ 5 | .c-test={} 6 | .c-test.a=1 7 | /* Internal comment c-style */ 8 | .c-test.b=2 9 | // C++-style comment 10 | .cpp-test={} 11 | // Multiline comment cpp-style 12 | // Second line 13 | .cpp-test.c=3 14 | // Comment before double 15 | .cpp-test.d=4.1 16 | // Comment before string 17 | .cpp-test.e="e-string" 18 | // Comment before true 19 | .cpp-test.f=true 20 | // Comment before false 21 | .cpp-test.g=false 22 | // Comment before null 23 | .cpp-test.h=null 24 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_comment_02.json: -------------------------------------------------------------------------------- 1 | { 2 | /* C-style comment 3 | 4 | C-style-2 comment */ 5 | "c-test" : { 6 | "a" : 1, 7 | /* Internal comment c-style */ 8 | "b" : 2 9 | }, 10 | // C++-style comment 11 | "cpp-test" : { 12 | // Multiline comment cpp-style 13 | // Second line 14 | "c" : 3, 15 | // Comment before double 16 | "d" : 4.1, 17 | // Comment before string 18 | "e" : "e-string", 19 | // Comment before true 20 | "f" : true, 21 | // Comment before false 22 | "g" : false, 23 | // Comment before null 24 | "h" : null 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_complex_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .attribute=[] 3 | .attribute[0]="random" 4 | .attribute[1]="short" 5 | .attribute[2]="bold" 6 | .attribute[3]=12 7 | .attribute[4]={} 8 | .attribute[4].height=7 9 | .attribute[4].width=64 10 | .count=1234 11 | .name={} 12 | .name.aka="T.E.S.T." 13 | .name.id=123987 14 | .test={} 15 | .test.1={} 16 | .test.1.2={} 17 | .test.1.2.3={} 18 | .test.1.2.3.coord=[] 19 | .test.1.2.3.coord[0]=1 20 | .test.1.2.3.coord[1]=2 21 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_complex_01.json: -------------------------------------------------------------------------------- 1 | { 2 | "count" : 1234, 3 | "name" : { "aka" : "T.E.S.T.", "id" : 123987 }, 4 | "attribute" : [ 5 | "random", 6 | "short", 7 | "bold", 8 | 12, 9 | { "height" : 7, "width" : 64 } 10 | ], 11 | "test": { "1" : 12 | { "2" : 13 | { "3" : { "coord" : [ 1,2] } 14 | } 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_01.expected: -------------------------------------------------------------------------------- 1 | // Max signed integer 2 | .=2147483647 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_01.json: -------------------------------------------------------------------------------- 1 | // Max signed integer 2 | 2147483647 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_02.expected: -------------------------------------------------------------------------------- 1 | // Min signed integer 2 | .=-2147483648 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_02.json: -------------------------------------------------------------------------------- 1 | // Min signed integer 2 | -2147483648 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_03.expected: -------------------------------------------------------------------------------- 1 | // Max unsigned integer 2 | .=4294967295 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_03.json: -------------------------------------------------------------------------------- 1 | // Max unsigned integer 2 | 4294967295 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_04.expected: -------------------------------------------------------------------------------- 1 | // Min unsigned integer 2 | .=0 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_04.json: -------------------------------------------------------------------------------- 1 | // Min unsigned integer 2 | 0 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_05.expected: -------------------------------------------------------------------------------- 1 | .=1 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_05.json: -------------------------------------------------------------------------------- 1 | 1 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_06_64bits.expected: -------------------------------------------------------------------------------- 1 | .=9223372036854775808 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_06_64bits.json: -------------------------------------------------------------------------------- 1 | 9223372036854775808 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_07_64bits.expected: -------------------------------------------------------------------------------- 1 | .=-9223372036854775808 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_07_64bits.json: -------------------------------------------------------------------------------- 1 | -9223372036854775808 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_08_64bits.expected: -------------------------------------------------------------------------------- 1 | .=18446744073709551615 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_integer_08_64bits.json: -------------------------------------------------------------------------------- 1 | 18446744073709551615 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_object_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_object_01.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_object_02.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .count=1234 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_object_02.json: -------------------------------------------------------------------------------- 1 | { "count" : 1234 } 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_object_03.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .attribute="random" 3 | .count=1234 4 | .name="test" 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_object_03.json: -------------------------------------------------------------------------------- 1 | { 2 | "count" : 1234, 3 | "name" : "test", 4 | "attribute" : "random" 5 | } 6 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_object_04.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .=1234 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_object_04.json: -------------------------------------------------------------------------------- 1 | { 2 | "" : 1234 3 | } 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_preserve_comment_01.expected: -------------------------------------------------------------------------------- 1 | /* A comment 2 | at the beginning of the file. 3 | */ 4 | .={} 5 | .first=1 6 | /* Comment before 'second' 7 | */ 8 | .second=2 9 | /* A comment at 10 | the end of the file. 11 | */ 12 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_preserve_comment_01.json: -------------------------------------------------------------------------------- 1 | /* A comment 2 | at the beginning of the file. 3 | */ 4 | { 5 | "first" : 1, // comment after 'first' on the same line 6 | 7 | /* Comment before 'second' 8 | */ 9 | "second" : 2 10 | } 11 | 12 | /* A comment at 13 | the end of the file. 14 | */ 15 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_01.expected: -------------------------------------------------------------------------------- 1 | // 2^33 => out of integer range, switch to double 2 | .=8589934592 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_01.json: -------------------------------------------------------------------------------- 1 | // 2^33 => out of integer range, switch to double 2 | 8589934592 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_02.expected: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | .=-4294967295 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_02.json: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | -4294967295 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_03.expected: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | .=-4294967295 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_03.json: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | -4294967295 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_04.expected: -------------------------------------------------------------------------------- 1 | // 1.2345678 2 | .=1.2345678 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_04.json: -------------------------------------------------------------------------------- 1 | // 1.2345678 2 | 12345678e-7 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_05.expected: -------------------------------------------------------------------------------- 1 | // 1234567.8 2 | .=1234567.8 3 | 4 | 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_05.json: -------------------------------------------------------------------------------- 1 | // 1234567.8 2 | 0.12345678e7 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_06.expected: -------------------------------------------------------------------------------- 1 | // -1.2345678 2 | .=-1.2345678 3 | 4 | 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_06.json: -------------------------------------------------------------------------------- 1 | // -1.2345678 2 | -12345678e-7 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_07.expected: -------------------------------------------------------------------------------- 1 | // -1234567.8 2 | .=-1234567.8 3 | 4 | 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_07.json: -------------------------------------------------------------------------------- 1 | // -1234567.8 2 | -0.12345678e7 3 | 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_08.expected: -------------------------------------------------------------------------------- 1 | // Out of 32-bit integer range, switch to double in 32-bit mode. Length the 2 | // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in 3 | // order to catch a bug in the parsing code. 4 | .=4300000001 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_08.json: -------------------------------------------------------------------------------- 1 | // Out of 32-bit integer range, switch to double in 32-bit mode. Length the 2 | // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in 3 | // order to catch a bug in the parsing code. 4 | 4300000001 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_09.expected: -------------------------------------------------------------------------------- 1 | // Out of 64-bit integer range, switch to double in all modes. Length the same 2 | // as ULONG_MAX in base 10 and digit less than ULONG_MAX's last digit in order 3 | // to catch a bug in the parsing code. 4 | .=1.9e+19 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_09.json: -------------------------------------------------------------------------------- 1 | // Out of 64-bit integer range, switch to double in all modes. Length the same 2 | // as ULONG_MAX in base 10 and digit less than ULONG_MAX's last digit in order 3 | // to catch a bug in the parsing code. 4 | 19000000000000000001 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_10.expected: -------------------------------------------------------------------------------- 1 | // Out of 32-bit signed integer range, switch to double in all modes. Length 2 | // the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | .=-2200000001 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_10.json: -------------------------------------------------------------------------------- 1 | // Out of 32-bit signed integer range, switch to double in all modes. Length 2 | // the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | -2200000001 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_11.expected: -------------------------------------------------------------------------------- 1 | // Out of 64-bit signed integer range, switch to double in all modes. Length 2 | // the same as LONG_MIN in base 10 and digit less than LONG_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | .=-9.3e+18 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_11.json: -------------------------------------------------------------------------------- 1 | // Out of 64-bit signed integer range, switch to double in all modes. Length 2 | // the same as LONG_MIN in base 10 and digit less than LONG_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | -9300000000000000001 5 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_12.expected: -------------------------------------------------------------------------------- 1 | // 2^64 -> switch to double. 2 | .=1.844674407370955e+19 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_real_12.json: -------------------------------------------------------------------------------- 1 | // 2^64 -> switch to double. 2 | 18446744073709551616 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_01.expected: -------------------------------------------------------------------------------- 1 | .="!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_01.json: -------------------------------------------------------------------------------- 1 | "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_02.expected: -------------------------------------------------------------------------------- 1 | .="!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_02.json: -------------------------------------------------------------------------------- 1 | "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_03.expected: -------------------------------------------------------------------------------- 1 | .="http://jsoncpp.sourceforge.net/" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_03.json: -------------------------------------------------------------------------------- 1 | "http:\/\/jsoncpp.sourceforge.net\/" 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_04.expected: -------------------------------------------------------------------------------- 1 | .=""abc\def"" 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_04.json: -------------------------------------------------------------------------------- 1 | "\"abc\\def\"" 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_05.expected: -------------------------------------------------------------------------------- 1 | .="\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_05.json: -------------------------------------------------------------------------------- 1 | "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_01.expected: -------------------------------------------------------------------------------- 1 | .="a" 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_01.json: -------------------------------------------------------------------------------- 1 | "\u0061" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_02.expected: -------------------------------------------------------------------------------- 1 | .="¢" 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_02.json: -------------------------------------------------------------------------------- 1 | "\u00A2" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_03.expected: -------------------------------------------------------------------------------- 1 | .="€" 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_03.json: -------------------------------------------------------------------------------- 1 | "\u20AC" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_04.expected: -------------------------------------------------------------------------------- 1 | .="𝄞" 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_04.json: -------------------------------------------------------------------------------- 1 | "\uD834\uDD1E" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_05.expected: -------------------------------------------------------------------------------- 1 | .="Zażółć gęślą jaźń" 2 | 3 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/data/test_string_unicode_05.json: -------------------------------------------------------------------------------- 1 | "Zażółć gęślą jaźń" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/generate_expected.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007 Baptiste Lepilleur and The JsonCpp Authors 2 | # Distributed under MIT license, or public domain if desired and 3 | # recognized in your jurisdiction. 4 | # See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | from __future__ import print_function 7 | import glob 8 | import os.path 9 | for path in glob.glob('*.json'): 10 | text = file(path,'rt').read() 11 | target = os.path.splitext(path)[0] + '.expected' 12 | if os.path.exists(target): 13 | print('skipping:', target) 14 | else: 15 | print('creating:', target) 16 | file(target,'wt').write(text) 17 | 18 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail1.json: -------------------------------------------------------------------------------- 1 | "A JSON payload should be an object or array, not a string." -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail10.json: -------------------------------------------------------------------------------- 1 | {"Extra value after close": true} "misplaced quoted value" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail11.json: -------------------------------------------------------------------------------- 1 | {"Illegal expression": 1 + 2} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail12.json: -------------------------------------------------------------------------------- 1 | {"Illegal invocation": alert()} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail13.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot have leading zeroes": 013} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail14.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot be hex": 0x14} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail15.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \x15"] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail16.json: -------------------------------------------------------------------------------- 1 | [\naked] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail17.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \017"] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail18.json: -------------------------------------------------------------------------------- 1 | [[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail19.json: -------------------------------------------------------------------------------- 1 | {"Missing colon" null} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail2.json: -------------------------------------------------------------------------------- 1 | ["Unclosed array" -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail20.json: -------------------------------------------------------------------------------- 1 | {"Double colon":: null} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail21.json: -------------------------------------------------------------------------------- 1 | {"Comma instead of colon", null} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail22.json: -------------------------------------------------------------------------------- 1 | ["Colon instead of comma": false] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail23.json: -------------------------------------------------------------------------------- 1 | ["Bad value", truth] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail24.json: -------------------------------------------------------------------------------- 1 | ['single quote'] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail25.json: -------------------------------------------------------------------------------- 1 | [" tab character in string "] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail26.json: -------------------------------------------------------------------------------- 1 | ["tab\ character\ in\ string\ "] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail27.json: -------------------------------------------------------------------------------- 1 | ["line 2 | break"] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail28.json: -------------------------------------------------------------------------------- 1 | ["line\ 2 | break"] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail29.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail3.json: -------------------------------------------------------------------------------- 1 | {unquoted_key: "keys must be quoted"} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail30.json: -------------------------------------------------------------------------------- 1 | [0e+] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail31.json: -------------------------------------------------------------------------------- 1 | [0e+-1] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail32.json: -------------------------------------------------------------------------------- 1 | {"Comma instead if closing brace": true, -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail33.json: -------------------------------------------------------------------------------- 1 | ["mismatch"} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail4.json: -------------------------------------------------------------------------------- 1 | ["extra comma",] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail5.json: -------------------------------------------------------------------------------- 1 | ["double extra comma",,] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail6.json: -------------------------------------------------------------------------------- 1 | [ , "<-- missing value"] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail7.json: -------------------------------------------------------------------------------- 1 | ["Comma after the close"], -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail8.json: -------------------------------------------------------------------------------- 1 | ["Extra close"]] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/fail9.json: -------------------------------------------------------------------------------- 1 | {"Extra comma": true,} -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/pass1.json: -------------------------------------------------------------------------------- 1 | [ 2 | "JSON Test Pattern pass1", 3 | {"object with 1 member":["array with 1 element"]}, 4 | {}, 5 | [], 6 | -42, 7 | true, 8 | false, 9 | null, 10 | { 11 | "integer": 1234567890, 12 | "real": -9876.543210, 13 | "e": 0.123456789e-12, 14 | "E": 1.234567890E+34, 15 | "": 23456789012E66, 16 | "zero": 0, 17 | "one": 1, 18 | "space": " ", 19 | "quote": "\"", 20 | "backslash": "\\", 21 | "controls": "\b\f\n\r\t", 22 | "slash": "/ & \/", 23 | "alpha": "abcdefghijklmnopqrstuvwyz", 24 | "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ", 25 | "digit": "0123456789", 26 | "0123456789": "digit", 27 | "special": "`1~!@#$%^&*()_+-={':[,]}|;.?", 28 | "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A", 29 | "true": true, 30 | "false": false, 31 | "null": null, 32 | "array":[ ], 33 | "object":{ }, 34 | "address": "50 St. James Street", 35 | "url": "http://www.JSON.org/", 36 | "comment": "// /* */": " ", 38 | " s p a c e d " :[1,2 , 3 39 | 40 | , 41 | 42 | 4 , 5 , 6 ,7 ],"compact":[1,2,3,4,5,6,7], 43 | "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}", 44 | "quotes": "" \u0022 %22 0x22 034 "", 45 | "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?" 46 | : "A key can be any string" 47 | }, 48 | 0.5 ,98.6 49 | , 50 | 99.44 51 | , 52 | 53 | 1066, 54 | 1e1, 55 | 0.1e1, 56 | 1e-1, 57 | 1e00,2e+00,2e-00 58 | ,"rosebud"] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/pass2.json: -------------------------------------------------------------------------------- 1 | [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/pass3.json: -------------------------------------------------------------------------------- 1 | { 2 | "JSON Test Pattern pass3": { 3 | "The outermost value": "must be an object or array.", 4 | "In this test": "It is an object." 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/test/jsonchecker/readme.txt: -------------------------------------------------------------------------------- 1 | Test suite from http://json.org/JSON_checker/. 2 | 3 | If the JSON_checker is working correctly, it must accept all of the pass*.json files and reject all of the fail*.json files. 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/version.in: -------------------------------------------------------------------------------- 1 | @JSONCPP_VERSION@ 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/external/jsoncpp/version.txt: -------------------------------------------------------------------------------- 1 | 1.8.4 2 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/OpenXRConfig.cmake.in: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017-2020 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | @PACKAGE_INIT@ 6 | 7 | # The header openxr.h is not added to the export target so we add the include directory here 8 | include("${CMAKE_CURRENT_LIST_DIR}/OpenXRTargets.cmake") 9 | set_and_check(OpenXR_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@") 10 | target_include_directories(OpenXR::openxr_loader INTERFACE ${OpenXR_INCLUDE_DIR}) 11 | 12 | add_library(OpenXR::headers INTERFACE IMPORTED) 13 | target_include_directories(OpenXR::headers SYSTEM INTERFACE ${OpenXR_INCLUDE_DIR}) 14 | 15 | check_required_components(OpenXR) 16 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/images/high_level_loader_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/OpenXR-SDK-Source-release-1.0.13/src/loader/images/high_level_loader_black.png -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/images/high_level_loader_black.png.license: -------------------------------------------------------------------------------- 1 | Copyright 2017, Lunar-G 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/images/instance_call_chain_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/OpenXR-SDK-Source-release-1.0.13/src/loader/images/instance_call_chain_black.png -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/images/instance_call_chain_black.png.license: -------------------------------------------------------------------------------- 1 | Copyright 2017, Lunar-G 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/images/loader_layer_order_calls_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/OpenXR-SDK-Source-release-1.0.13/src/loader/images/loader_layer_order_calls_black.png -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/images/loader_layer_order_calls_black.png.license: -------------------------------------------------------------------------------- 1 | Copyright 2017, Lunar-G 2 | 3 | SPDX-License-Identifier: CC-BY-4.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/openxr-loader.map: -------------------------------------------------------------------------------- 1 | { 2 | global: 3 | xrCreateInstance; 4 | xrDestroyInstance; 5 | xrEnumerateApiLayerProperties; 6 | xrEnumerateInstanceExtensionProperties; 7 | xrGetInstanceProcAddr; 8 | xrGetInstanceProperties; 9 | xrPollEvent; 10 | xrResultToString; 11 | xrStructureTypeToString; 12 | xrGetSystem; 13 | xrGetSystemProperties; 14 | xrEnumerateEnvironmentBlendModes; 15 | xrCreateSession; 16 | xrDestroySession; 17 | xrEnumerateReferenceSpaces; 18 | xrCreateReferenceSpace; 19 | xrGetReferenceSpaceBoundsRect; 20 | xrCreateActionSpace; 21 | xrLocateSpace; 22 | xrDestroySpace; 23 | xrEnumerateViewConfigurations; 24 | xrGetViewConfigurationProperties; 25 | xrEnumerateViewConfigurationViews; 26 | xrEnumerateSwapchainFormats; 27 | xrCreateSwapchain; 28 | xrDestroySwapchain; 29 | xrEnumerateSwapchainImages; 30 | xrAcquireSwapchainImage; 31 | xrWaitSwapchainImage; 32 | xrReleaseSwapchainImage; 33 | xrBeginSession; 34 | xrEndSession; 35 | xrRequestExitSession; 36 | xrWaitFrame; 37 | xrBeginFrame; 38 | xrEndFrame; 39 | xrLocateViews; 40 | xrStringToPath; 41 | xrPathToString; 42 | xrCreateActionSet; 43 | xrDestroyActionSet; 44 | xrCreateAction; 45 | xrDestroyAction; 46 | xrSuggestInteractionProfileBindings; 47 | xrAttachSessionActionSets; 48 | xrGetCurrentInteractionProfile; 49 | xrGetActionStateBoolean; 50 | xrGetActionStateFloat; 51 | xrGetActionStateVector2f; 52 | xrGetActionStatePose; 53 | xrSyncActions; 54 | xrEnumerateBoundSourcesForAction; 55 | xrGetInputSourceLocalizedName; 56 | xrApplyHapticFeedback; 57 | xrStopHapticFeedback; 58 | local: 59 | *; 60 | }; 61 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/openxr-loader.map.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2019-2020 The Khronos Group Inc. 2 | 3 | SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/openxr.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ 3 | libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ 4 | includedir=${prefix}/include 5 | 6 | Name: @CMAKE_PROJECT_NAME@ 7 | Description: OpenXR Loader 8 | Version: @XR_API_VERSION@ 9 | Libs: -L${libdir} -lopenxr_loader @EXTRA_LIBS@ 10 | Cflags: -I${includedir} 11 | 12 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/loader/openxr.pc.in.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc. 2 | 3 | SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | # Author: 18 | # 19 | 20 | add_subdirectory(hello_xr) 21 | if(NOT ANDROID) 22 | add_subdirectory(list) 23 | if(BUILD_LOADER) 24 | add_subdirectory(loader_test) 25 | endif() 26 | endif() 27 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/d3d_common.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #pragma once 6 | 7 | #if defined(XR_USE_GRAPHICS_API_D3D11) || defined(XR_USE_GRAPHICS_API_D3D12) 8 | 9 | #include 10 | 11 | struct ModelConstantBuffer { 12 | DirectX::XMFLOAT4X4 Model; 13 | }; 14 | struct ViewProjectionConstantBuffer { 15 | DirectX::XMFLOAT4X4 ViewProjection; 16 | }; 17 | 18 | // Separate entrypoints for the vertex and pixel shader functions. 19 | constexpr char ShaderHlsl[] = R"_( 20 | struct PSVertex { 21 | float4 Pos : SV_POSITION; 22 | float3 Color : COLOR0; 23 | }; 24 | struct Vertex { 25 | float3 Pos : POSITION; 26 | float3 Color : COLOR0; 27 | }; 28 | cbuffer ModelConstantBuffer : register(b0) { 29 | float4x4 Model; 30 | }; 31 | cbuffer ViewProjectionConstantBuffer : register(b1) { 32 | float4x4 ViewProjection; 33 | }; 34 | 35 | PSVertex MainVS(Vertex input) { 36 | PSVertex output; 37 | output.Pos = mul(mul(float4(input.Pos, 1), Model), ViewProjection); 38 | output.Color = input.Color; 39 | return output; 40 | } 41 | 42 | float4 MainPS(PSVertex input) : SV_TARGET { 43 | return float4(input.Color, 1); 44 | } 45 | )_"; 46 | 47 | DirectX::XMMATRIX XM_CALLCONV LoadXrPose(const XrPosef& pose); 48 | DirectX::XMMATRIX XM_CALLCONV LoadXrMatrix(const XrMatrix4x4f& matrix); 49 | 50 | Microsoft::WRL::ComPtr CompileShader(const char* hlsl, const char* entrypoint, const char* shaderTarget); 51 | Microsoft::WRL::ComPtr GetAdapter(LUID adapterId); 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/geometry.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #pragma once 6 | 7 | namespace Geometry { 8 | 9 | struct Vertex { 10 | XrVector3f Position; 11 | XrVector3f Color; 12 | }; 13 | 14 | constexpr XrVector3f Red{1, 0, 0}; 15 | constexpr XrVector3f DarkRed{0.25f, 0, 0}; 16 | constexpr XrVector3f Green{0, 1, 0}; 17 | constexpr XrVector3f DarkGreen{0, 0.25f, 0}; 18 | constexpr XrVector3f Blue{0, 0, 1}; 19 | constexpr XrVector3f DarkBlue{0, 0, 0.25f}; 20 | 21 | // Vertices for a 1x1x1 meter cube. (Left/Right, Top/Bottom, Front/Back) 22 | constexpr XrVector3f LBB{-0.5f, -0.5f, -0.5f}; 23 | constexpr XrVector3f LBF{-0.5f, -0.5f, 0.5f}; 24 | constexpr XrVector3f LTB{-0.5f, 0.5f, -0.5f}; 25 | constexpr XrVector3f LTF{-0.5f, 0.5f, 0.5f}; 26 | constexpr XrVector3f RBB{0.5f, -0.5f, -0.5f}; 27 | constexpr XrVector3f RBF{0.5f, -0.5f, 0.5f}; 28 | constexpr XrVector3f RTB{0.5f, 0.5f, -0.5f}; 29 | constexpr XrVector3f RTF{0.5f, 0.5f, 0.5f}; 30 | 31 | #define CUBE_SIDE(V1, V2, V3, V4, V5, V6, COLOR) {V1, COLOR}, {V2, COLOR}, {V3, COLOR}, {V4, COLOR}, {V5, COLOR}, {V6, COLOR}, 32 | 33 | constexpr Vertex c_cubeVertices[] = { 34 | CUBE_SIDE(LTB, LBF, LBB, LTB, LTF, LBF, DarkRed) // -X 35 | CUBE_SIDE(RTB, RBB, RBF, RTB, RBF, RTF, Red) // +X 36 | CUBE_SIDE(LBB, LBF, RBF, LBB, RBF, RBB, DarkGreen) // -Y 37 | CUBE_SIDE(LTB, RTB, RTF, LTB, RTF, LTF, Green) // +Y 38 | CUBE_SIDE(LBB, RBB, RTB, LBB, RTB, LTB, DarkBlue) // -Z 39 | CUBE_SIDE(LBF, LTF, RTF, LBF, RTF, RBF, Blue) // +Z 40 | }; 41 | 42 | // Winding order is clockwise. Each side uses a different color. 43 | constexpr unsigned short c_cubeIndices[] = { 44 | 0, 1, 2, 3, 4, 5, // -X 45 | 6, 7, 8, 9, 10, 11, // +X 46 | 12, 13, 14, 15, 16, 17, // -Y 47 | 18, 19, 20, 21, 22, 23, // +Y 48 | 24, 25, 26, 27, 28, 29, // -Z 49 | 30, 31, 32, 33, 34, 35, // +Z 50 | }; 51 | 52 | } // namespace Geometry 53 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/graphicsapi.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #pragma once 6 | 7 | struct IGraphicsAdapter { 8 | virtual ~IGraphicsAdapter() = default; 9 | 10 | virtual std::vector GetInstanceExtensions() const = 0; 11 | 12 | virtual const XrBaseInStructure* GetGraphicsBinding() const = 0; 13 | }; 14 | 15 | struct IGraphicsApi { 16 | virtual ~IGraphicsApi() = default; 17 | 18 | virtual std::shared_ptr CreateAdapter(XrInstance instance, XrSystemId systemId) = 0; 19 | 20 | // OpenXR extensions required by this graphics API. 21 | virtual std::vector GetInstanceExtensions() const = 0; 22 | }; 23 | 24 | std::shared_ptr CreateGraphicsAPI(const std::shared_ptr& options, 25 | std::shared_ptr platformAdapter); 26 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/java/com/khronos/hello_xr/MainActivity.java: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | package com.khronos.hello_xr; 5 | 6 | public class MainActivity extends android.app.NativeActivity { 7 | static { 8 | // Note: Must handle loading of dependent shared libraries manually before 9 | // the shared library that depends on them is loaded, since there is not 10 | // currently a way to specify a shared library dependency for NativeActivity 11 | // via the manifest meta-data. 12 | System.loadLibrary("openxr_loader"); 13 | System.loadLibrary("hello_xr"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/logger.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #pragma once 6 | 7 | namespace Log { 8 | enum class Level { Verbose, Info, Warning, Error }; 9 | 10 | void SetLevel(Level minSeverity); 11 | void Write(Level severity, const std::string& msg); 12 | } // namespace Log 13 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/openxr_program.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #pragma once 6 | 7 | struct IOpenXrProgram { 8 | virtual ~IOpenXrProgram() = default; 9 | 10 | // Create an Instance and other basic instance-level initialization. 11 | virtual void CreateInstance() = 0; 12 | 13 | // Select a System for the view configuration specified in the Options and initialize the graphics device for the selected 14 | // system. 15 | virtual void InitializeSystem() = 0; 16 | 17 | // Create a Session and other basic session-level initialization. 18 | virtual void InitializeSession() = 0; 19 | 20 | // Create a Swapchain which requires coordinating with the graphics plugin to select the format, getting the system graphics 21 | // properties, getting the view configuration and grabbing the resulting swapchain images. 22 | virtual void CreateSwapchains() = 0; 23 | 24 | // Process any events in the event queue. 25 | virtual void PollEvents(bool* exitRenderLoop, bool* requestRestart) = 0; 26 | 27 | // Manage session lifecycle to track if RenderFrame should be called. 28 | virtual bool IsSessionRunning() const = 0; 29 | 30 | // Manage session state to track if input should be processed. 31 | virtual bool IsSessionFocused() const = 0; 32 | 33 | // Sample input actions and generate haptic feedback. 34 | virtual void PollActions() = 0; 35 | 36 | // Create and submit a frame. 37 | virtual void RenderFrame() = 0; 38 | }; 39 | 40 | struct Swapchain { 41 | XrSwapchain handle; 42 | int32_t width; 43 | int32_t height; 44 | }; 45 | 46 | std::shared_ptr CreateOpenXrProgram(const std::shared_ptr& options, 47 | const std::shared_ptr& platformPlugin, 48 | const std::shared_ptr& graphicsPlugin); 49 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/options.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #pragma once 6 | 7 | struct Options { 8 | std::string GraphicsPlugin; 9 | 10 | std::string FormFactor{"Hmd"}; 11 | 12 | std::string ViewConfiguration{"Stereo"}; 13 | 14 | std::string EnvironmentBlendMode{"Opaque"}; 15 | 16 | std::string AppSpace{"Local"}; 17 | }; 18 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/pch.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc. 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #include "pch.h" 6 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/platformdata.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #pragma once 6 | 7 | struct PlatformData { 8 | #ifdef XR_USE_PLATFORM_ANDROID 9 | void* applicationVM; 10 | void* applicationActivity; 11 | #endif 12 | }; 13 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/platformplugin.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #pragma once 6 | 7 | // Wraps platform-specific implementation so the main openxr program can be platform-independent. 8 | struct IPlatformPlugin { 9 | virtual ~IPlatformPlugin() = default; 10 | 11 | // Provide extension to XrInstanceCreateInfo for xrCreateInstance. 12 | virtual XrBaseInStructure* GetInstanceCreateExtension() const = 0; 13 | 14 | // OpenXR instance-level extensions required by this platform. 15 | virtual std::vector GetInstanceExtensions() const = 0; 16 | }; 17 | 18 | // Create a platform plugin for the platform specified at compile time. 19 | std::shared_ptr CreatePlatformPlugin(const std::shared_ptr& options, 20 | const std::shared_ptr& data); 21 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/platformplugin_win32.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc. 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #include "pch.h" 6 | #include "common.h" 7 | #include "platformplugin.h" 8 | 9 | #ifdef XR_USE_PLATFORM_WIN32 10 | namespace { 11 | struct Win32PlatformPlugin : public IPlatformPlugin { 12 | Win32PlatformPlugin(const std::shared_ptr&) { CHECK_HRCMD(CoInitializeEx(nullptr, COINIT_MULTITHREADED)); } 13 | 14 | virtual ~Win32PlatformPlugin() { CoUninitialize(); } 15 | 16 | std::vector GetInstanceExtensions() const override { return {}; } 17 | 18 | XrBaseInStructure* GetInstanceCreateExtension() const override { return nullptr; } 19 | }; 20 | } // namespace 21 | 22 | std::shared_ptr CreatePlatformPlugin_Win32(const std::shared_ptr& options) { 23 | return std::make_shared(options); 24 | } 25 | #endif 26 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/platformplugin_xlib.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc. 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | 5 | #include "pch.h" 6 | #include "common.h" 7 | #include "platformplugin.h" 8 | 9 | #ifdef XR_USE_PLATFORM_XLIB 10 | namespace { 11 | struct XlibPlatformPlugin : public IPlatformPlugin { 12 | XlibPlatformPlugin(const std::shared_ptr& /*unused*/) {} 13 | 14 | std::vector GetInstanceExtensions() const override { return {}; } 15 | 16 | XrBaseInStructure* GetInstanceCreateExtension() const override { return nullptr; } 17 | }; 18 | } // namespace 19 | 20 | std::shared_ptr CreatePlatformPlugin_Xlib(const std::shared_ptr& options) { 21 | return std::make_shared(options); 22 | } 23 | #endif 24 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/vulkan_shaders/frag.glsl: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc. 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | #version 400 5 | #extension GL_ARB_separate_shader_objects : enable 6 | #extension GL_ARB_shading_language_420pack : enable 7 | 8 | #pragma fragment 9 | 10 | layout (location = 0) in vec4 oColor; 11 | 12 | layout (location = 0) out vec4 FragColor; 13 | 14 | void main() 15 | { 16 | FragColor = oColor; 17 | } 18 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/vulkan_shaders/frag.spv: -------------------------------------------------------------------------------- 1 | {0x07230203,0x00010000,0x000d0007,0x0000000d, 2 | 0x00000000,0x00020011,0x00000001,0x0006000b, 3 | 0x00000001,0x4c534c47,0x6474732e,0x3035342e, 4 | 0x00000000,0x0003000e,0x00000000,0x00000001, 5 | 0x0007000f,0x00000004,0x00000004,0x6e69616d, 6 | 0x00000000,0x00000009,0x0000000b,0x00030010, 7 | 0x00000004,0x00000007,0x00030003,0x00000002, 8 | 0x00000190,0x00090004,0x415f4c47,0x735f4252, 9 | 0x72617065,0x5f657461,0x64616873,0x6f5f7265, 10 | 0x63656a62,0x00007374,0x00090004,0x415f4c47, 11 | 0x735f4252,0x69646168,0x6c5f676e,0x75676e61, 12 | 0x5f656761,0x70303234,0x006b6361,0x000a0004, 13 | 0x475f4c47,0x4c474f4f,0x70635f45,0x74735f70, 14 | 0x5f656c79,0x656e696c,0x7269645f,0x69746365, 15 | 0x00006576,0x00080004,0x475f4c47,0x4c474f4f, 16 | 0x6e695f45,0x64756c63,0x69645f65,0x74636572, 17 | 0x00657669,0x00040005,0x00000004,0x6e69616d, 18 | 0x00000000,0x00050005,0x00000009,0x67617246, 19 | 0x6f6c6f43,0x00000072,0x00040005,0x0000000b, 20 | 0x6c6f436f,0x0000726f,0x00040047,0x00000009, 21 | 0x0000001e,0x00000000,0x00040047,0x0000000b, 22 | 0x0000001e,0x00000000,0x00020013,0x00000002, 23 | 0x00030021,0x00000003,0x00000002,0x00030016, 24 | 0x00000006,0x00000020,0x00040017,0x00000007, 25 | 0x00000006,0x00000004,0x00040020,0x00000008, 26 | 0x00000003,0x00000007,0x0004003b,0x00000008, 27 | 0x00000009,0x00000003,0x00040020,0x0000000a, 28 | 0x00000001,0x00000007,0x0004003b,0x0000000a, 29 | 0x0000000b,0x00000001,0x00050036,0x00000002, 30 | 0x00000004,0x00000000,0x00000003,0x000200f8, 31 | 0x00000005,0x0004003d,0x00000007,0x0000000c, 32 | 0x0000000b,0x0003003e,0x00000009,0x0000000c, 33 | 0x000100fd,0x00010038} 34 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/vulkan_shaders/frag.spv.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc. 2 | 3 | SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/vulkan_shaders/vert.glsl: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc. 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | #version 400 5 | #extension GL_ARB_separate_shader_objects : enable 6 | #extension GL_ARB_shading_language_420pack : enable 7 | 8 | #pragma vertex 9 | 10 | layout (std140, push_constant) uniform buf 11 | { 12 | mat4 mvp; 13 | } ubuf; 14 | 15 | layout (location = 0) in vec3 Position; 16 | layout (location = 1) in vec3 Color; 17 | 18 | layout (location = 0) out vec4 oColor; 19 | out gl_PerVertex 20 | { 21 | vec4 gl_Position; 22 | }; 23 | 24 | void main() 25 | { 26 | oColor.rgb = Color.rgb; 27 | oColor.a = 1.0; 28 | gl_Position = ubuf.mvp * vec4(Position, 1); 29 | } 30 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/hello_xr/vulkan_shaders/vert.spv.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2020 The Khronos Group Inc. 2 | 3 | SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/list/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017 The Khronos Group Inc. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | # Author: 18 | # 19 | 20 | add_executable(openxr_runtime_list 21 | list.cpp 22 | ) 23 | add_dependencies(openxr_runtime_list 24 | generate_openxr_header 25 | ) 26 | target_include_directories(openxr_runtime_list 27 | PRIVATE ${PROJECT_SOURCE_DIR}/src 28 | PRIVATE ${PROJECT_SOURCE_DIR}/src/common 29 | PRIVATE ${PROJECT_BINARY_DIR}/include 30 | PRIVATE ${PROJECT_SOURCE_DIR}/external/include 31 | ) 32 | if(Vulkan_FOUND) 33 | target_include_directories(openxr_runtime_list 34 | PRIVATE ${Vulkan_INCLUDE_DIRS} 35 | ) 36 | endif() 37 | 38 | target_link_libraries(openxr_runtime_list openxr_loader) 39 | if(MSVC) 40 | target_compile_options(openxr_runtime_list PRIVATE /Zc:wchar_t /Zc:forScope /W4 /WX) 41 | endif() 42 | 43 | set_target_properties(openxr_runtime_list PROPERTIES FOLDER ${TESTS_FOLDER}) 44 | 45 | install(TARGETS openxr_runtime_list 46 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) 47 | if(NOT WIN32) 48 | install(FILES openxr_runtime_list.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/ COMPONENT ManPages) 49 | endif() 50 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/list/openxr_runtime_list.1: -------------------------------------------------------------------------------- 1 | .\" Composed by Ryan Pavlik 2 | .\" Copyright 2020, Collabora, Ltd. 3 | .\" SPDX-License-Identifier: Apache-2.0 4 | .Dd March 06, 2020 5 | .Dt OPENXR_RUNTIME_LIST 1 6 | .Os 7 | .Sh NAME \" Section Header - required - don't modify 8 | .Nm openxr_runtime_list 9 | .Nd A minimal OpenXR application that reports information about your OpenXR runtime 10 | .Sh SYNOPSIS \" Section Header - required - don't modify 11 | .Nm 12 | .Sh DESCRIPTION \" Section Header - required - don't modify 13 | .Nm 14 | is a minimal, command-line application written using the 15 | .Tn OpenXR 16 | API. 17 | .Pp 18 | It accepts no arguments. 19 | At startup, it connects to your OpenXR runtime (if available) and reports the following data: 20 | .Bl -bullet 21 | .It 22 | System name 23 | .It 24 | System vendor ID 25 | .It 26 | System ID 27 | .It 28 | Available instance extensions and their versions. 29 | .El 30 | .Sh EXIT STATUS 31 | .Ex -std 32 | .Sh SEE ALSO 33 | .Xr hello_xr 1 , 34 | https://www.khronos.org/registry/OpenXR/ , 35 | https://github.com/KhronosGroup/OpenXR-SDK-Source/tree/master/src/tests/list 36 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/loader_test/loader_test_utils.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017 The Khronos Group Inc. 2 | // Copyright (c) 2017 Valve Corporation 3 | // Copyright (c) 2017 LunarG, Inc. 4 | // 5 | // SPDX-License-Identifier: Apache-2.0 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | // 19 | // Author: Mark Young 20 | // 21 | 22 | #pragma once 23 | 24 | #include 25 | 26 | #if defined(XR_OS_LINUX) || defined(XR_OS_APPLE) 27 | #include 28 | 29 | #define TEST_PATH_SEPARATOR ':' 30 | #define TEST_DIRECTORY_SYMBOL '/' 31 | #elif defined(XR_OS_WINDOWS) 32 | #define TEST_PATH_SEPARATOR ';' 33 | #define TEST_DIRECTORY_SYMBOL '\\' 34 | #else 35 | #error "Unsupported platform" 36 | #endif 37 | 38 | // Utility functions for setting and reading the environment variables. 39 | bool LoaderTestSetEnvironmentVariable(const std::string& variable, const std::string& value); 40 | bool LoaderTestGetEnvironmentVariable(const std::string& variable, std::string& value); 41 | bool LoaderTestUnsetEnvironmentVariable(const std::string& variable); 42 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/loader_test/test_layers/XrApiLayer_test.def: -------------------------------------------------------------------------------- 1 | 2 | ;;;; Begin Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3 | ; 4 | ; Copyright (c) 2017 The Khronos Group Inc. 5 | ; Copyright (c) 2017 Valve Corporation 6 | ; Copyright (c) 2017 LunarG, Inc. 7 | ; 8 | ; SPDX-License-Identifier: Apache-2.0 9 | ; 10 | ; Licensed under the Apache License, Version 2.0 (the "License"); 11 | ; you may not use this file except in compliance with the License. 12 | ; You may obtain a copy of the License at 13 | ; 14 | ; http://www.apache.org/licenses/LICENSE-2.0 15 | ; 16 | ; Unless required by applicable law or agreed to in writing, software 17 | ; distributed under the License is distributed on an "AS IS" BASIS, 18 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | ; See the License for the specific language governing permissions and 20 | ; limitations under the License. 21 | ; 22 | ; Author: Mark Young 23 | ; 24 | ;;;; End Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 25 | 26 | LIBRARY XrApiLayer_test 27 | EXPORTS 28 | xrNegotiateLoaderApiLayerInterface 29 | 30 | -------------------------------------------------------------------------------- /OpenXR-SDK-Source-release-1.0.13/src/tests/loader_test/test_runtimes/test_runtime.def: -------------------------------------------------------------------------------- 1 | 2 | ;;;; Begin Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3 | ; 4 | ; Copyright (c) 2017 The Khronos Group Inc. 5 | ; Copyright (c) 2017 Valve Corporation 6 | ; Copyright (c) 2017 LunarG, Inc. 7 | ; 8 | ; SPDX-License-Identifier: Apache-2.0 9 | ; 10 | ; Licensed under the Apache License, Version 2.0 (the "License"); 11 | ; you may not use this file except in compliance with the License. 12 | ; You may obtain a copy of the License at 13 | ; 14 | ; http://www.apache.org/licenses/LICENSE-2.0 15 | ; 16 | ; Unless required by applicable law or agreed to in writing, software 17 | ; distributed under the License is distributed on an "AS IS" BASIS, 18 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | ; See the License for the specific language governing permissions and 20 | ; limitations under the License. 21 | ; 22 | ; Author: Mark Young 23 | ; 24 | ;;;; End Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 25 | 26 | LIBRARY test_runtime 27 | EXPORTS 28 | xrNegotiateLoaderRuntimeInterface 29 | 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OculusHelloXR 2 | 3 | This repo is a self contained Android Studio project to help you run the OpenXR SDK hello_xr sample application on an Oculus. 4 | 5 | See my blog post for an explanation how to build, install and run this sample app: 6 | https://daj.medium.com/oculus-vr-for-android-developers-a38134c759b0 7 | 8 | See the individual commits for each step that was carried out. 9 | 10 | Tested with: 11 | - Oculus Quest 2 running Android 10. 12 | - Intel Macbook Pro running macOS Big Sur. 13 | - Android Studio Arctic Fox. 14 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'com.android.application' 3 | } 4 | 5 | android { 6 | compileSdk 30 7 | 8 | defaultConfig { 9 | applicationId "com.example.oculushelloxr" 10 | minSdk 24 11 | targetSdk 30 12 | versionCode 1 13 | versionName "1.0" 14 | 15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 16 | externalNativeBuild { 17 | ndk { 18 | abiFilters 'arm64-v8a', 'armeabi-v7a' 19 | } 20 | 21 | cmake { 22 | cppFlags '' 23 | } 24 | } 25 | } 26 | 27 | buildTypes { 28 | release { 29 | minifyEnabled false 30 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 31 | } 32 | } 33 | compileOptions { 34 | sourceCompatibility JavaVersion.VERSION_1_8 35 | targetCompatibility JavaVersion.VERSION_1_8 36 | } 37 | externalNativeBuild { 38 | cmake { 39 | path file('../OpenXR-SDK-Source-release-1.0.13/CMakeLists.txt') 40 | version '3.10.2' 41 | } 42 | } 43 | } 44 | 45 | dependencies { 46 | 47 | implementation 'androidx.appcompat:appcompat:1.3.1' 48 | implementation 'com.google.android.material:material:1.4.0' 49 | testImplementation 'junit:junit:4.+' 50 | androidTestImplementation 'androidx.test.ext:junit:1.1.3' 51 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' 52 | } -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/oculushelloxr/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.example.oculushelloxr; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.test.platform.app.InstrumentationRegistry; 6 | import androidx.test.ext.junit.runners.AndroidJUnit4; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | 11 | import static org.junit.Assert.*; 12 | 13 | /** 14 | * Instrumented test, which will execute on an Android device. 15 | * 16 | * @see Testing documentation 17 | */ 18 | @RunWith(AndroidJUnit4.class) 19 | public class ExampleInstrumentedTest { 20 | @Test 21 | public void useAppContext() { 22 | // Context of the app under test. 23 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 24 | assertEquals("com.example.oculushelloxr", appContext.getPackageName()); 25 | } 26 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/oculushelloxr/MainActivity.java: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017-2020 The Khronos Group Inc 2 | // 3 | // SPDX-License-Identifier: Apache-2.0 4 | package com.example.oculushelloxr; 5 | 6 | public class MainActivity extends android.app.NativeActivity { 7 | static { 8 | // Note: Must handle loading of dependent shared libraries manually before 9 | // the shared library that depends on them is loaded, since there is not 10 | // currently a way to specify a shared library dependency for NativeActivity 11 | // via the manifest meta-data. 12 | System.loadLibrary("openxr_loader"); 13 | System.loadLibrary("hello_xr"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 15 | 18 | 21 | 22 | 23 | 24 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | OculusHelloXR 3 | -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /app/src/test/java/com/example/oculushelloxr/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.oculushelloxr; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.3" 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | task clean(type: Delete) { 16 | delete rootProject.buildDir 17 | } -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | # AndroidX package structure to make it clearer which packages are bundled with the 15 | # Android operating system, and which are packaged with your app"s APK 16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 17 | android.useAndroidX=true 18 | # Automatically convert third-party libraries to use AndroidX 19 | android.enableJetifier=true -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Nov 17 21:18:02 EST 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /ovr_openxr_mobile_sdk_1.0.13/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright © Facebook Technologies, LLC and its affiliates. All rights reserved. 2 | 3 | Your use of this SDK or tool is subject to the Oculus SDK License Agreement, available at https://developer.oculus.com/licenses/oculussdk/ -------------------------------------------------------------------------------- /ovr_openxr_mobile_sdk_1.0.13/OPENXR_SDK_THIRD_PARTY_NOTICES.txt: -------------------------------------------------------------------------------- 1 | THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THIS SDK. 2 | 3 | Khronos-OpenXR 4 | 5 | // Copyright (c) 2017-2019 The Khronos Group Inc. 6 | // Copyright (c) 2017-2019 Valve Corporation 7 | // Copyright (c) 2017-2019 LunarG, Inc. 8 | // 9 | // Licensed under the Apache License, Version 2.0 (the "License"); 10 | // you may not use this file except in compliance with the License. 11 | // You may obtain a copy of the License at 12 | // 13 | // http://www.apache.org/licenses/LICENSE-2.0 14 | // 15 | // Unless required by applicable law or agreed to in writing, software 16 | // distributed under the License is distributed on an "AS IS" BASIS, 17 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | // See the License for the specific language governing permissions and 19 | // limitations under the License. 20 | // 21 | // Author: Mark Young 22 | 23 | Vulkan_1.1.100.0 24 | 25 | ** Copyright (c) 2015-2019 The Khronos Group Inc. 26 | ** 27 | ** Licensed under the Apache License, Version 2.0 (the "License"); 28 | ** you may not use this file except in compliance with the License. 29 | ** You may obtain a copy of the License at 30 | ** 31 | ** http://www.apache.org/licenses/LICENSE-2.0 32 | ** 33 | ** Unless required by applicable law or agreed to in writing, software 34 | ** distributed under the License is distributed on an "AS IS" BASIS, 35 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 36 | ** See the License for the specific language governing permissions and 37 | ** limitations under the License. -------------------------------------------------------------------------------- /ovr_openxr_mobile_sdk_1.0.13/OpenXR/Include/openxr/openxr_oculus.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************ 2 | 3 | Filename : openxr_oculus.h 4 | Content : Oculus OpenXR Extensions. 5 | Language : C99 6 | 7 | Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. 8 | 9 | *************************************************************************************/ 10 | 11 | #ifndef OPENXR_OCULUS_H_ 12 | #define OPENXR_OCULUS_H_ 1 13 | 14 | #if defined(__cplusplus) 15 | extern "C" { 16 | #endif 17 | 18 | // XR_KHR_loader_init and XR_KHR_loader_init_android now available in 1.0.11 public spec. 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | 24 | #endif // OPENXR_OCULUS_H_ 25 | -------------------------------------------------------------------------------- /ovr_openxr_mobile_sdk_1.0.13/OpenXR/Libs/Android/arm64-v8a/Debug/libopenxr_loader.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/ovr_openxr_mobile_sdk_1.0.13/OpenXR/Libs/Android/arm64-v8a/Debug/libopenxr_loader.so -------------------------------------------------------------------------------- /ovr_openxr_mobile_sdk_1.0.13/OpenXR/Libs/Android/arm64-v8a/Release/libopenxr_loader.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/ovr_openxr_mobile_sdk_1.0.13/OpenXR/Libs/Android/arm64-v8a/Release/libopenxr_loader.so -------------------------------------------------------------------------------- /ovr_openxr_mobile_sdk_1.0.13/OpenXR/Libs/Android/armeabi-v7a/Debug/libopenxr_loader.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/ovr_openxr_mobile_sdk_1.0.13/OpenXR/Libs/Android/armeabi-v7a/Debug/libopenxr_loader.so -------------------------------------------------------------------------------- /ovr_openxr_mobile_sdk_1.0.13/OpenXR/Libs/Android/armeabi-v7a/Release/libopenxr_loader.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daj/OculusHelloXR/a21de5796c4e78461c6471ebca9c0ffb2344450d/ovr_openxr_mobile_sdk_1.0.13/OpenXR/Libs/Android/armeabi-v7a/Release/libopenxr_loader.so -------------------------------------------------------------------------------- /ovr_openxr_mobile_sdk_1.0.13/OpenXR/Projects/AndroidPrebuilt/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ovr_openxr_mobile_sdk_1.0.13/OpenXR/Projects/AndroidPrebuilt/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | ifeq ($(OVR_DEBUG),1) 4 | BUILDTYPE := Debug 5 | else 6 | BUILDTYPE := Release 7 | endif 8 | 9 | #-------------------------------------------------------- 10 | # libopenxr_loader.so 11 | # 12 | # OpenXR Loader 13 | #-------------------------------------------------------- 14 | include $(CLEAR_VARS) 15 | 16 | LOCAL_MODULE := openxr_loader 17 | 18 | LOCAL_SRC_FILES := ../../../Libs/Android/$(TARGET_ARCH_ABI)/$(BUILDTYPE)/lib$(LOCAL_MODULE).so 19 | 20 | # only export public headers 21 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../Include 22 | 23 | # NOTE: This check is added to prevent the following error when running a "make clean" where 24 | # the prebuilt lib may have been deleted: "LOCAL_SRC_FILES points to a missing file" 25 | ifneq (,$(wildcard $(LOCAL_PATH)/$(LOCAL_SRC_FILES))) 26 | include $(PREBUILT_SHARED_LIBRARY) 27 | endif 28 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "OculusHelloXR" 10 | include ':app' 11 | --------------------------------------------------------------------------------