├── .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 |
8 |
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 |