summaryrefslogtreecommitdiff
path: root/modules/openxr/extensions
AgeCommit message (Collapse)Author
2023-01-19Add depth and color formats to get OpenXR with OpenGL working on SteamVRDavid Snopek
2023-01-12Merge pull request #71224 from rsjtdrjgfuzkfg/openxr-openglRémi Verschelde
OpenXR: Do not use SRGB swapchains with OpenGL
2023-01-11OpenXR: Do not use SRGB swapchains with OpenGLrsjtdrjgfuzkfg
This commit removes SRGB swapchain options for use with OpenGL, to avoid the hardware doing an additional SRGB conversion and thus causing colors to differ from other rendering paths.
2023-01-11OpenXR: Fix initialization warning on Androidrsjtdrjgfuzkfg
This commit adds proper checking for XR_KHR_loader_init support and fixes the warning regarding missing extensions on Android to only appear if neither XR_KHR_loader_init nor XR_KHR_loader_init_android are supported by the runtime.
2023-01-11Merge pull request #70167 from rsjtdrjgfuzkfg/picoRémi Verschelde
OpenXR: Add Pico controller profile
2023-01-09Fix typos with codespellRémi Verschelde
Also includes #71080. Co-authored-by: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com>
2023-01-06OpenXR: Add preliminary Pico controller profilersjtdrjgfuzkfg
This commit adds the Pico controller used in the Pico 4 as implemented in current versions of the OpenXR runtime on the device itself. Note that the extension and paths used in this commit might become obsolete once there is official support for the Pico 4 in the OpenXR standard.
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-04Removed member variables from OpenXRExtensionWrapperBastiaan Olij
Made extension container in OpenXRAPI static Moved controller meta data into extensions where applicable
2022-12-15Fix typos with codespellRémi Verschelde
2022-12-13Merge pull request #68528 from BastiaanOlij/openxr_actionmap_changesRémi Verschelde
Various fixes for OpenXR action map meta data and editing
2022-12-04Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 ↵David Snopek
renderer
2022-11-29Fix OpenXR on the Meta Quest: XR_KHR_loader_init_android is not reported as ↵David Snopek
available (but it works anyway)
2022-11-29Enable GLES3 on Androidclayjohn
Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
2022-11-25Various fixes for OpenXR action map meta data and editingBastiaan Olij
2022-11-25Fix GLAD-related build problems on LinuxJens Nolte
- Use gl.h provided by GLAD in the OpenXR module - Use non-EXT variants of some OpenGL defines - Remove libGL-related code paths
2022-11-24Merge pull request #68023 from rsjtdrjgfuzkfg/picoRémi Verschelde
Partial support for Pico 4
2022-11-21Code simplifications found by cppcheckMarkus Sauermann
They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables
2022-11-09[openxr] Remove unnecessary fallbacks for native handles on X11David Snopek
2022-11-08Add support for OpenGL to OpenXRDavid Snopek
2022-11-04OpenXR: support XR_KHR_android_create_instancersjtdrjgfuzkfg
This commit adds support for the OpenXR extension XR_KHR_android_create_instance, which seems to be required on Pico devices.
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-10-19Filter out HTC OpenXR paths based on extensionBastiaan Olij
2022-10-10Adding support for the OpenXR Display Refresh Rate extensionBastiaan Olij
2022-10-05Merge pull request #66898 from aaronfranke/proj-mat-columnsRémi Verschelde
Rename Projection `matrix` to `columns`
2022-10-05Adding getters to RenderTarget and implementing override functionality for XRBastiaan Olij
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke
2022-09-27Add Passthrough extension wrapperGabor Koncz
2022-09-27Merge pull request #66282 from BastiaanOlij/openxr_palm_poseRémi Verschelde
Add OpenXR palm pose extension support
2022-09-26Adding OpenXR hand tracking supportBastiaan Olij
2022-09-24Dynamic loading of OpenXR Loader on AndroidGergely Kis
This change implements dynamic loading of the OpenXR Loader library on Android. If an OpenXR Loader library is not found, Godot will still function with OpenXR disabled. Also, on every platform, the OpenXR symbols are resolved at runtime using xrGetInstanceProcAddr. On Windows and Linux the OpenXR loader is included in the main engine binary. On Android, the OpenXR Loader is not built with the engine. Separately distributed Android plugins will be provided with the correct loader library for each device. Co-authored-by: Gábor Pál Korom <gabor.p.korom@migeran.com> Co-authored-by: Gábor Koncz <gabor.koncz@migeran.com>
2022-09-23Add OpenXR palm pose extension supportBastiaan Olij
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-23Implement Vector4, Vector4i, Projectionreduz
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-06-28Split dependency logicBastiaan Olij
Split FOG Split visibility notifier Final cleanup of storage classes
2022-06-16Adding HTC tracker supportBastiaan Olij
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-11Split out bokeh_dof and copy effectsBastiaan Olij
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-04-17Merge canvas and decal into TextureStorage and add render targetBastiaan Olij
2022-04-11Merge pull request #59940 from BastiaanOlij/xr_new_controllers_20220405Rémi Verschelde
2022-04-06Added missing interaction profiles and making sure related extensions are ↵Bastiaan Olij
enabled if available
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-04-04Add action map editor for OpenXRBastiaan Olij
2022-02-28Fix color issues with OpenXRBastiaan Olij
2022-02-27Use VK_NULL_HANDLE when initializing XrSwapchainImageVulkanKHRBastiaan Olij
2022-02-23Fix llvm compilation by adding missing overrideGilles Roudière
2022-02-23Implementing OpenXR driverBastiaan Olij