Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LIV/XREW
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.20
Choose a base ref
...
head repository: LIV/XREW
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 17 commits
  • 8 files changed
  • 2 contributors

Commits on Jan 13, 2022

  1. v1.0.21

    Ybalrid committed Jan 13, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    678a8ac View commit details
  2. v1.0.22 🎉

    Ybalrid committed Jan 13, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2f0083f View commit details

Commits on Feb 24, 2022

  1. Copyright year 2022

    Ybalrid committed Feb 24, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e7fe31e View commit details

Commits on May 29, 2022

  1. v1.0.23 🎉

    Ybalrid committed May 29, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d347f2e View commit details

Commits on Jun 24, 2022

  1. v1.0.24 🎉

    Ybalrid committed Jun 24, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6a9c5bb View commit details

Commits on Aug 5, 2022

  1. Readme update

    Ybalrid committed Aug 5, 2022
    Copy the full SHA
    f85a553 View commit details

Commits on Oct 7, 2022

  1. v1.0.25

    Ybalrid committed Oct 7, 2022
    Copy the full SHA
    e479bfa View commit details

Commits on Dec 8, 2022

  1. 1.0.26 update

    Ybalrid committed Dec 8, 2022
    Copy the full SHA
    31d8ab8 View commit details
  2. update readme

    Ybalrid committed Dec 8, 2022
    Copy the full SHA
    ebcc535 View commit details
  3. Copy the full SHA
    21ca035 View commit details

Commits on Mar 29, 2023

  1. 1.0.27 update

    Ybalrid committed Mar 29, 2023
    Copy the full SHA
    d946010 View commit details
  2. Copy the full SHA
    d562cf5 View commit details
  3. git ignore build dir

    Ybalrid committed Mar 29, 2023
    Copy the full SHA
    9d84313 View commit details

Commits on Jul 11, 2023

  1. 1.0.28 update

    Ybalrid committed Jul 11, 2023
    Copy the full SHA
    77f2e7b View commit details

Commits on Aug 28, 2023

  1. 1.0.29 update

    Ybalrid committed Aug 28, 2023
    Copy the full SHA
    4b0f4bf View commit details

Commits on Jan 7, 2025

  1. Update to OpenXR 1.1.43

    Ybalrid committed Jan 7, 2025
    Copy the full SHA
    0c17070 View commit details
  2. updated readme

    Ybalrid committed Jan 7, 2025
    Copy the full SHA
    c4c4cc8 View commit details
Showing with 733 additions and 11 deletions.
  1. +1 −1 LICENSE
  2. +1 −1 OpenXR-SDK-Source
  3. +7 −4 README.md
  4. +1 −1 gen.py
  5. +648 −4 generated/xrew.h
  6. +1 −0 test/.gitignore
  7. +8 −0 test/CMakeLists.txt
  8. +66 −0 test/test.cpp
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 LIV Inc.
Copyright (c) 2021-2025 LIV Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
2 changes: 1 addition & 1 deletion OpenXR-SDK-Source
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# ![XR purple cowboy emoji](./resources/XR_wranglerx40.png) XREW [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

*generated version commited under /generated/xrew.h : OpenXR 1.0.20 Grab the raw header file here : [xrew.h](https://raw.githubusercontent.com/LIV/XREW/master/generated/xrew.h)*
*generated version commited under /generated/xrew.h : OpenXR 1.1.43 Grab the raw header file here : [xrew.h](https://raw.githubusercontent.com/LIV/XREW/master/generated/xrew.h)*

XREW is a single-header OpenXR Extension Wrangler, generated from the [OpenXR registry](https://github.com/KhronosGroup/OpenXR-SDK-Source/blob/master/specification/registry/xr.xml)

This automate the task of calling `xrGetInstanceProcAddr()` for every non-core function you may need. This do not replace, but intead complement, the OpenXR loader present in the SDK.
This automate the task of calling `xrGetInstanceProcAddr()` for every non-core function you may need. This do not replace, but instead complement, the OpenXR loader present in the SDK.

Naming and general "way of working" is inspired by [GLEW](http://glew.sourceforge.net/). However, XREW is a really small header only library and do not interfere with the linking process.

## How to use XREW

Obain a copy of `xrew.h` by downloading it here, cloning this repository, or by generating it yourself from the python script and the registry.
Obtain a copy of `xrew.h` by downloading it here, cloning this repository, or by generating it yourself from the python script and the registry.

```C
//Include the header only library:
@@ -55,6 +55,9 @@ will create `xrew.h` in the repository root directory.

> Note that you need to clone the OpenXR SDK submodule to have access to the machine-readable API registry (`xr.xml`).
### Custom xr.xml

You can specify as an argument to `gen.py` the path to another xr.xml file that is not the submodule

## How to upgrade XREW to newer OpenXR release

@@ -64,7 +67,7 @@ For convinience, copy and commit the output in `/generated/xrew.h`.
## Legal

`xrew.h` and the generator script
Copyright (c) 2021 LIV Inc.
Copyright (c) 2021-2022 LIV Inc.
Licensed under the MIT Licence Agreement

XREW logo based on "Face with Cowboy Hat" Twemoji v2 from the Twitter Emoji Project. Original work under Creative Commons Attribution 4.0 International License
2 changes: 1 addition & 1 deletion gen.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

# MIT License

# Copyright (c) 2021 LIV Inc.
# Copyright (c) 2021-2025 LIV Inc.

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Loading