Skip to content

Commit 348912b

Browse files
committed
Upload release 1.0.0 of OpenXR loader, layers, and samples
1 parent 9d9ae38 commit 348912b

File tree

266 files changed

+54730
-42727
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+54730
-42727
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*.sh eol=lf
2020

2121
*.png binary
22+
*.pdf binary
2223

2324
# Shell scripts that don't end in .sh
2425
specification/makeAllExts eol=lf
@@ -27,4 +28,4 @@ specification/makeKHR eol=lf
2728
specification/makeKHRAndKHX eol=lf
2829
specification/makeReleaseArtifacts eol=lf
2930
specification/checkMarkup eol=lf
30-
specification/checkSpecLinks eol=lf
31+
specification/checkSpecLinks eol=lf

.gitignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
/build
2-
/build*
1+
/build/
2+
/build*/
33
CMakeLists.txt.user
44
*.orig
55
.*
66
*~
7+
*.tar
78
*.tar.gz
9+
*.log
10+
pregen/
11+
doc/
812

913
# Cached python scripts in bytecode form
1014
*.pyc
@@ -19,6 +23,9 @@ specification/examples.mk
1923
# Files related to pytest
2024
specification/scripts/.cache
2125

26+
# VS 2019 CMake artifacts
27+
out/build/
28+
2229
# VS misc
2330
*.sln
2431
*.pyproj

BUILDING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
Certain source files are generated at build time from the `xr.xml` file, utilizing
66
python scripts. The scripts make use of the python `pathlib` module, which is
7-
fully supported in python version 3.6 or later.
7+
fully supported in python version 3.6 or later.
8+
9+
You will also need the python `jinja2` package, available from your package
10+
manager or with something like `pip3 install jinja2`.
811

912
## Windows
1013

CHANGELOG.SDK.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,56 @@
1-
# Changelog for OpenXR-SDK Repo
1+
# Changelog for OpenXR-SDK-Source and OpenXR-SDK Repo
22

3-
Update log for the OpenXR-SDK repo on GitHub.
3+
Update log for the OpenXR-SDK-Source and OpenXR-SDK repo on GitHub.
44
Updates are in reverse chronological order starting with the latest public release.
55

6+
Note that only changes relating to the loader and some of the build changes will affect the OpenXR-SDK repository.
7+
68
This summarizes the periodic public updates, not individual commits. Updates
79
on GitHub are generally done as single large patches at the release point,
810
collecting together the resolution of many Khronos internal issues,
911
along with any public pull requests that have been accepted.
1012
In this repository in particular, since it is primarily software,
1113
pull requests may be integrated as they are accepted even between periodic updates.
1214

15+
## OpenXR 1.0.0 release (29-July-2019)
16+
17+
Incorporates spec changes from OpenXR 1.0,
18+
all public pull requests incorporated in the 0.90 series,
19+
and additional fixes and improvements not previously published.
20+
21+
## Change log for OpenXR 0.90 provisional spec updates post-0.90.1
22+
23+
### GitHub Pull Requests
24+
25+
These had been integrated into the public repo incrementally.
26+
27+
- General, Build, Other
28+
- #40 - Update BUILDING.md with some Linux pre-requisites
29+
- #43 - Make manifest file more compatible
30+
- #44 - Remove pkg-config dependency from xlib backend
31+
- #46 - Support building with "embedded" Python
32+
- #48 - Install layers and pkg-config file on Linux
33+
- #66 - Install the layers libraries on Linux
34+
- #71 - Validation layer: fix logic error
35+
- hello_xr
36+
- #49 - Fix hello_xr to properly use two call idiom
37+
- Loader
38+
- #38 - Remove dead file-locking code
39+
- #51 - Idiomatic Linux active_runtime.json search logic
40+
- #55, #58, #68 - Purge std::map bracket operations that might do inadvertent insertions
41+
- #56 - Make `filesystem_util.cc` `#define UNICODE`-compatible
42+
- #57 - Make it possible to bypass macro that checks which `filesystem` to use
43+
- #60 - Fix build error with shlwapi function
44+
- #62 - Don't limit contents of `XristanceCreateInfo` next chain
45+
- #65 - Fix minor substr error
46+
- #69 - Simplify loader
47+
- #70, #76 - Make loader exception free
48+
- #72 - filesystem: fix theoretical bug on Linux
49+
- #73 - Loader proper UNICODE support
50+
- #75 - Clang tidy
51+
- #80 - Switchable exceptions
52+
- #82 - Add folder properties to all CMake targets.
53+
1354
## Change log for OpenXR 0.90.1 provisional spec update (8-May-2019)
1455

1556
No API changes, and only minimal consistency changes to the spec/registry.

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
cmake_minimum_required(VERSION 3.0)
2323
project(OPENXR)
2424

25+
find_package(PythonInterp 3)
26+
2527
# Enable IDE GUI folders. "Helper targets" that don't have interesting source code should set their FOLDER property to this
2628
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
2729
set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMake predefined targets")
@@ -32,6 +34,12 @@ set(TESTS_FOLDER "Tests")
3234
set(API_LAYERS_FOLDER "Layers")
3335
set(SAMPLES_FOLDER "Samples")
3436

37+
option(BUILD_FORCE_GENERATION "Force re-generation of files even in the presence of pre-generated copies, replacing those copies." OFF)
38+
39+
if(BUILD_FORCE_GENERATION AND NOT PYTHON_EXECUTABLE)
40+
message(FATAL_ERROR "BUILD_FORCE_GENERATION requires Python")
41+
endif()
42+
3543
add_subdirectory(include)
3644
add_subdirectory(src)
3745

README.md

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,36 @@
1-
# OpenXR ® Software Development Kit (SDK) Project
1+
# OpenXRSoftware Development Kit (SDK) Sources Project
22

3-
**_NOTE: This repository contains components that will eventually be assembled
4-
into an OpenXR SDK, but are currently not organized nor packaged as a distributable SDK._**
5-
6-
This repository contains source code and build scripts for implementations
3+
This repository contains source code and build scripts for implementations
74
of the OpenXR loader, validation layers, and code samples.
85

96
The authoritative public repository is located at
10-
https://github.com/KhronosGroup/OpenXR-SDK/.
7+
<https://github.com/KhronosGroup/OpenXR-SDK-Source/>.
118
It hosts the public Issue tracker, and accepts patches (Pull Requests) from the
129
general public.
1310

11+
If you want to simply write an application using OpenXR (the headers and loader),
12+
with minimum dependencies,
13+
see <https://github.com/KhronosGroup/OpenXR-SDK/>.
14+
That project is based on this one, but contains all generated files pre-generated,
15+
removing the requirement for Python or build-time file generation,
16+
and omits the samples, tests, and API layers, as they are not typically built as a part of an application.
17+
1418
## Directory Structure
15-
```
16-
BUILDING.md Instructions for building the projects
17-
README.md This file
18-
COPYING.md Copyright and licensing information
19-
CODE_OF_CONDUCT.md Code of Conduct
20-
external/ External code for projects in the repo
21-
include/ OpenXR platform include file
22-
specification/ xr.xml file
23-
src/ Source code for various projects
24-
src/api_layer Sample code for developing API layers
25-
src/loader OpenXR loader code
26-
src/tests/ various test code (if looking for sample code start with hello_xr/)
27-
```
28-
29-
Currently the best sample code is in [src/tests/hello_xr/](https://github.com/KhronosGroup/OpenXR-SDK/tree/master/src/tests/hello_xr). More will be added in the future.
30-
31-
This structure is for the provisional specification. Things are
32-
incomplete at launch but will be added to going forward.
3319

20+
- `BUILDING.md` - Instructions for building the projects
21+
- `README.md` - This file
22+
- `COPYING.md` - Copyright and licensing information
23+
- `CODE_OF_CONDUCT.md` - Code of Conduct
24+
- `external/` - External code for projects in the repo
25+
- `include/` - OpenXR platform include file
26+
- `specification/` - xr.xml file
27+
- `src/` - Source code for various projects
28+
- `src/api_layer` - Sample code for developing API layers
29+
- `src/loader` - OpenXR loader code
30+
- `src/tests` - various test code (if looking for sample code start with `hello_xr/`)
3431

35-
## Building
32+
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.
3633

37-
See [BUILDING.md](https://github.com/KhronosGroup/OpenXR-SDK/blob/master/BUILDING.md)
34+
## Building
3835

36+
See [BUILDING.md](https://github.com/KhronosGroup/OpenXR-SDK-Source/blob/master/BUILDING.md)

checkCodespell

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ IGNORE_WORDS="lod,LOD"
4444
# Add to this to exclude individual files or directories (comma-delimited)
4545
# - Skipping external code.
4646
# - Skipping binary files.
47-
SKIP="${ROOT}/src/external,*.pyc,*.png"
47+
SKIP="${ROOT}/src/external,${ROOT}/src/conformance/framework/catch2,*.pyc,*.png,*.jpg,*.svg"
4848

4949
# Args that get passed if no args are provided to this script.
5050
# -q4 to silence "UINT ==> UNIT | disabled due to being a data type"

0 commit comments

Comments
 (0)